/*Initialise relevent hardware*/ void Hardware_init(void) { GPIO_InitTypeDef GPIO_InitStructure; unsigned short PrescalerValue; BRD_LEDInit(); //Initialise Blue LED BRD_LEDOff(); //Turn off Blue LED /* Initialise Joystick */ s4353096_joystick_init(); /* Configure D1 for output of square wave signal */ s4353096_pantilt_init(); s4353096_radio_init(); }
/** * @brief Hardware Initialisation. * @param None * @retval None */ void Hardware_init( void ) { portDISABLE_INTERRUPTS(); //Disable interrupts BRD_LEDInit(); //Initialise Blue LED BRD_LEDOff(); //Turn off Blue LED portENABLE_INTERRUPTS(); //Enable interrupts s4295255_sysmon_init(); //Initialise the system monitor }
void Hardware_init() { portDISABLE_INTERRUPTS(); //Disable interrupts BRD_LEDInit(); BRD_LEDOn(); tracks_init(); wheelencoders_init(); portENABLE_INTERRUPTS(); //Disable interrupts }