I want to link a LCD with SPI interface in PPC8315erdb, but there is no SPI driver device.
I want to use the SPI interface by setting the SPI register value, however, I cannot find the names of SPI registers
in the relevant header files.
For example, I know that "Configure SPMODE to enable normal operation (not loopback), master mode, SPI enabled,
character length, and the fastest speed possible" and know the right address and value, but how I set in source code, is there a definited SPI register struct?