STM32L073Z_EVAL BSP User Manual
|
Defines | |
#define | COMn 1 |
#define | EVAL_COM1 USART2 |
Definition for COM port1, connected to USART2. | |
#define | EVAL_COM1_CLK_ENABLE() __HAL_RCC_USART2_CLK_ENABLE() |
#define | EVAL_COM1_CLK_DISABLE() __HAL_RCC_USART2_CLK_DISABLE() |
#define | EVAL_COM1_TX_PIN GPIO_PIN_5 |
#define | EVAL_COM1_TX_GPIO_PORT GPIOD |
#define | EVAL_COM1_TX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | EVAL_COM1_TX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | EVAL_COM1_TX_AF GPIO_AF0_USART2 |
#define | EVAL_COM1_RX_PIN GPIO_PIN_6 |
#define | EVAL_COM1_RX_GPIO_PORT GPIOD |
#define | EVAL_COM1_RX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | EVAL_COM1_RX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | EVAL_COM1_RX_AF GPIO_AF0_USART2 |
#define | EVAL_COM1_CTS_PIN GPIO_PIN_3 |
#define | EVAL_COM1_CTS_GPIO_PORT GPIOD |
#define | EVAL_COM1_CTS_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | EVAL_COM1_CTS_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | EVAL_COM1_CTS_AF GPIO_AF0_USART2 |
#define | EVAL_COM1_RTS_PIN GPIO_PIN_4 |
#define | EVAL_COM1_RTS_GPIO_PORT GPIOD |
#define | EVAL_COM1_RTS_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | EVAL_COM1_RTS_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | EVAL_COM1_RTS_AF GPIO_AF0_USART2 |
#define | EVAL_COM1_IRQn USART2_IRQn |
#define | COMx_CLK_ENABLE(__COM__) do {if (__COM__ == COM1) EVAL_COM1_CLK_ENABLE(); } while (0) |
#define | COMx_CLK_DISABLE(__COM__) (((__COM__) == COM1) ? EVAL_COM1_CLK_DISABLE() : 0) |
#define | COMx_TX_GPIO_CLK_ENABLE(__COM__) do { if(__COM__ == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while (0) |
#define | COMx_TX_GPIO_CLK_DISABLE(__COM__) (((__COM__) == COM1) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0) |
#define | COMx_RX_GPIO_CLK_ENABLE(__COM__) do { if(__COM__ == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while (0) |
#define | COMx_RX_GPIO_CLK_DISABLE(__COM__) (((__COM__) == COM1) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0) |
#define | COMx_CTS_GPIO_CLK_ENABLE(__COM__) cdo { if(__COM__ == COM1) EVAL_COM1_CTS_GPIO_CLK_ENABLE();} |
#define | COMx_CTS_GPIO_CLK_DISABLE(__COM__) (((__COM__) == COM1) ? EVAL_COM1_CTS_GPIO_CLK_DISABLE() : 0) while (0) |
#define | COMx_RTS_GPIO_CLK_ENABLE(__COM__) do { if(__COM__ == COM1) EVAL_COM1_RTS_GPIO_CLK_ENABLE(); } while (0) |
#define | COMx_RTS_GPIO_CLK_DISABLE(__COM__) (((__COM__) == COM1) ? EVAL_COM1_RTS_GPIO_CLK_DISABLE() : 0) |
Define Documentation
#define COMn 1 |
Definition at line 248 of file stm32l073z_eval.h.
#define COMx_CLK_DISABLE | ( | __COM__ | ) | (((__COM__) == COM1) ? EVAL_COM1_CLK_DISABLE() : 0) |
Definition at line 284 of file stm32l073z_eval.h.
#define COMx_CLK_ENABLE | ( | __COM__ | ) | do {if (__COM__ == COM1) EVAL_COM1_CLK_ENABLE(); } while (0) |
Definition at line 283 of file stm32l073z_eval.h.
Referenced by BSP_COM_Init().
#define COMx_CTS_GPIO_CLK_DISABLE | ( | __COM__ | ) | (((__COM__) == COM1) ? EVAL_COM1_CTS_GPIO_CLK_DISABLE() : 0) while (0) |
Definition at line 293 of file stm32l073z_eval.h.
#define COMx_CTS_GPIO_CLK_ENABLE | ( | __COM__ | ) | cdo { if(__COM__ == COM1) EVAL_COM1_CTS_GPIO_CLK_ENABLE();} |
Definition at line 292 of file stm32l073z_eval.h.
#define COMx_RTS_GPIO_CLK_DISABLE | ( | __COM__ | ) | (((__COM__) == COM1) ? EVAL_COM1_RTS_GPIO_CLK_DISABLE() : 0) |
Definition at line 297 of file stm32l073z_eval.h.
#define COMx_RTS_GPIO_CLK_ENABLE | ( | __COM__ | ) | do { if(__COM__ == COM1) EVAL_COM1_RTS_GPIO_CLK_ENABLE(); } while (0) |
Definition at line 296 of file stm32l073z_eval.h.
#define COMx_RX_GPIO_CLK_DISABLE | ( | __COM__ | ) | (((__COM__) == COM1) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0) |
Definition at line 290 of file stm32l073z_eval.h.
#define COMx_RX_GPIO_CLK_ENABLE | ( | __COM__ | ) | do { if(__COM__ == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while (0) |
Definition at line 289 of file stm32l073z_eval.h.
Referenced by BSP_COM_Init().
#define COMx_TX_GPIO_CLK_DISABLE | ( | __COM__ | ) | (((__COM__) == COM1) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0) |
Definition at line 287 of file stm32l073z_eval.h.
#define COMx_TX_GPIO_CLK_ENABLE | ( | __COM__ | ) | do { if(__COM__ == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while (0) |
Definition at line 286 of file stm32l073z_eval.h.
Referenced by BSP_COM_Init().
#define EVAL_COM1 USART2 |
Definition for COM port1, connected to USART2.
Definition at line 253 of file stm32l073z_eval.h.
#define EVAL_COM1_CLK_DISABLE | ( | ) | __HAL_RCC_USART2_CLK_DISABLE() |
Definition at line 255 of file stm32l073z_eval.h.
#define EVAL_COM1_CLK_ENABLE | ( | ) | __HAL_RCC_USART2_CLK_ENABLE() |
Definition at line 254 of file stm32l073z_eval.h.
#define EVAL_COM1_CTS_AF GPIO_AF0_USART2 |
Definition at line 273 of file stm32l073z_eval.h.
#define EVAL_COM1_CTS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 272 of file stm32l073z_eval.h.
#define EVAL_COM1_CTS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 271 of file stm32l073z_eval.h.
#define EVAL_COM1_CTS_GPIO_PORT GPIOD |
Definition at line 270 of file stm32l073z_eval.h.
#define EVAL_COM1_CTS_PIN GPIO_PIN_3 |
Definition at line 269 of file stm32l073z_eval.h.
#define EVAL_COM1_IRQn USART2_IRQn |
Definition at line 281 of file stm32l073z_eval.h.
#define EVAL_COM1_RTS_AF GPIO_AF0_USART2 |
Definition at line 279 of file stm32l073z_eval.h.
#define EVAL_COM1_RTS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 278 of file stm32l073z_eval.h.
#define EVAL_COM1_RTS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 277 of file stm32l073z_eval.h.
#define EVAL_COM1_RTS_GPIO_PORT GPIOD |
Definition at line 276 of file stm32l073z_eval.h.
#define EVAL_COM1_RTS_PIN GPIO_PIN_4 |
Definition at line 275 of file stm32l073z_eval.h.
#define EVAL_COM1_RX_AF GPIO_AF0_USART2 |
Definition at line 267 of file stm32l073z_eval.h.
#define EVAL_COM1_RX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 266 of file stm32l073z_eval.h.
#define EVAL_COM1_RX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 265 of file stm32l073z_eval.h.
#define EVAL_COM1_RX_GPIO_PORT GPIOD |
Definition at line 264 of file stm32l073z_eval.h.
#define EVAL_COM1_RX_PIN GPIO_PIN_6 |
Definition at line 263 of file stm32l073z_eval.h.
#define EVAL_COM1_TX_AF GPIO_AF0_USART2 |
Definition at line 261 of file stm32l073z_eval.h.
#define EVAL_COM1_TX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 260 of file stm32l073z_eval.h.
#define EVAL_COM1_TX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 259 of file stm32l073z_eval.h.
#define EVAL_COM1_TX_GPIO_PORT GPIOD |
Definition at line 258 of file stm32l073z_eval.h.
#define EVAL_COM1_TX_PIN GPIO_PIN_5 |
Definition at line 257 of file stm32l073z_eval.h.
Generated on Mon Aug 28 2017 14:54:26 for STM32L073Z_EVAL BSP User Manual by 1.7.6.1