ciaa-nxp/board_ciaa_edu_4337/src/board.c
/* Set up and initialize all required blocks and functions related to the
   board hardware */
Set up and initialize all required blocks and functions related to the
board hardware
Set up and initialize all required blocks and functions related to the board hardware
void Board_Init(void)
{
	DEBUGINIT();
	Chip_GPIO_Init(LPC_GPIO_PORT);
	Board_GPIOs_Init();
	Board_LED_Init();
	Board_UART_Init(LPC_USART0); 
	Board_UART_Init(LPC_USART3); 
	Board_Buttons_Init();
	Board_DAC_Init();
	Board_TIMER_Init();
	Board_ADC_Init();
	Board_KEYBOARD_disable();
	Board_EEPROM_init();
	Board_SSP_Init();
	Board_I2C_Master_Init();
	Chip_ENET_RMIIEnable(LPC_ETHERNET);
}
void Board_Init ( void ) { DEBUGINIT ( ) ; Chip_GPIO_Init ( LPC_GPIO_PORT ) ; Board_GPIOs_Init ( ) ; Board_LED_Init ( ) ; Board_UART_Init ( LPC_USART0 ) ; Board_UART_Init ( LPC_USART3 ) ; Board_Buttons_Init ( ) ; Board_DAC_Init ( ) ; Board_TIMER_Init ( ) ; Board_ADC_Init ( ) ; Board_KEYBOARD_disable ( ) ; Board_EEPROM_init ( ) ; Board_SSP_Init ( ) ; Board_I2C_Master_Init ( ) ; Chip_ENET_RMIIEnable ( LPC_ETHERNET ) ; }
Set up and initialize all required blocks and functions related to the
board hardware
Set up and initialize all required blocks and functions related to the board hardware
/* Sets up DEBUG UART */ /* Initializes GPIO */ /* Initialize LEDs */ /* Initialize uarts */ //RS 485 // rs232 /* Initialize buttons */ /* Initialize DAC */ /* Initialize Timers */ /* Initialize ADCs */ /* Initialize Keyboard disabled */ /* Initilize EEPROM */ /* Initialize SPI pins */ /* Initialize RTC module */ //Board_RTC_Init(); /* Initialize I2C0 module */