STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros
USART Private Macros

Macros

#define USART_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__)
 Reports the USART clock source. More...
 
#define IS_USART_STOPBITS(__STOPBITS__)
 
#define IS_USART_PARITY(__PARITY__)
 
#define IS_USART_MODE(__MODE__)   ((((__MODE__) & (uint32_t)0xFFFFFFF3U) == 0x00U) && ((__MODE__) != (uint32_t)0x00U))
 
#define IS_USART_OVERSAMPLING(__SAMPLING__)
 
#define IS_USART_CLOCK(__CLOCK__)
 
#define IS_USART_POLARITY(__CPOL__)   (((__CPOL__) == USART_POLARITY_LOW) || ((__CPOL__) == USART_POLARITY_HIGH))
 
#define IS_USART_PHASE(__CPHA__)   (((__CPHA__) == USART_PHASE_1EDGE) || ((__CPHA__) == USART_PHASE_2EDGE))
 
#define IS_USART_LASTBIT(__LASTBIT__)
 
#define IS_USART_REQUEST_PARAMETER(__PARAM__)
 
#define IS_USART_BAUDRATE(__BAUDRATE__)   ((__BAUDRATE__) < 9000001)
 

Detailed Description

Macro Definition Documentation

#define IS_USART_BAUDRATE (   __BAUDRATE__)    ((__BAUDRATE__) < 9000001)

Definition at line 667 of file stm32f7xx_hal_usart.h.

#define IS_USART_CLOCK (   __CLOCK__)
Value:
(((__CLOCK__)== USART_CLOCK_DISABLE) || \
((__CLOCK__)== USART_CLOCK_ENABLE))
#define USART_CLOCK_DISABLE
#define USART_CLOCK_ENABLE

Definition at line 659 of file stm32f7xx_hal_usart.h.

#define IS_USART_LASTBIT (   __LASTBIT__)
Value:
(((__LASTBIT__) == USART_LASTBIT_DISABLE) || \
((__LASTBIT__) == USART_LASTBIT_ENABLE))
#define USART_LASTBIT_DISABLE
#define USART_LASTBIT_ENABLE

Definition at line 663 of file stm32f7xx_hal_usart.h.

#define IS_USART_MODE (   __MODE__)    ((((__MODE__) & (uint32_t)0xFFFFFFF3U) == 0x00U) && ((__MODE__) != (uint32_t)0x00U))

Definition at line 656 of file stm32f7xx_hal_usart.h.

#define IS_USART_OVERSAMPLING (   __SAMPLING__)
Value:
(((__SAMPLING__) == USART_OVERSAMPLING_16) || \
((__SAMPLING__) == USART_OVERSAMPLING_8))
#define USART_OVERSAMPLING_8
#define USART_OVERSAMPLING_16

Definition at line 657 of file stm32f7xx_hal_usart.h.

#define IS_USART_PARITY (   __PARITY__)
Value:
(((__PARITY__) == USART_PARITY_NONE) || \
((__PARITY__) == USART_PARITY_EVEN) || \
((__PARITY__) == USART_PARITY_ODD))
#define USART_PARITY_NONE
#define USART_PARITY_ODD
#define USART_PARITY_EVEN

Definition at line 653 of file stm32f7xx_hal_usart.h.

#define IS_USART_PHASE (   __CPHA__)    (((__CPHA__) == USART_PHASE_1EDGE) || ((__CPHA__) == USART_PHASE_2EDGE))

Definition at line 662 of file stm32f7xx_hal_usart.h.

#define IS_USART_POLARITY (   __CPOL__)    (((__CPOL__) == USART_POLARITY_LOW) || ((__CPOL__) == USART_POLARITY_HIGH))

Definition at line 661 of file stm32f7xx_hal_usart.h.

#define IS_USART_REQUEST_PARAMETER (   __PARAM__)
Value:
(((__PARAM__) == USART_RXDATA_FLUSH_REQUEST) || \
((__PARAM__) == USART_TXDATA_FLUSH_REQUEST))
#define USART_RXDATA_FLUSH_REQUEST
#define USART_TXDATA_FLUSH_REQUEST

Definition at line 665 of file stm32f7xx_hal_usart.h.

#define IS_USART_STOPBITS (   __STOPBITS__)
Value:
(((__STOPBITS__) == USART_STOPBITS_1) || \
((__STOPBITS__) == USART_STOPBITS_1_5) || \
((__STOPBITS__) == USART_STOPBITS_2))
#define USART_STOPBITS_1_5
#define USART_STOPBITS_1
#define USART_STOPBITS_2

Definition at line 650 of file stm32f7xx_hal_usart.h.

#define USART_GETCLOCKSOURCE (   __HANDLE__,
  __CLOCKSOURCE__ 
)

Reports the USART clock source.

Parameters
<strong>HANDLE</strong>specifies the USART Handle
<strong>CLOCKSOURCE</strong>: output variable
Return values
theUSART clocking source, written in CLOCKSOURCE.

Definition at line 565 of file stm32f7xx_hal_usart.h.