RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros

Macros

#define USART_PRESCALER_DIV1   0x00000000U
 
#define USART_PRESCALER_DIV2   0x00000001U
 
#define USART_PRESCALER_DIV4   0x00000002U
 
#define USART_PRESCALER_DIV6   0x00000003U
 
#define USART_PRESCALER_DIV8   0x00000004U
 
#define USART_PRESCALER_DIV10   0x00000005U
 
#define USART_PRESCALER_DIV12   0x00000006U
 
#define USART_PRESCALER_DIV16   0x00000007U
 
#define USART_PRESCALER_DIV32   0x00000008U
 
#define USART_PRESCALER_DIV64   0x00000009U
 
#define USART_PRESCALER_DIV128   0x0000000AU
 
#define USART_PRESCALER_DIV256   0x0000000BU
 

Detailed Description

Macro Definition Documentation

◆ USART_PRESCALER_DIV1

#define USART_PRESCALER_DIV1   0x00000000U

fclk_pres = fclk

◆ USART_PRESCALER_DIV10

#define USART_PRESCALER_DIV10   0x00000005U

fclk_pres = fclk/10

◆ USART_PRESCALER_DIV12

#define USART_PRESCALER_DIV12   0x00000006U

fclk_pres = fclk/12

◆ USART_PRESCALER_DIV128

#define USART_PRESCALER_DIV128   0x0000000AU

fclk_pres = fclk/128

◆ USART_PRESCALER_DIV16

#define USART_PRESCALER_DIV16   0x00000007U

fclk_pres = fclk/16

◆ USART_PRESCALER_DIV2

#define USART_PRESCALER_DIV2   0x00000001U

fclk_pres = fclk/2

◆ USART_PRESCALER_DIV256

#define USART_PRESCALER_DIV256   0x0000000BU

fclk_pres = fclk/256

◆ USART_PRESCALER_DIV32

#define USART_PRESCALER_DIV32   0x00000008U

fclk_pres = fclk/32

◆ USART_PRESCALER_DIV4

#define USART_PRESCALER_DIV4   0x00000002U

fclk_pres = fclk/4

◆ USART_PRESCALER_DIV6

#define USART_PRESCALER_DIV6   0x00000003U

fclk_pres = fclk/6

◆ USART_PRESCALER_DIV64

#define USART_PRESCALER_DIV64   0x00000009U

fclk_pres = fclk/64

◆ USART_PRESCALER_DIV8

#define USART_PRESCALER_DIV8   0x00000004U

fclk_pres = fclk/8