MSP432E4 DriverLib API Guide  1.11.00.03
Macros
hw_uart.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UART_O_DR   0x00000000
 
#define UART_O_RSR   0x00000004
 
#define UART_O_ECR   0x00000004
 
#define UART_O_FR   0x00000018
 
#define UART_O_ILPR   0x00000020
 
#define UART_O_IBRD   0x00000024
 
#define UART_O_FBRD   0x00000028
 
#define UART_O_LCRH   0x0000002C
 
#define UART_O_CTL   0x00000030
 
#define UART_O_IFLS   0x00000034
 
#define UART_O_IM   0x00000038
 
#define UART_O_RIS   0x0000003C
 
#define UART_O_MIS   0x00000040
 
#define UART_O_ICR   0x00000044
 
#define UART_O_DMACTL   0x00000048
 
#define UART_O_9BITADDR   0x000000A4
 
#define UART_O_9BITAMASK   0x000000A8
 
#define UART_O_PP   0x00000FC0
 
#define UART_O_CC   0x00000FC8
 
#define UART_DR_OE   0x00000800
 
#define UART_DR_BE   0x00000400
 
#define UART_DR_PE   0x00000200
 
#define UART_DR_FE   0x00000100
 
#define UART_DR_DATA_M   0x000000FF
 
#define UART_DR_DATA_S   0
 
#define UART_RSR_OE   0x00000008
 
#define UART_RSR_BE   0x00000004
 
#define UART_RSR_PE   0x00000002
 
#define UART_RSR_FE   0x00000001
 
#define UART_ECR_DATA_M   0x000000FF
 
#define UART_ECR_DATA_S   0
 
#define UART_FR_RI   0x00000100
 
#define UART_FR_TXFE   0x00000080
 
#define UART_FR_RXFF   0x00000040
 
#define UART_FR_TXFF   0x00000020
 
#define UART_FR_RXFE   0x00000010
 
#define UART_FR_BUSY   0x00000008
 
#define UART_FR_DCD   0x00000004
 
#define UART_FR_DSR   0x00000002
 
#define UART_FR_CTS   0x00000001
 
#define UART_ILPR_ILPDVSR_M   0x000000FF
 
#define UART_ILPR_ILPDVSR_S   0
 
#define UART_IBRD_DIVINT_M   0x0000FFFF
 
#define UART_IBRD_DIVINT_S   0
 
#define UART_FBRD_DIVFRAC_M   0x0000003F
 
#define UART_FBRD_DIVFRAC_S   0
 
#define UART_LCRH_SPS   0x00000080
 
#define UART_LCRH_WLEN_M   0x00000060
 
#define UART_LCRH_WLEN_5   0x00000000
 
#define UART_LCRH_WLEN_6   0x00000020
 
#define UART_LCRH_WLEN_7   0x00000040
 
#define UART_LCRH_WLEN_8   0x00000060
 
#define UART_LCRH_FEN   0x00000010
 
#define UART_LCRH_STP2   0x00000008
 
#define UART_LCRH_EPS   0x00000004
 
#define UART_LCRH_PEN   0x00000002
 
#define UART_LCRH_BRK   0x00000001
 
#define UART_CTL_CTSEN   0x00008000
 
#define UART_CTL_RTSEN   0x00004000
 
#define UART_CTL_RTS   0x00000800
 
#define UART_CTL_DTR   0x00000400
 
#define UART_CTL_RXE   0x00000200
 
#define UART_CTL_TXE   0x00000100
 
#define UART_CTL_LBE   0x00000080
 
#define UART_CTL_HSE   0x00000020
 
#define UART_CTL_EOT   0x00000010
 
#define UART_CTL_SMART   0x00000008
 
#define UART_CTL_SIRLP   0x00000004
 
#define UART_CTL_SIREN   0x00000002
 
#define UART_CTL_UARTEN   0x00000001
 
#define UART_IFLS_RX_M   0x00000038
 
#define UART_IFLS_RX1_8   0x00000000
 
#define UART_IFLS_RX2_8   0x00000008
 
#define UART_IFLS_RX4_8   0x00000010
 
#define UART_IFLS_RX6_8   0x00000018
 
#define UART_IFLS_RX7_8   0x00000020
 
#define UART_IFLS_TX_M   0x00000007
 
#define UART_IFLS_TX1_8   0x00000000
 
#define UART_IFLS_TX2_8   0x00000001
 
#define UART_IFLS_TX4_8   0x00000002
 
#define UART_IFLS_TX6_8   0x00000003
 
#define UART_IFLS_TX7_8   0x00000004
 
#define UART_IM_DMATXIM   0x00020000
 
#define UART_IM_DMARXIM   0x00010000
 
#define UART_IM_9BITIM   0x00001000
 
#define UART_IM_EOTIM   0x00000800
 
#define UART_IM_OEIM   0x00000400
 
#define UART_IM_BEIM   0x00000200
 
#define UART_IM_PEIM   0x00000100
 
#define UART_IM_FEIM   0x00000080
 
#define UART_IM_RTIM   0x00000040
 
#define UART_IM_TXIM   0x00000020
 
#define UART_IM_RXIM   0x00000010
 
#define UART_IM_DSRMIM   0x00000008
 
#define UART_IM_DCDMIM   0x00000004
 
#define UART_IM_CTSMIM   0x00000002
 
#define UART_IM_RIMIM   0x00000001
 
#define UART_RIS_DMATXRIS   0x00020000
 
#define UART_RIS_DMARXRIS   0x00010000
 
#define UART_RIS_9BITRIS   0x00001000
 
#define UART_RIS_EOTRIS   0x00000800
 
#define UART_RIS_OERIS   0x00000400
 
#define UART_RIS_BERIS   0x00000200
 
#define UART_RIS_PERIS   0x00000100
 
#define UART_RIS_FERIS   0x00000080
 
#define UART_RIS_RTRIS   0x00000040
 
#define UART_RIS_TXRIS   0x00000020
 
#define UART_RIS_RXRIS   0x00000010
 
#define UART_RIS_DSRRIS   0x00000008
 
#define UART_RIS_DCDRIS   0x00000004
 
#define UART_RIS_CTSRIS   0x00000002
 
#define UART_RIS_RIRIS   0x00000001
 
#define UART_MIS_DMATXMIS   0x00020000
 
#define UART_MIS_DMARXMIS   0x00010000
 
#define UART_MIS_9BITMIS   0x00001000
 
#define UART_MIS_EOTMIS   0x00000800
 
#define UART_MIS_OEMIS   0x00000400
 
#define UART_MIS_BEMIS   0x00000200
 
#define UART_MIS_PEMIS   0x00000100
 
#define UART_MIS_FEMIS   0x00000080
 
#define UART_MIS_RTMIS   0x00000040
 
#define UART_MIS_TXMIS   0x00000020
 
#define UART_MIS_RXMIS   0x00000010
 
#define UART_MIS_DSRMIS   0x00000008
 
#define UART_MIS_DCDMIS   0x00000004
 
#define UART_MIS_CTSMIS   0x00000002
 
#define UART_MIS_RIMIS   0x00000001
 
#define UART_ICR_DMATXIC   0x00020000
 
#define UART_ICR_DMARXIC   0x00010000
 
#define UART_ICR_9BITIC   0x00001000
 
#define UART_ICR_EOTIC   0x00000800
 
#define UART_ICR_OEIC   0x00000400
 
#define UART_ICR_BEIC   0x00000200
 
#define UART_ICR_PEIC   0x00000100
 
#define UART_ICR_FEIC   0x00000080
 
#define UART_ICR_RTIC   0x00000040
 
#define UART_ICR_TXIC   0x00000020
 
#define UART_ICR_RXIC   0x00000010
 
#define UART_ICR_DSRMIC   0x00000008
 
#define UART_ICR_DCDMIC   0x00000004
 
#define UART_ICR_CTSMIC   0x00000002
 
#define UART_ICR_RIMIC   0x00000001
 
#define UART_DMACTL_DMAERR   0x00000004
 
#define UART_DMACTL_TXDMAE   0x00000002
 
#define UART_DMACTL_RXDMAE   0x00000001
 
#define UART_9BITADDR_9BITEN   0x00008000
 
#define UART_9BITADDR_ADDR_M   0x000000FF
 
#define UART_9BITADDR_ADDR_S   0
 
#define UART_9BITAMASK_MASK_M   0x000000FF
 
#define UART_9BITAMASK_MASK_S   0
 
#define UART_PP_MSE   0x00000008
 
#define UART_PP_MS   0x00000004
 
#define UART_PP_NB   0x00000002
 
#define UART_PP_SC   0x00000001
 
#define UART_CC_CS_M   0x0000000F
 
#define UART_CC_CS_SYSCLK   0x00000000
 
#define UART_CC_CS_PIOSC   0x00000005
 

Macro Definition Documentation

§ UART_O_DR

#define UART_O_DR   0x00000000

§ UART_O_RSR

#define UART_O_RSR   0x00000004

Referenced by UARTRxErrorGet().

§ UART_O_ECR

#define UART_O_ECR   0x00000004

Referenced by UARTRxErrorClear().

§ UART_O_FR

#define UART_O_FR   0x00000018

§ UART_O_ILPR

#define UART_O_ILPR   0x00000020

§ UART_O_IBRD

#define UART_O_IBRD   0x00000024

§ UART_O_FBRD

#define UART_O_FBRD   0x00000028

§ UART_O_LCRH

#define UART_O_LCRH   0x0000002C

§ UART_O_CTL

#define UART_O_CTL   0x00000030

§ UART_O_IFLS

#define UART_O_IFLS   0x00000034

§ UART_O_IM

#define UART_O_IM   0x00000038

Referenced by UARTIntDisable(), and UARTIntEnable().

§ UART_O_RIS

#define UART_O_RIS   0x0000003C

Referenced by UARTIntStatus().

§ UART_O_MIS

#define UART_O_MIS   0x00000040

Referenced by UARTIntStatus().

§ UART_O_ICR

#define UART_O_ICR   0x00000044

Referenced by UARTIntClear().

§ UART_O_DMACTL

#define UART_O_DMACTL   0x00000048

Referenced by UARTDMADisable(), and UARTDMAEnable().

§ UART_O_9BITADDR

#define UART_O_9BITADDR   0x000000A4

§ UART_O_9BITAMASK

#define UART_O_9BITAMASK   0x000000A8

Referenced by UART9BitAddrSet().

§ UART_O_PP

#define UART_O_PP   0x00000FC0

§ UART_O_CC

#define UART_O_CC   0x00000FC8

§ UART_DR_OE

#define UART_DR_OE   0x00000800

§ UART_DR_BE

#define UART_DR_BE   0x00000400

§ UART_DR_PE

#define UART_DR_PE   0x00000200

§ UART_DR_FE

#define UART_DR_FE   0x00000100

§ UART_DR_DATA_M

#define UART_DR_DATA_M   0x000000FF

§ UART_DR_DATA_S

#define UART_DR_DATA_S   0

§ UART_RSR_OE

#define UART_RSR_OE   0x00000008

§ UART_RSR_BE

#define UART_RSR_BE   0x00000004

§ UART_RSR_PE

#define UART_RSR_PE   0x00000002

§ UART_RSR_FE

#define UART_RSR_FE   0x00000001

§ UART_ECR_DATA_M

#define UART_ECR_DATA_M   0x000000FF

§ UART_ECR_DATA_S

#define UART_ECR_DATA_S   0

§ UART_FR_RI

#define UART_FR_RI   0x00000100

§ UART_FR_TXFE

#define UART_FR_TXFE   0x00000080

Referenced by UART9BitAddrSend().

§ UART_FR_RXFF

#define UART_FR_RXFF   0x00000040

§ UART_FR_TXFF

#define UART_FR_TXFF   0x00000020

§ UART_FR_RXFE

#define UART_FR_RXFE   0x00000010

§ UART_FR_BUSY

#define UART_FR_BUSY   0x00000008

§ UART_FR_DCD

#define UART_FR_DCD   0x00000004

§ UART_FR_DSR

#define UART_FR_DSR   0x00000002

§ UART_FR_CTS

#define UART_FR_CTS   0x00000001

§ UART_ILPR_ILPDVSR_M

#define UART_ILPR_ILPDVSR_M   0x000000FF

§ UART_ILPR_ILPDVSR_S

#define UART_ILPR_ILPDVSR_S   0

§ UART_IBRD_DIVINT_M

#define UART_IBRD_DIVINT_M   0x0000FFFF

§ UART_IBRD_DIVINT_S

#define UART_IBRD_DIVINT_S   0

§ UART_FBRD_DIVFRAC_M

#define UART_FBRD_DIVFRAC_M   0x0000003F

§ UART_FBRD_DIVFRAC_S

#define UART_FBRD_DIVFRAC_S   0

§ UART_LCRH_SPS

#define UART_LCRH_SPS   0x00000080

§ UART_LCRH_WLEN_M

#define UART_LCRH_WLEN_M   0x00000060

§ UART_LCRH_WLEN_5

#define UART_LCRH_WLEN_5   0x00000000

§ UART_LCRH_WLEN_6

#define UART_LCRH_WLEN_6   0x00000020

§ UART_LCRH_WLEN_7

#define UART_LCRH_WLEN_7   0x00000040

§ UART_LCRH_WLEN_8

#define UART_LCRH_WLEN_8   0x00000060

Referenced by UARTSmartCardEnable().

§ UART_LCRH_FEN

#define UART_LCRH_FEN   0x00000010

§ UART_LCRH_STP2

#define UART_LCRH_STP2   0x00000008

§ UART_LCRH_EPS

#define UART_LCRH_EPS   0x00000004

§ UART_LCRH_PEN

#define UART_LCRH_PEN   0x00000002

§ UART_LCRH_BRK

#define UART_LCRH_BRK   0x00000001

Referenced by UARTBreakCtl().

§ UART_CTL_CTSEN

#define UART_CTL_CTSEN   0x00008000

§ UART_CTL_RTSEN

#define UART_CTL_RTSEN   0x00004000

§ UART_CTL_RTS

#define UART_CTL_RTS   0x00000800

§ UART_CTL_DTR

#define UART_CTL_DTR   0x00000400

§ UART_CTL_RXE

#define UART_CTL_RXE   0x00000200

Referenced by UARTDisable(), and UARTEnable().

§ UART_CTL_TXE

#define UART_CTL_TXE   0x00000100

Referenced by UARTDisable(), and UARTEnable().

§ UART_CTL_LBE

#define UART_CTL_LBE   0x00000080

Referenced by UARTLoopbackEnable().

§ UART_CTL_HSE

#define UART_CTL_HSE   0x00000020

§ UART_CTL_EOT

#define UART_CTL_EOT   0x00000010

§ UART_CTL_SMART

#define UART_CTL_SMART   0x00000008

§ UART_CTL_SIRLP

#define UART_CTL_SIRLP   0x00000004

Referenced by UARTDisableSIR(), and UARTEnableSIR().

§ UART_CTL_SIREN

#define UART_CTL_SIREN   0x00000002

Referenced by UARTDisableSIR(), and UARTEnableSIR().

§ UART_CTL_UARTEN

#define UART_CTL_UARTEN   0x00000001

Referenced by UARTDisable(), and UARTEnable().

§ UART_IFLS_RX_M

#define UART_IFLS_RX_M   0x00000038

Referenced by UARTFIFOLevelGet().

§ UART_IFLS_RX1_8

#define UART_IFLS_RX1_8   0x00000000

§ UART_IFLS_RX2_8

#define UART_IFLS_RX2_8   0x00000008

§ UART_IFLS_RX4_8

#define UART_IFLS_RX4_8   0x00000010

§ UART_IFLS_RX6_8

#define UART_IFLS_RX6_8   0x00000018

§ UART_IFLS_RX7_8

#define UART_IFLS_RX7_8   0x00000020

§ UART_IFLS_TX_M

#define UART_IFLS_TX_M   0x00000007

Referenced by UARTFIFOLevelGet().

§ UART_IFLS_TX1_8

#define UART_IFLS_TX1_8   0x00000000

§ UART_IFLS_TX2_8

#define UART_IFLS_TX2_8   0x00000001

§ UART_IFLS_TX4_8

#define UART_IFLS_TX4_8   0x00000002

§ UART_IFLS_TX6_8

#define UART_IFLS_TX6_8   0x00000003

§ UART_IFLS_TX7_8

#define UART_IFLS_TX7_8   0x00000004

§ UART_IM_DMATXIM

#define UART_IM_DMATXIM   0x00020000

§ UART_IM_DMARXIM

#define UART_IM_DMARXIM   0x00010000

§ UART_IM_9BITIM

#define UART_IM_9BITIM   0x00001000

§ UART_IM_EOTIM

#define UART_IM_EOTIM   0x00000800

§ UART_IM_OEIM

#define UART_IM_OEIM   0x00000400

§ UART_IM_BEIM

#define UART_IM_BEIM   0x00000200

§ UART_IM_PEIM

#define UART_IM_PEIM   0x00000100

§ UART_IM_FEIM

#define UART_IM_FEIM   0x00000080

§ UART_IM_RTIM

#define UART_IM_RTIM   0x00000040

§ UART_IM_TXIM

#define UART_IM_TXIM   0x00000020

§ UART_IM_RXIM

#define UART_IM_RXIM   0x00000010

§ UART_IM_DSRMIM

#define UART_IM_DSRMIM   0x00000008

§ UART_IM_DCDMIM

#define UART_IM_DCDMIM   0x00000004

§ UART_IM_CTSMIM

#define UART_IM_CTSMIM   0x00000002

§ UART_IM_RIMIM

#define UART_IM_RIMIM   0x00000001

§ UART_RIS_DMATXRIS

#define UART_RIS_DMATXRIS   0x00020000

§ UART_RIS_DMARXRIS

#define UART_RIS_DMARXRIS   0x00010000

§ UART_RIS_9BITRIS

#define UART_RIS_9BITRIS   0x00001000

§ UART_RIS_EOTRIS

#define UART_RIS_EOTRIS   0x00000800

§ UART_RIS_OERIS

#define UART_RIS_OERIS   0x00000400

§ UART_RIS_BERIS

#define UART_RIS_BERIS   0x00000200

§ UART_RIS_PERIS

#define UART_RIS_PERIS   0x00000100

§ UART_RIS_FERIS

#define UART_RIS_FERIS   0x00000080

§ UART_RIS_RTRIS

#define UART_RIS_RTRIS   0x00000040

§ UART_RIS_TXRIS

#define UART_RIS_TXRIS   0x00000020

§ UART_RIS_RXRIS

#define UART_RIS_RXRIS   0x00000010

§ UART_RIS_DSRRIS

#define UART_RIS_DSRRIS   0x00000008

§ UART_RIS_DCDRIS

#define UART_RIS_DCDRIS   0x00000004

§ UART_RIS_CTSRIS

#define UART_RIS_CTSRIS   0x00000002

§ UART_RIS_RIRIS

#define UART_RIS_RIRIS   0x00000001

§ UART_MIS_DMATXMIS

#define UART_MIS_DMATXMIS   0x00020000

§ UART_MIS_DMARXMIS

#define UART_MIS_DMARXMIS   0x00010000

§ UART_MIS_9BITMIS

#define UART_MIS_9BITMIS   0x00001000

§ UART_MIS_EOTMIS

#define UART_MIS_EOTMIS   0x00000800

§ UART_MIS_OEMIS

#define UART_MIS_OEMIS   0x00000400

§ UART_MIS_BEMIS

#define UART_MIS_BEMIS   0x00000200

§ UART_MIS_PEMIS

#define UART_MIS_PEMIS   0x00000100

§ UART_MIS_FEMIS

#define UART_MIS_FEMIS   0x00000080

§ UART_MIS_RTMIS

#define UART_MIS_RTMIS   0x00000040

§ UART_MIS_TXMIS

#define UART_MIS_TXMIS   0x00000020

§ UART_MIS_RXMIS

#define UART_MIS_RXMIS   0x00000010

§ UART_MIS_DSRMIS

#define UART_MIS_DSRMIS   0x00000008

§ UART_MIS_DCDMIS

#define UART_MIS_DCDMIS   0x00000004

§ UART_MIS_CTSMIS

#define UART_MIS_CTSMIS   0x00000002

§ UART_MIS_RIMIS

#define UART_MIS_RIMIS   0x00000001

§ UART_ICR_DMATXIC

#define UART_ICR_DMATXIC   0x00020000

§ UART_ICR_DMARXIC

#define UART_ICR_DMARXIC   0x00010000

§ UART_ICR_9BITIC

#define UART_ICR_9BITIC   0x00001000

§ UART_ICR_EOTIC

#define UART_ICR_EOTIC   0x00000800

§ UART_ICR_OEIC

#define UART_ICR_OEIC   0x00000400

§ UART_ICR_BEIC

#define UART_ICR_BEIC   0x00000200

§ UART_ICR_PEIC

#define UART_ICR_PEIC   0x00000100

§ UART_ICR_FEIC

#define UART_ICR_FEIC   0x00000080

§ UART_ICR_RTIC

#define UART_ICR_RTIC   0x00000040

§ UART_ICR_TXIC

#define UART_ICR_TXIC   0x00000020

§ UART_ICR_RXIC

#define UART_ICR_RXIC   0x00000010

§ UART_ICR_DSRMIC

#define UART_ICR_DSRMIC   0x00000008

§ UART_ICR_DCDMIC

#define UART_ICR_DCDMIC   0x00000004

§ UART_ICR_CTSMIC

#define UART_ICR_CTSMIC   0x00000002

§ UART_ICR_RIMIC

#define UART_ICR_RIMIC   0x00000001

§ UART_DMACTL_DMAERR

#define UART_DMACTL_DMAERR   0x00000004

§ UART_DMACTL_TXDMAE

#define UART_DMACTL_TXDMAE   0x00000002

§ UART_DMACTL_RXDMAE

#define UART_DMACTL_RXDMAE   0x00000001

§ UART_9BITADDR_9BITEN

#define UART_9BITADDR_9BITEN   0x00008000

Referenced by UART9BitDisable(), and UART9BitEnable().

§ UART_9BITADDR_ADDR_M

#define UART_9BITADDR_ADDR_M   0x000000FF

§ UART_9BITADDR_ADDR_S

#define UART_9BITADDR_ADDR_S   0

Referenced by UART9BitAddrSet().

§ UART_9BITAMASK_MASK_M

#define UART_9BITAMASK_MASK_M   0x000000FF

§ UART_9BITAMASK_MASK_S

#define UART_9BITAMASK_MASK_S   0

Referenced by UART9BitAddrSet().

§ UART_PP_MSE

#define UART_PP_MSE   0x00000008

§ UART_PP_MS

#define UART_PP_MS   0x00000004

§ UART_PP_NB

#define UART_PP_NB   0x00000002

§ UART_PP_SC

#define UART_PP_SC   0x00000001

§ UART_CC_CS_M

#define UART_CC_CS_M   0x0000000F

§ UART_CC_CS_SYSCLK

#define UART_CC_CS_SYSCLK   0x00000000

§ UART_CC_CS_PIOSC

#define UART_CC_CS_PIOSC   0x00000005
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale