LC display SPI interface GPIO declarations. More...
#define | LCD_SCL_SetHigh() _LATC5 = 1 |
LC Display Interface Declarations. More... | |
#define | LCD_SCL_SetLow() _LATC5 = 0 |
#define | LCD_SCL_Toggle() _LATC5 ^= 1 |
#define | LCD_SCL_GetValue() _RC5 |
#define | LCD_SCL_SetDigitalInput() _TRISC5 = 1 |
#define | LCD_SCL_SetDigitalOutput() _TRISC5 = 0 |
#define | LCD_SDI_SetHigh() _LATC4 = 1 |
#define | LCD_SDI_SetLow() _LATC4 = 0 |
#define | LCD_SDI_Toggle() _LATC4 ^= 1 |
#define | LCD_SDI_GetValue() _RC4 |
#define | LCD_SDI_SetDigitalInput() _TRISC4 = 1 |
#define | LCD_SDI_SetDigitalOutput() _TRISC4 = 0 |
#define | LCD_CS_SetHigh() _LATD8 = 1 |
#define | LCD_CS_SetLow() _LATD8 = 0 |
#define | LCD_CS_Toggle() _LATD8 ^= 1 |
#define | LCD_CS_GetValue() _RD8 |
#define | LCD_CS_SetDigitalInput() _TRISD8 = 1 |
#define | LCD_CS_SetDigitalOutput() _TRISD8 = 0 |
#define | LCD_RST_SetHigh() _LATC8 = 1 |
#define | LCD_RST_SetLow() _LATC8 = 0 |
#define | LCD_RST_Toggle() _LATC8 ^= 1 |
#define | LCD_RST_GetValue() _RC8 |
#define | LCD_RST_SetDigitalInput() _TRISC8 = 1 |
#define | LCD_RST_SetDigitalOutput() _TRISC8 = 0 |
#define | LCD_RS_SetHigh() _LATC9 = 1 |
#define | LCD_RS_SetLow() _LATC9 = 0 |
#define | LCD_RS_Toggle() _LATC9 ^= 1 |
#define | LCD_RS_GetValue() _RC9 |
#define | LCD_RS_SetDigitalInput() _TRISC9 = 1 |
#define | LCD_RS_SetDigitalOutput() _TRISC9 = 0 |
LC display SPI interface GPIO declarations.
#define LCD_CS_GetValue | ( | ) | _RD8 |
Definition at line 1616 of file dpsk3_hwdescr.h.
#define LCD_CS_SetDigitalInput | ( | ) | _TRISD8 = 1 |
Definition at line 1617 of file dpsk3_hwdescr.h.
#define LCD_CS_SetDigitalOutput | ( | ) | _TRISD8 = 0 |
Definition at line 1618 of file dpsk3_hwdescr.h.
#define LCD_CS_SetHigh | ( | ) | _LATD8 = 1 |
Definition at line 1613 of file dpsk3_hwdescr.h.
#define LCD_CS_SetLow | ( | ) | _LATD8 = 0 |
Definition at line 1614 of file dpsk3_hwdescr.h.
#define LCD_CS_Toggle | ( | ) | _LATD8 ^= 1 |
Definition at line 1615 of file dpsk3_hwdescr.h.
#define LCD_RS_GetValue | ( | ) | _RC9 |
Definition at line 1630 of file dpsk3_hwdescr.h.
#define LCD_RS_SetDigitalInput | ( | ) | _TRISC9 = 1 |
Definition at line 1631 of file dpsk3_hwdescr.h.
#define LCD_RS_SetDigitalOutput | ( | ) | _TRISC9 = 0 |
Definition at line 1632 of file dpsk3_hwdescr.h.
#define LCD_RS_SetHigh | ( | ) | _LATC9 = 1 |
Definition at line 1627 of file dpsk3_hwdescr.h.
#define LCD_RS_SetLow | ( | ) | _LATC9 = 0 |
Definition at line 1628 of file dpsk3_hwdescr.h.
#define LCD_RS_Toggle | ( | ) | _LATC9 ^= 1 |
Definition at line 1629 of file dpsk3_hwdescr.h.
#define LCD_RST_GetValue | ( | ) | _RC8 |
Definition at line 1623 of file dpsk3_hwdescr.h.
#define LCD_RST_SetDigitalInput | ( | ) | _TRISC8 = 1 |
Definition at line 1624 of file dpsk3_hwdescr.h.
#define LCD_RST_SetDigitalOutput | ( | ) | _TRISC8 = 0 |
Definition at line 1625 of file dpsk3_hwdescr.h.
#define LCD_RST_SetHigh | ( | ) | _LATC8 = 1 |
Definition at line 1620 of file dpsk3_hwdescr.h.
#define LCD_RST_SetLow | ( | ) | _LATC8 = 0 |
Definition at line 1621 of file dpsk3_hwdescr.h.
#define LCD_RST_Toggle | ( | ) | _LATC8 ^= 1 |
Definition at line 1622 of file dpsk3_hwdescr.h.
#define LCD_SCL_GetValue | ( | ) | _RC5 |
Definition at line 1602 of file dpsk3_hwdescr.h.
#define LCD_SCL_SetDigitalInput | ( | ) | _TRISC5 = 1 |
Definition at line 1603 of file dpsk3_hwdescr.h.
#define LCD_SCL_SetDigitalOutput | ( | ) | _TRISC5 = 0 |
Definition at line 1604 of file dpsk3_hwdescr.h.
#define LCD_SCL_SetHigh | ( | ) | _LATC5 = 1 |
LC Display Interface Declarations.
The LCD device driver is controlling the on-board LC display via a SPI interface. The required SPI interface device pin assignments are declared here.
Definition at line 1599 of file dpsk3_hwdescr.h.
#define LCD_SCL_SetLow | ( | ) | _LATC5 = 0 |
Definition at line 1600 of file dpsk3_hwdescr.h.
#define LCD_SCL_Toggle | ( | ) | _LATC5 ^= 1 |
Definition at line 1601 of file dpsk3_hwdescr.h.
#define LCD_SDI_GetValue | ( | ) | _RC4 |
Definition at line 1609 of file dpsk3_hwdescr.h.
#define LCD_SDI_SetDigitalInput | ( | ) | _TRISC4 = 1 |
Definition at line 1610 of file dpsk3_hwdescr.h.
#define LCD_SDI_SetDigitalOutput | ( | ) | _TRISC4 = 0 |
Definition at line 1611 of file dpsk3_hwdescr.h.
#define LCD_SDI_SetHigh | ( | ) | _LATC4 = 1 |
Definition at line 1606 of file dpsk3_hwdescr.h.
#define LCD_SDI_SetLow | ( | ) | _LATC4 = 0 |
Definition at line 1607 of file dpsk3_hwdescr.h.
#define LCD_SDI_Toggle | ( | ) | _LATC4 ^= 1 |
Definition at line 1608 of file dpsk3_hwdescr.h.