STM32L4R9I-Discovery BSP User Manual
|
Defines | |
#define | COMn 1 |
#define | DISCOVERY_COM1 USART2 |
Definition for COM port1, connected to USART2 (ST-Link USB Virtual Com Port) | |
#define | DISCOVERY_COM1_CLK_ENABLE() __HAL_RCC_USART2_CLK_ENABLE() |
#define | DISCOVERY_COM1_CLK_DISABLE() __HAL_RCC_USART2_CLK_DISABLE() |
#define | DISCOVERY_COM1_TX_PIN GPIO_PIN_2 |
#define | DISCOVERY_COM1_TX_GPIO_PORT GPIOA |
#define | DISCOVERY_COM1_TX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | DISCOVERY_COM1_TX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | DISCOVERY_COM1_TX_AF GPIO_AF7_USART2 |
#define | DISCOVERY_COM1_RX_PIN GPIO_PIN_3 |
#define | DISCOVERY_COM1_RX_GPIO_PORT GPIOA |
#define | DISCOVERY_COM1_RX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | DISCOVERY_COM1_RX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | DISCOVERY_COM1_RX_AF GPIO_AF7_USART2 |
#define | DISCOVERY_COM1_IRQn USART2_IRQn |
#define | DISCOVERY_COMx_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_ENABLE();}} while(0) |
#define | DISCOVERY_COMx_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_DISABLE();}} while(0) |
#define | DISCOVERY_COMx_TX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_ENABLE();}} while(0) |
#define | DISCOVERY_COMx_TX_GPIO_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_DISABLE();}} while(0) |
#define | DISCOVERY_COMx_RX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_ENABLE();}} while(0) |
#define | DISCOVERY_COMx_RX_GPIO_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_DISABLE();}} while(0) |
Define Documentation
#define COMn 1 |
Definition at line 210 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1 USART2 |
Definition for COM port1, connected to USART2 (ST-Link USB Virtual Com Port)
Definition at line 215 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_CLK_DISABLE | ( | ) | __HAL_RCC_USART2_CLK_DISABLE() |
Definition at line 217 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_CLK_ENABLE | ( | ) | __HAL_RCC_USART2_CLK_ENABLE() |
Definition at line 216 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_IRQn USART2_IRQn |
Definition at line 231 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_RX_AF GPIO_AF7_USART2 |
Definition at line 229 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_RX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 228 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_RX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 227 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_RX_GPIO_PORT GPIOA |
Definition at line 226 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_RX_PIN GPIO_PIN_3 |
Definition at line 225 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_TX_AF GPIO_AF7_USART2 |
Definition at line 223 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_TX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 222 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_TX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 221 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_TX_GPIO_PORT GPIOA |
Definition at line 220 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COM1_TX_PIN GPIO_PIN_2 |
Definition at line 219 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COMx_CLK_DISABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_DISABLE();}} while(0) |
Definition at line 235 of file stm32l4r9i_discovery.h.
Referenced by BSP_COM_DeInit().
#define DISCOVERY_COMx_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_ENABLE();}} while(0) |
Definition at line 234 of file stm32l4r9i_discovery.h.
Referenced by BSP_COM_Init().
#define DISCOVERY_COMx_RX_GPIO_CLK_DISABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_DISABLE();}} while(0) |
Definition at line 241 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COMx_RX_GPIO_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_ENABLE();}} while(0) |
Definition at line 240 of file stm32l4r9i_discovery.h.
Referenced by BSP_COM_Init().
#define DISCOVERY_COMx_TX_GPIO_CLK_DISABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_DISABLE();}} while(0) |
Definition at line 238 of file stm32l4r9i_discovery.h.
#define DISCOVERY_COMx_TX_GPIO_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_ENABLE();}} while(0) |
Definition at line 237 of file stm32l4r9i_discovery.h.
Referenced by BSP_COM_Init().
Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by 1.7.6.1