#define | LCD_CS(x) ((x) ? (Chip_GPIO_WritePortBit(7, 16, true)) : (Chip_GPIO_WritePortBit(7, 16, false))) |
|
static const uint8_t | ledports [] = {6, 6, 6, 6, 6, 4, 4, 4} |
|
static const uint8_t | ledbits [] = {24, 25, 26, 27, 28, 12, 13, 14} |
|
uint16_t | UDA_sys_regs_dat [] |
|
uint16_t | UDA_interfil_regs_dat [] |
|
uint16_t | UDA_decimator_regs_dat [] |
|
uint32_t | g_isPenDn |
|
uint32_t | g_isNewPenDn |
|
const int32_t | ad_left = 3813 |
|
const int32_t | ad_top = 3805 |
|
const int32_t | ad_right = 360 |
|
const int32_t | ad_bottom = 237 |
|
const LCD_Config_Type | MCB4300_LCD |
|
uint32_t | SystemCoreClock |
| Current system clock rate, mainly used for sysTick.
|
|
static uint8_t | LEDStates |
|
static void | delay (uint32_t i) |
|
static void | UDA_Reg_write (UDA1380_REG reg, unsigned short value, I2C_M_SETUP_Type *I2C_Config) |
|
static uint16_t | UDA_Reg_read (UDA1380_REG reg) |
|
static Status | UDA1380_init (I2C_M_SETUP_Type *I2C_Config, Board_Audio_Input_Sel_Type audio_in_sel) |
|
static void | LCD_X_Write00_16 (uint16_t c) |
|
static void | LCD_X_Write01_16 (uint16_t c) |
|
static void | wr_reg (uint16_t reg, uint16_t dat) |
|
static void | pinConfig (void) |
|
static uint32_t | Board_TSC_WriteReg (IP_I2C_001_Type *I2Cx, uint8_t regAddr, uint8_t value) |
|
static uint32_t | Board_TSC_ReadReg (IP_I2C_001_Type *I2Cx, uint8_t regAddr, uint8_t *value) |
|
static bool | Board_TSC_TouchDetect (IP_I2C_001_Type *I2Cx) |
|
static Status | Board_TSC_GetTouchCoord (IP_I2C_001_Type *I2Cx, int16_t *x, int16_t *y) |
|
void | SystemCoreClockUpdate (void) |
| Update system core clock rate, should be called if the system has a clock rate change.
|
|
void | Board_UART_Init (LPC_USART_Type *UARTx) |
| Initialize pin muxing for a UART.
|
|
void | Board_Debug_Init (void) |
| Initializes board UART for output, required for printf redirection.
|
|
void | Board_UARTPutChar (char ch) |
| Sends a single character on the UART, required for printf redirection.
|
|
int | Board_UARTGetChar (void) |
| Get a single character from the UART, required for scanf input.
|
|
void | Board_UARTPutSTR (char *str) |
| Prints a string to the UART.
|
|
void | Board_LED_Init () |
| Initializes board LED(s)
|
|
void | Board_LED_Set (uint8_t LEDNumber, bool On) |
| Sets the state of a board LED to on or off.
|
|
bool | Board_LED_Test (uint8_t LEDNumber) |
| Returns the current state of a board LED.
|
|
void | Board_ENET_GetMacADDR (uint8_t *mcaddr) |
| Returns the MAC address assigned to this board.
|
|
void | Board_Init (void) |
| Set up and initialize all required blocks and functions related to the board hardware.
|
|
void | Board_ADC_Init (void) |
| Sets up board specific ADC interface.
|
|
void | Board_I2C_Init (LPC_I2C_Type *I2Cx) |
| Sets up board specific I2C interface.
|
|
void | Board_Audio_Init (LPC_I2S_Type *I2Sx, Board_Audio_Input_Sel_Type audio_in_sel) |
| Initialize I2S interface for the board and UDA1380.
|
|
void | Board_LCD_Init (void) |
| Initialize the LCD interface.
|
|
void | Init_Touch_Controller (void) |
| Initialize TSC2046 touchscreen controller.
|
|
bool | GetTouchPos (int16_t *pX, int16_t *pY) |
| Get Touch coordinates.
|
|
void | Board_LCD_Set_Backlight (uint8_t Intensity) |
| Turn on Board LCD Backlight.
|
|
void | GPIO0_IRQHandler (void) |
|
void | Board_GPIO_Int_Init () |
| Initializes board specific GPIO Interrupt.
|
|
void | Board_SDMMC_Init (void) |
| Initialize pin muxing for SDMMC interface.
|
|
void | Board_SSP_Init (LPC_SSP_Type *SSPx) |
| Initialize pin muxing for SSP interface.
|
|
void | Board_Buttons_Init (void) |
| Initialize button(s) interface on board.
|
|
void | Board_Joystick_Init (void) |
| Initialize joystick interface on board.
|
|
uint8_t | Joystick_GetStatus (void) |
| Returns joystick states on board.
|
|
uint32_t | Buttons_GetStatus (void) |
| Returns button(s) state on board.
|
|
void | Serial_CreateStream (void *Stream) |
| FIXME.
|
|