Main Program Entry Point Initializes each peripheral along with any interrupts and begins execution of the user application.
Reset of all peripherals, Initializes the Flash interface and the Systick timer.
111 HAL_GPIO_WritePin(RED_GPIO_Port, RED_Pin, GPIO_PIN_RESET);
112 HAL_GPIO_WritePin(WHITE_GPIO_Port, WHITE_Pin, GPIO_PIN_RESET);
113 HAL_GPIO_WritePin(GREEN_GPIO_Port, GREEN_Pin, GPIO_PIN_RESET);
114 HAL_GPIO_WritePin(BLUE_GPIO_Port, BLUE_Pin, GPIO_PIN_RESET);
115 HAL_GPIO_WritePin(ORANGE_GPIO_Port, ORANGE_Pin, GPIO_PIN_RESET);
146 MX_USB_DEVICE_Init();
150 RESET_BUTTON_GPIO_Port,
166 HAL_GPIO_WritePin(SMB_NRESET_GPIO_Port,
167 SMB_NRESET_Pin, GPIO_PIN_SET);
170 HAL_TIM_Base_Start_IT(&
htim7);
187 while (HAL_GPIO_ReadPin(ZYNQ_POWER_GOOD_GPIO_Port,
188 ZYNQ_POWER_GOOD_Pin) != GPIO_PIN_SET)
void sd_tim3_init(void)
Timer 3 Initialization.
Definition: sd_pwm.c:153
void sd_adc_init(void)
Definition: sd_adc.c:129
void sd_tim1_init(void)
Timer 1 Initialization.
Definition: sd_pwm.c:120
enum sd_buff_err sd_char_buff_init(struct sd_cbuf *buff, uint32_t size, uint8_t *pbuff)
Initialize Character Buffer.
Definition: sd_buffer.c:72
TIM_HandleTypeDef htim7
Definition: sd_tim.c:67
#define WL18xx_ANTENNA_SMA
Definition: sd_platform.h:68
void sd_gpio_init(void)
GPIO Initialization Configure pins as analog, input, output, event_out and EXTI.
Definition: sd_gpio.c:68
struct sd_uart_dev uart1_dev
Definition: sd_uart.c:81
void sd_usart1_init(void)
USART 1 Initialization.
Definition: sd_uart.c:102
void sd_tim7_init(void)
Timer 7 Initialization.
Definition: sd_tim.c:82
void sd_i2c1_init(void)
I2C1 Initialization Initialize low-level hardware peripheral and set device handle.
Definition: sd_i2c.c:96
void SystemClock_Config(void)
System Clock Configuration Configure and initialize the main, systick, timer and peripheral clocks...
Definition: main.c:206
void sd_usart2_init(void)
USART 2 Initialization.
Definition: sd_uart.c:124
void sd_i2c2_init(void)
I2C2 Initialization Initialize low-level hardware peripheral and set device handle.
Definition: sd_i2c.c:123
enum sd_uart_err sd_uart_rx_init(struct sd_uart_dev *dev, struct sd_cbuf *rx_buff)
UART Receive Interrupt Initialization Enable and prepare the UART to receive on interrupt.
Definition: sd_uart.c:317