STM32L4R9I_EVAL BSP User Manual: COM Constants

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual

Defines

#define COMn   1
#define EVAL_COM1   LPUART1
 Definition for COM port1, connected to USART1.
#define EVAL_COM1_CLK_ENABLE()   __HAL_RCC_LPUART1_CLK_ENABLE()
#define EVAL_COM1_CLK_DISABLE()   __HAL_RCC_LPUART1_CLK_DISABLE()
#define EVAL_COM1_TX_PIN   GPIO_PIN_7
#define EVAL_COM1_TX_GPIO_PORT   GPIOG
#define EVAL_COM1_TX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
#define EVAL_COM1_TX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOG_CLK_DISABLE()
#define EVAL_COM1_TX_AF   GPIO_AF8_LPUART1
#define EVAL_COM1_RX_PIN   GPIO_PIN_8
#define EVAL_COM1_RX_GPIO_PORT   GPIOG
#define EVAL_COM1_RX_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
#define EVAL_COM1_RX_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOG_CLK_DISABLE()
#define EVAL_COM1_RX_AF   GPIO_AF8_LPUART1
#define EVAL_COM1_IRQn   LPUART1_IRQn
#define COMx_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_CLK_ENABLE(); } } while(0)
#define COMx_CLK_DISABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_CLK_DISABLE(); } } while(0)
#define COMx_TX_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_TX_GPIO_CLK_ENABLE(); } } while(0)
#define COMx_TX_GPIO_CLK_DISABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_TX_GPIO_CLK_DISABLE(); } } while(0)
#define COMx_RX_GPIO_CLK_ENABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_RX_GPIO_CLK_ENABLE(); } } while(0)
#define COMx_RX_GPIO_CLK_DISABLE(__INDEX__)   do { if((__INDEX__) == COM1) { EVAL_COM1_RX_GPIO_CLK_DISABLE(); } } while(0)

Define Documentation

#define COMn   1

Definition at line 274 of file stm32l4r9i_eval.h.

#define COMx_CLK_DISABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_CLK_DISABLE(); } } while(0)

Definition at line 298 of file stm32l4r9i_eval.h.

#define COMx_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_CLK_ENABLE(); } } while(0)

Definition at line 297 of file stm32l4r9i_eval.h.

Referenced by BSP_COM_Init().

#define COMx_RX_GPIO_CLK_DISABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_RX_GPIO_CLK_DISABLE(); } } while(0)

Definition at line 304 of file stm32l4r9i_eval.h.

#define COMx_RX_GPIO_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_RX_GPIO_CLK_ENABLE(); } } while(0)

Definition at line 303 of file stm32l4r9i_eval.h.

Referenced by BSP_COM_Init().

#define COMx_TX_GPIO_CLK_DISABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_TX_GPIO_CLK_DISABLE(); } } while(0)

Definition at line 301 of file stm32l4r9i_eval.h.

#define COMx_TX_GPIO_CLK_ENABLE (   __INDEX__)    do { if((__INDEX__) == COM1) { EVAL_COM1_TX_GPIO_CLK_ENABLE(); } } while(0)

Definition at line 300 of file stm32l4r9i_eval.h.

Referenced by BSP_COM_Init().

#define EVAL_COM1   LPUART1

Definition for COM port1, connected to USART1.

Definition at line 279 of file stm32l4r9i_eval.h.

#define EVAL_COM1_CLK_DISABLE ( )    __HAL_RCC_LPUART1_CLK_DISABLE()

Definition at line 281 of file stm32l4r9i_eval.h.

#define EVAL_COM1_CLK_ENABLE ( )    __HAL_RCC_LPUART1_CLK_ENABLE()

Definition at line 280 of file stm32l4r9i_eval.h.

#define EVAL_COM1_IRQn   LPUART1_IRQn

Definition at line 295 of file stm32l4r9i_eval.h.

#define EVAL_COM1_RX_AF   GPIO_AF8_LPUART1

Definition at line 293 of file stm32l4r9i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOG_CLK_DISABLE()

Definition at line 292 of file stm32l4r9i_eval.h.

#define EVAL_COM1_RX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 291 of file stm32l4r9i_eval.h.

#define EVAL_COM1_RX_GPIO_PORT   GPIOG

Definition at line 290 of file stm32l4r9i_eval.h.

#define EVAL_COM1_RX_PIN   GPIO_PIN_8

Definition at line 289 of file stm32l4r9i_eval.h.

#define EVAL_COM1_TX_AF   GPIO_AF8_LPUART1

Definition at line 287 of file stm32l4r9i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOG_CLK_DISABLE()

Definition at line 286 of file stm32l4r9i_eval.h.

#define EVAL_COM1_TX_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 285 of file stm32l4r9i_eval.h.

#define EVAL_COM1_TX_GPIO_PORT   GPIOG

Definition at line 284 of file stm32l4r9i_eval.h.

#define EVAL_COM1_TX_PIN   GPIO_PIN_7

Definition at line 283 of file stm32l4r9i_eval.h.

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1