_BSP_User_Manual
|
Functions | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM3210E EVAL BSP Driver revision. | |
void | BSP_LED_Init (Led_TypeDef Led) |
Configures LED GPIO. | |
void | BSP_LED_On (Led_TypeDef Led) |
Turns selected LED On. | |
void | BSP_LED_Off (Led_TypeDef Led) |
Turns selected LED Off. | |
void | BSP_LED_Toggle (Led_TypeDef Led) |
Toggles the selected LED. | |
void | BSP_PB_Init (Button_TypeDef Button, ButtonMode_TypeDef Button_Mode) |
Configures push button GPIO and EXTI Line. | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected button state. | |
uint8_t | BSP_JOY_Init (JOYMode_TypeDef Joy_Mode) |
Configures all button of the joystick in GPIO or EXTI modes. | |
JOYState_TypeDef | BSP_JOY_GetState (void) |
Returns the current joystick status. | |
void | BSP_COM_Init (COM_TypeDef COM, UART_HandleTypeDef *huart) |
Configures COM port. |
Function Documentation
void BSP_COM_Init | ( | COM_TypeDef | COM, |
UART_HandleTypeDef * | huart | ||
) |
Configures COM port.
Definition at line 505 of file stm3210e_eval.c.
References COM_RX_PIN, COM_RX_PORT, COM_TX_PIN, COM_TX_PORT, COM_USART, COMx_CLK_ENABLE, COMx_RX_GPIO_CLK_ENABLE, and COMx_TX_GPIO_CLK_ENABLE.
uint32_t BSP_GetVersion | ( | void | ) |
This method returns the STM3210E EVAL BSP Driver revision.
Definition at line 260 of file stm3210e_eval.c.
References __STM3210E_EVAL_BSP_VERSION.
JOYState_TypeDef BSP_JOY_GetState | ( | void | ) |
uint8_t BSP_JOY_Init | ( | JOYMode_TypeDef | Joy_Mode | ) |
Configures all button of the joystick in GPIO or EXTI modes.
Definition at line 430 of file stm3210e_eval.c.
References JOY_IRQn, JOY_MODE_EXTI, JOY_MODE_GPIO, JOY_NONE, JOY_PIN, JOY_PORT, JOY_SEL, JOYn, and JOYx_GPIO_CLK_ENABLE.
void BSP_LED_Init | ( | Led_TypeDef | Led | ) |
Configures LED GPIO.
Definition at line 275 of file stm3210e_eval.c.
References LED_PIN, LED_PORT, and LEDx_GPIO_CLK_ENABLE.
void BSP_LED_Off | ( | Led_TypeDef | Led | ) |
Turns selected LED Off.
Definition at line 318 of file stm3210e_eval.c.
void BSP_LED_On | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
Definition at line 303 of file stm3210e_eval.c.
void BSP_LED_Toggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
Definition at line 333 of file stm3210e_eval.c.
uint32_t BSP_PB_GetState | ( | Button_TypeDef | Button | ) |
Returns the selected button state.
Definition at line 416 of file stm3210e_eval.c.
References BUTTON_PIN, and BUTTON_PORT.
void BSP_PB_Init | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | Button_Mode | ||
) |
Configures push button GPIO and EXTI Line.
Definition at line 357 of file stm3210e_eval.c.
References BUTTON_IRQn, BUTTON_MODE_EVT, BUTTON_MODE_EXTI, BUTTON_MODE_GPIO, BUTTON_PIN, BUTTON_PORT, BUTTON_WAKEUP, and BUTTONx_GPIO_CLK_ENABLE.
Generated on Thu Dec 11 2014 16:16:37 for _BSP_User_Manual by 1.7.5.1