NANO100_BSP V3.04.002
The Board Support Package for Nano100BN Series
Modules | Macros
SCUART Exported Constants
Collaboration diagram for SCUART Exported Constants:

Modules

 SCUART Exported Functions
 

Macros

#define SCUART_CHAR_LEN_5   (0x3ul << SC_UACTL_DATA_LEN_Pos)
 
#define SCUART_CHAR_LEN_6   (0x2ul << SC_UACTL_DATA_LEN_Pos)
 
#define SCUART_CHAR_LEN_7   (0x1ul << SC_UACTL_DATA_LEN_Pos)
 
#define SCUART_CHAR_LEN_8   (0)
 
#define SCUART_PARITY_NONE   (SC_UACTL_PBDIS_Msk)
 
#define SCUART_PARITY_ODD   (SC_UACTL_OPE_Msk)
 
#define SCUART_PARITY_EVEN   (0)
 
#define SCUART_STOP_BIT_1   (SC_CTL_SLEN_Msk)
 
#define SCUART_STOP_BIT_2   (0)
 

Detailed Description

Macro Definition Documentation

◆ SCUART_CHAR_LEN_5

#define SCUART_CHAR_LEN_5   (0x3ul << SC_UACTL_DATA_LEN_Pos)

Set SCUART word length to 5 bits

Definition at line 32 of file scuart.h.

◆ SCUART_CHAR_LEN_6

#define SCUART_CHAR_LEN_6   (0x2ul << SC_UACTL_DATA_LEN_Pos)

Set SCUART word length to 6 bits

Definition at line 33 of file scuart.h.

◆ SCUART_CHAR_LEN_7

#define SCUART_CHAR_LEN_7   (0x1ul << SC_UACTL_DATA_LEN_Pos)

Set SCUART word length to 7 bits

Definition at line 34 of file scuart.h.

◆ SCUART_CHAR_LEN_8

#define SCUART_CHAR_LEN_8   (0)

Set SCUART word length to 8 bits

Definition at line 35 of file scuart.h.

◆ SCUART_PARITY_EVEN

#define SCUART_PARITY_EVEN   (0)

Set SCUART transfer with even parity

Definition at line 39 of file scuart.h.

◆ SCUART_PARITY_NONE

#define SCUART_PARITY_NONE   (SC_UACTL_PBDIS_Msk)

Set SCUART transfer with no parity

Definition at line 37 of file scuart.h.

◆ SCUART_PARITY_ODD

#define SCUART_PARITY_ODD   (SC_UACTL_OPE_Msk)

Set SCUART transfer with odd parity

Definition at line 38 of file scuart.h.

◆ SCUART_STOP_BIT_1

#define SCUART_STOP_BIT_1   (SC_CTL_SLEN_Msk)

Set SCUART transfer with one stop bit

Definition at line 41 of file scuart.h.

◆ SCUART_STOP_BIT_2

#define SCUART_STOP_BIT_2   (0)

Set SCUART transfer with two stop bits

Definition at line 42 of file scuart.h.