STM32H743I_EVAL BSP User Manual
|
Functions | |
uint32_t | BSP_GetVersion (void) |
This method returns the STM32H743I EVAL BSP Driver revision. | |
void | BSP_LED_Init (Led_TypeDef Led) |
Configures LED on GPIO and/or on MFX. | |
void | BSP_LED_DeInit (Led_TypeDef Led) |
DeInit LEDs. | |
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 ButtonMode) |
Configures button GPIO and EXTI Line. | |
void | BSP_PB_DeInit (Button_TypeDef Button) |
Push Button DeInit. | |
uint32_t | BSP_PB_GetState (Button_TypeDef Button) |
Returns the selected button state. | |
void | BSP_COM_Init (COM_TypeDef COM, UART_HandleTypeDef *huart) |
Configures COM port. | |
void | BSP_COM_DeInit (COM_TypeDef COM, UART_HandleTypeDef *huart) |
DeInit COM port. | |
void | BSP_POTENTIOMETER_Init (void) |
Init Potentiometer. | |
uint32_t | BSP_POTENTIOMETER_GetLevel (void) |
Get Potentiometer level in 12 bits. |
Function Documentation
void BSP_COM_DeInit | ( | COM_TypeDef | COM, |
UART_HandleTypeDef * | huart | ||
) |
DeInit COM port.
- Parameters:
-
COM,: COM port to be configured. This parameter can be one of the following values: - COM1
- COM2
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified USART peripheral.
- Return values:
-
None
Definition at line 562 of file stm32h743i_eval.c.
References COM_USART, and EVAL_COMx_CLK_DISABLE.
void BSP_COM_Init | ( | COM_TypeDef | COM, |
UART_HandleTypeDef * | huart | ||
) |
Configures COM port.
- Parameters:
-
COM,: COM port to be configured. This parameter can be one of the following values: - COM1
- COM2
huart,: Pointer to a UART_HandleTypeDef structure that contains the configuration information for the specified USART peripheral.
- Return values:
-
None
Definition at line 522 of file stm32h743i_eval.c.
References COM_RX_AF, COM_RX_PIN, COM_RX_PORT, COM_TX_AF, COM_TX_PIN, COM_TX_PORT, COM_USART, EVAL_COMx_CLK_ENABLE, EVAL_COMx_RX_GPIO_CLK_ENABLE, and EVAL_COMx_TX_GPIO_CLK_ENABLE.
uint32_t BSP_GetVersion | ( | void | ) |
This method returns the STM32H743I EVAL BSP Driver revision.
- Return values:
-
version,: 0xXYZR (8bits for each decimal, R for RC)
Definition at line 215 of file stm32h743i_eval.c.
References __STM32H743I_EVAL_BSP_VERSION.
void BSP_LED_DeInit | ( | Led_TypeDef | Led | ) |
DeInit LEDs.
- Parameters:
-
Led,: LED to be configured. This parameter can be one of the following values: - LED1
- LED2
- LED3
- LED4
- Note:
- Led DeInit does not disable the GPIO clock nor disable the Mfx
- Return values:
-
None
Definition at line 287 of file stm32h743i_eval.c.
References BSP_IO_ConfigPin(), GPIO_PIN, LED1, LED1_GPIO_PORT, LED3, and LED3_GPIO_PORT.
void BSP_LED_Init | ( | Led_TypeDef | Led | ) |
Configures LED on GPIO and/or on MFX.
- Parameters:
-
Led,: LED to be configured. This parameter can be one of the following values: - LED1
- LED2
- LED3
- LED4
- Return values:
-
None
Definition at line 230 of file stm32h743i_eval.c.
References BSP_IO_ConfigPin(), BSP_IO_Init(), BSP_IO_PIN_SET, BSP_IO_WritePin(), GPIO_PIN, LED1, LED1_GPIO_CLK_ENABLE, LED1_GPIO_PORT, LED3, LED3_GPIO_CLK_ENABLE, and LED3_GPIO_PORT.
void BSP_LED_Off | ( | Led_TypeDef | Led | ) |
Turns selected LED Off.
- Parameters:
-
Led,: LED to be set off This parameter can be one of the following values: - LED1
- LED2
- LED3
- LED4
- Return values:
-
None
Definition at line 362 of file stm32h743i_eval.c.
References BSP_IO_PIN_SET, BSP_IO_WritePin(), GPIO_PIN, LED1, LED1_GPIO_PORT, LED3, and LED3_GPIO_PORT.
void BSP_LED_On | ( | Led_TypeDef | Led | ) |
Turns selected LED On.
- Parameters:
-
Led,: LED to be set on This parameter can be one of the following values: - LED1
- LED2
- LED3
- LED4
- Return values:
-
None
Definition at line 330 of file stm32h743i_eval.c.
References BSP_IO_PIN_RESET, BSP_IO_WritePin(), GPIO_PIN, LED1, LED1_GPIO_PORT, LED3, and LED3_GPIO_PORT.
void BSP_LED_Toggle | ( | Led_TypeDef | Led | ) |
Toggles the selected LED.
- Parameters:
-
Led,: LED to be toggled This parameter can be one of the following values: - LED1
- LED2
- LED3
- LED4
- Return values:
-
None
Definition at line 393 of file stm32h743i_eval.c.
References BSP_IO_TogglePin(), GPIO_PIN, LED1, LED1_GPIO_PORT, LED3, and LED3_GPIO_PORT.
void BSP_PB_DeInit | ( | Button_TypeDef | Button | ) |
Push Button DeInit.
- Parameters:
-
Button,: Button to be configured This parameter can be one of the following values: - BUTTON_WAKEUP: Wakeup Push Button
- BUTTON_TAMPER: Tamper Push Button
- BUTTON_KEY: Key Push Button
- Note:
- On STM32H743I-EVAL evaluation board, the three buttons (Wakeup, Tamper and key buttons) are mapped on the same push button named "Wakeup/Tamper" on the board serigraphy.
- PB DeInit does not disable the GPIO clock
- Return values:
-
None
Definition at line 485 of file stm32h743i_eval.c.
References BUTTON_IRQn, BUTTON_PIN, and BUTTON_PORT.
uint32_t BSP_PB_GetState | ( | Button_TypeDef | Button | ) |
Returns the selected button state.
- Parameters:
-
Button,: Button to be checked This parameter can be one of the following values: - BUTTON_WAKEUP: Wakeup Push Button
- BUTTON_TAMPER: Tamper Push Button
- BUTTON_KEY: Key Push Button
- Note:
- On STM32H743I-EVAL evaluation board, the three buttons (Wakeup, Tamper and key buttons) are mapped on the same push button named "Wakeup/Tamper" on the board serigraphy.
- Return values:
-
The Button GPIO pin value
Definition at line 507 of file stm32h743i_eval.c.
References BUTTON_PIN, and BUTTON_PORT.
void BSP_PB_Init | ( | Button_TypeDef | Button, |
ButtonMode_TypeDef | ButtonMode | ||
) |
Configures button GPIO and EXTI Line.
- Parameters:
-
Button,: Button to be configured This parameter can be one of the following values: - BUTTON_WAKEUP: Wakeup Push Button
- BUTTON_TAMPER: Tamper Push Button
- BUTTON_KEY: Key Push Button
ButtonMode,: Button mode This parameter can be one of the following values: - BUTTON_MODE_GPIO: Button will be used as simple IO
- BUTTON_MODE_EXTI: Button will be connected to EXTI line with interrupt generation capability
- Note:
- On STM32H743I-EVAL evaluation board, the three buttons (Wakeup, Tamper and key buttons) are mapped on the same push button named "Wakeup/Tamper" on the board serigraphy.
- Return values:
-
None
Definition at line 431 of file stm32h743i_eval.c.
References BUTTON_IRQn, BUTTON_MODE_EXTI, BUTTON_MODE_GPIO, BUTTON_PIN, BUTTON_PORT, BUTTON_WAKEUP, and BUTTONx_GPIO_CLK_ENABLE.
uint32_t BSP_POTENTIOMETER_GetLevel | ( | void | ) |
Get Potentiometer level in 12 bits.
- Return values:
-
Potentiometer level(0..0xFFF) / 0xFFFFFFFF : Error
Definition at line 628 of file stm32h743i_eval.c.
References ADCx_POLL_TIMEOUT, and heval_ADC.
void BSP_POTENTIOMETER_Init | ( | void | ) |
Init Potentiometer.
- Return values:
-
None
Definition at line 582 of file stm32h743i_eval.c.
References ADCx, ADCx_CHANNEL, ADCx_CHANNEL_GPIO_CLK_ENABLE, ADCx_CHANNEL_GPIO_PORT, ADCx_CHANNEL_PIN, ADCx_CLK_ENABLE, and heval_ADC.
Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by 1.7.6.1