|
Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
|
|
22 #include "common/delay.h"
23 #include "config/hal.h"
35 #define LCD_CS_nSELECTED LCD_CS_SetHigh
36 #define LCD_CS_SELECTED LCD_CS_SetLow
38 #define LCD_RS_COMMAND LCD_RS_SetLow
39 #define LCD_RS_DATA LCD_RS_SetHigh
108 extern void drv_LcdInterface_SendChar(
const char c)
132 for(mask = 0x80; mask != 0; mask >>= 1)
void drv_LcdInterface_SpiSend(uint8_t data)
Sends data through the SPI interface to the LCD controller.
void drv_LcdInterface_Initialize(void)
Initializes the LCD interface driver.
#define LCD_CS_nSELECTED
Initial interface pin state conditions.
#define LCD_RST_SetDigitalOutput()
#define LCD_SCL_SetHigh()
LC Display Interface Declarations.
#define LCD_CS_SetDigitalOutput()
#define LCD_SCL_SetDigitalOutput()
void drv_LcdInterface_SendCmd(uint8_t cmd)
Sends a command to the LCD controller.
#define LCD_SDI_SetHigh()
#define LCD_RST_SetHigh()
#define LCD_RS_SetDigitalOutput()
void drv_LcdInterface_Reset(void)
Resets the LCD controller.
#define LCD_SDI_SetDigitalOutput()