|
_BSP_User_Manual
|
Functions | |
| uint32_t | BSP_GetVersion (void) |
| This method returns the STM3210C 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 joystick GPIO and 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 479 of file stm3210c_eval.c.
References AFIOCOMx_CLK_ENABLE, AFIOCOMx_REMAP, 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 STM3210C EVAL BSP Driver revision.
Definition at line 250 of file stm3210c_eval.c.
References __STM3210C_EVAL_BSP_VERSION.
| JOYState_TypeDef BSP_JOY_GetState | ( | void | ) |
Returns the current joystick status.
Definition at line 430 of file stm3210c_eval.c.
References BSP_IO_ReadPin(), JOY_ALL_PINS, JOY_DOWN, JOY_DOWN_PIN, JOY_LEFT, JOY_LEFT_PIN, JOY_NONE, JOY_NONE_PIN, JOY_RIGHT, JOY_RIGHT_PIN, JOY_SEL, JOY_SEL_PIN, JOY_UP, and JOY_UP_PIN.
| uint8_t BSP_JOY_Init | ( | JOYMode_TypeDef | Joy_Mode | ) |
Configures joystick GPIO and EXTI modes.
Definition at line 402 of file stm3210c_eval.c.
References BSP_IO_ConfigPin(), BSP_IO_Init(), IO_OK, JOY_ALL_PINS, and JOY_MODE_EXTI.
| void BSP_LED_Init | ( | Led_TypeDef | Led | ) |
Configures LED GPIO.
Definition at line 265 of file stm3210c_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 308 of file stm3210c_eval.c.
| void BSP_LED_On | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
Definition at line 293 of file stm3210c_eval.c.
| void BSP_LED_Toggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
Definition at line 323 of file stm3210c_eval.c.
| uint32_t BSP_PB_GetState | ( | Button_TypeDef | Button | ) |
Returns the selected button state.
Definition at line 387 of file stm3210c_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 342 of file stm3210c_eval.c.
References BUTTON_IRQn, BUTTON_MODE_EXTI, BUTTON_MODE_GPIO, BUTTON_PIN, BUTTON_PORT, BUTTON_WAKEUP, and BUTTONx_GPIO_CLK_ENABLE.
Generated on Thu Dec 11 2014 15:38:29 for _BSP_User_Manual by
1.7.5.1