How to set hw_lcd peripheral in 8 bits mode and in 16 bits mode in internal fifo ?
My io bus is 8 bits mode.
Example: spi microchip.
Code: Select all
inline void spi1_change_mode_8_bits()
{
//SPI1CONbits.MODE16 = 0; // 8 bits mode.
SPI1CONCLR = _SPI1CON_MODE16_MASK;
}
inline void spi1_change_mode_16_bits()
{
//SPI1CONbits.MODE16 = 1; // 16 bits mode.
SPI1CONSET = _SPI1CON_MODE16_MASK;
}