| M480 BSP V3.05.001 The Board Support Package for M480 Series

Data Structures
uuart_reg.h File Reference

UUART register definition header file. More...

Go to the source code of this file.

## Data Structures
struct | UUART_T

## Macros
#define | UUART_CTL_FUNMODE_Pos (0)
#define | UUART_CTL_FUNMODE_Msk (0x7ul << UUART_CTL_FUNMODE_Pos)
#define | UUART_INTEN_TXSTIEN_Pos (1)
#define | UUART_INTEN_TXSTIEN_Msk (0x1ul << UUART_INTEN_TXSTIEN_Pos)
#define | UUART_INTEN_TXENDIEN_Pos (2)
#define | UUART_INTEN_TXENDIEN_Msk (0x1ul << UUART_INTEN_TXENDIEN_Pos)
#define | UUART_INTEN_RXSTIEN_Pos (3)
#define | UUART_INTEN_RXSTIEN_Msk (0x1ul << UUART_INTEN_RXSTIEN_Pos)
#define | UUART_INTEN_RXENDIEN_Pos (4)
#define | UUART_INTEN_RXENDIEN_Msk (0x1ul << UUART_INTEN_RXENDIEN_Pos)
#define | UUART_BRGEN_RCLKSEL_Pos (0)
#define | UUART_BRGEN_RCLKSEL_Msk (0x1ul << UUART_BRGEN_RCLKSEL_Pos)
#define | UUART_BRGEN_PTCLKSEL_Pos (1)
#define | UUART_BRGEN_PTCLKSEL_Msk (0x1ul << UUART_BRGEN_PTCLKSEL_Pos)
#define | UUART_BRGEN_SPCLKSEL_Pos (2)
#define | UUART_BRGEN_SPCLKSEL_Msk (0x3ul << UUART_BRGEN_SPCLKSEL_Pos)
#define | UUART_BRGEN_TMCNTEN_Pos (4)
#define | UUART_BRGEN_TMCNTEN_Msk (0x1ul << UUART_BRGEN_TMCNTEN_Pos)
#define | UUART_BRGEN_TMCNTSRC_Pos (5)
#define | UUART_BRGEN_TMCNTSRC_Msk (0x1ul << UUART_BRGEN_TMCNTSRC_Pos)
#define | UUART_BRGEN_PDSCNT_Pos (8)
#define | UUART_BRGEN_PDSCNT_Msk (0x3ul << UUART_BRGEN_PDSCNT_Pos)
#define | UUART_BRGEN_DSCNT_Pos (10)
#define | UUART_BRGEN_DSCNT_Msk (0x1ful << UUART_BRGEN_DSCNT_Pos)
#define | UUART_BRGEN_CLKDIV_Pos (16)
#define | UUART_BRGEN_CLKDIV_Msk (0x3fful << UUART_BRGEN_CLKDIV_Pos)
#define | UUART_DATIN0_SYNCSEL_Pos (0)
#define | UUART_DATIN0_SYNCSEL_Msk (0x1ul << UUART_DATIN0_SYNCSEL_Pos)
#define | UUART_DATIN0_ININV_Pos (2)
#define | UUART_DATIN0_ININV_Msk (0x1ul << UUART_DATIN0_ININV_Pos)
#define | UUART_DATIN0_EDGEDET_Pos (3)
#define | UUART_DATIN0_EDGEDET_Msk (0x3ul << UUART_DATIN0_EDGEDET_Pos)
#define | UUART_CTLIN0_SYNCSEL_Pos (0)
#define | UUART_CTLIN0_SYNCSEL_Msk (0x1ul << UUART_CTLIN0_SYNCSEL_Pos)
#define | UUART_CTLIN0_ININV_Pos (2)
#define | UUART_CTLIN0_ININV_Msk (0x1ul << UUART_CTLIN0_ININV_Pos)
#define | UUART_CLKIN_SYNCSEL_Pos (0)
#define | UUART_CLKIN_SYNCSEL_Msk (0x1ul << UUART_CLKIN_SYNCSEL_Pos)
#define | UUART_LINECTL_LSB_Pos (0)
#define | UUART_LINECTL_LSB_Msk (0x1ul << UUART_LINECTL_LSB_Pos)
#define | UUART_LINECTL_DATOINV_Pos (5)
#define | UUART_LINECTL_DATOINV_Msk (0x1ul << UUART_LINECTL_DATOINV_Pos)
#define | UUART_LINECTL_CTLOINV_Pos (7)
#define | UUART_LINECTL_CTLOINV_Msk (0x1ul << UUART_LINECTL_CTLOINV_Pos)
#define | UUART_LINECTL_DWIDTH_Pos (8)
#define | UUART_LINECTL_DWIDTH_Msk (0xful << UUART_LINECTL_DWIDTH_Pos)
#define | UUART_TXDAT_TXDAT_Pos (0)
#define | UUART_TXDAT_TXDAT_Msk (0xfffful << UUART_TXDAT_TXDAT_Pos)
#define | UUART_RXDAT_RXDAT_Pos (0)
#define | UUART_RXDAT_RXDAT_Msk (0xfffful << UUART_RXDAT_RXDAT_Pos)
#define | UUART_BUFCTL_TXCLR_Pos (7)
#define | UUART_BUFCTL_TXCLR_Msk (0x1ul << UUART_BUFCTL_TXCLR_Pos)
#define | UUART_BUFCTL_RXOVIEN_Pos (14)
#define | UUART_BUFCTL_RXOVIEN_Msk (0x1ul << UUART_BUFCTL_RXOVIEN_Pos)
#define | UUART_BUFCTL_RXCLR_Pos (15)
#define | UUART_BUFCTL_RXCLR_Msk (0x1ul << UUART_BUFCTL_RXCLR_Pos)
#define | UUART_BUFCTL_TXRST_Pos (16)
#define | UUART_BUFCTL_TXRST_Msk (0x1ul << UUART_BUFCTL_TXRST_Pos)
#define | UUART_BUFCTL_RXRST_Pos (17)
#define | UUART_BUFCTL_RXRST_Msk (0x1ul << UUART_BUFCTL_RXRST_Pos)
#define | UUART_BUFSTS_RXEMPTY_Pos (0)
#define | UUART_BUFSTS_RXEMPTY_Msk (0x1ul << UUART_BUFSTS_RXEMPTY_Pos)
#define | UUART_BUFSTS_RXFULL_Pos (1)
#define | UUART_BUFSTS_RXFULL_Msk (0x1ul << UUART_BUFSTS_RXFULL_Pos)
#define | UUART_BUFSTS_RXOVIF_Pos (3)
#define | UUART_BUFSTS_RXOVIF_Msk (0x1ul << UUART_BUFSTS_RXOVIF_Pos)
#define | UUART_BUFSTS_TXEMPTY_Pos (8)
#define | UUART_BUFSTS_TXEMPTY_Msk (0x1ul << UUART_BUFSTS_TXEMPTY_Pos)
#define | UUART_BUFSTS_TXFULL_Pos (9)
#define | UUART_BUFSTS_TXFULL_Msk (0x1ul << UUART_BUFSTS_TXFULL_Pos)
#define | UUART_PDMACTL_PDMARST_Pos (0)
#define | UUART_PDMACTL_PDMARST_Msk (0x1ul << UUART_PDMACTL_PDMARST_Pos)
#define | UUART_PDMACTL_TXPDMAEN_Pos (1)
#define | UUART_PDMACTL_TXPDMAEN_Msk (0x1ul << UUART_PDMACTL_TXPDMAEN_Pos)
#define | UUART_PDMACTL_RXPDMAEN_Pos (2)
#define | UUART_PDMACTL_RXPDMAEN_Msk (0x1ul << UUART_PDMACTL_RXPDMAEN_Pos)
#define | UUART_PDMACTL_PDMAEN_Pos (3)
#define | UUART_PDMACTL_PDMAEN_Msk (0x1ul << UUART_PDMACTL_PDMAEN_Pos)
#define | UUART_WKCTL_WKEN_Pos (0)
#define | UUART_WKCTL_WKEN_Msk (0x1ul << UUART_WKCTL_WKEN_Pos)
#define | UUART_WKCTL_PDBOPT_Pos (2)
#define | UUART_WKCTL_PDBOPT_Msk (0x1ul << UUART_WKCTL_PDBOPT_Pos)
#define | UUART_WKSTS_WKF_Pos (0)
#define | UUART_WKSTS_WKF_Msk (0x1ul << UUART_WKSTS_WKF_Pos)
#define | UUART_PROTCTL_STOPB_Pos (0)
#define | UUART_PROTCTL_STOPB_Msk (0x1ul << UUART_PROTCTL_STOPB_Pos)
#define | UUART_PROTCTL_PARITYEN_Pos (1)
#define | UUART_PROTCTL_PARITYEN_Msk (0x1ul << UUART_PROTCTL_PARITYEN_Pos)
#define | UUART_PROTCTL_EVENPARITY_Pos (2)
#define | UUART_PROTCTL_EVENPARITY_Msk (0x1ul << UUART_PROTCTL_EVENPARITY_Pos)
#define | UUART_PROTCTL_RTSAUTOEN_Pos (3)
#define | UUART_PROTCTL_RTSAUTOEN_Msk (0x1ul << UUART_PROTCTL_RTSAUTOEN_Pos)
#define | UUART_PROTCTL_CTSAUTOEN_Pos (4)
#define | UUART_PROTCTL_CTSAUTOEN_Msk (0x1ul << UUART_PROTCTL_CTSAUTOEN_Pos)
#define | UUART_PROTCTL_RTSAUDIREN_Pos (5)
#define | UUART_PROTCTL_RTSAUDIREN_Msk (0x1ul << UUART_PROTCTL_RTSAUDIREN_Pos)
#define | UUART_PROTCTL_ABREN_Pos (6)
#define | UUART_PROTCTL_ABREN_Msk (0x1ul << UUART_PROTCTL_ABREN_Pos)
#define | UUART_PROTCTL_DATWKEN_Pos (9)
#define | UUART_PROTCTL_DATWKEN_Msk (0x1ul << UUART_PROTCTL_DATWKEN_Pos)
#define | UUART_PROTCTL_CTSWKEN_Pos (10)
#define | UUART_PROTCTL_CTSWKEN_Msk (0x1ul << UUART_PROTCTL_CTSWKEN_Pos)
#define | UUART_PROTCTL_WAKECNT_Pos (11)
#define | UUART_PROTCTL_WAKECNT_Msk (0xful << UUART_PROTCTL_WAKECNT_Pos)
#define | UUART_PROTCTL_BRDETITV_Pos (16)
#define | UUART_PROTCTL_BRDETITV_Msk (0x1fful << UUART_PROTCTL_BRDETITV_Pos)
#define | UUART_PROTCTL_STICKEN_Pos (26)
#define | UUART_PROTCTL_STICKEN_Msk (0x1ul << UUART_PROTCTL_STICKEN_Pos)
#define | UUART_PROTCTL_BCEN_Pos (29)
#define | UUART_PROTCTL_BCEN_Msk (0x1ul << UUART_PROTCTL_BCEN_Pos)
#define | UUART_PROTCTL_PROTEN_Pos (31)
#define | UUART_PROTCTL_PROTEN_Msk (0x1ul << UUART_PROTCTL_PROTEN_Pos)
#define | UUART_PROTIEN_ABRIEN_Pos (1)
#define | UUART_PROTIEN_ABRIEN_Msk (0x1ul << UUART_PROTIEN_ABRIEN_Pos)
#define | UUART_PROTIEN_RLSIEN_Pos (2)
#define | UUART_PROTIEN_RLSIEN_Msk (0x1ul << UUART_PROTIEN_RLSIEN_Pos)
#define | UUART_PROTSTS_TXSTIF_Pos (1)
#define | UUART_PROTSTS_TXSTIF_Msk (0x1ul << UUART_PROTSTS_TXSTIF_Pos)
#define | UUART_PROTSTS_TXENDIF_Pos (2)
#define | UUART_PROTSTS_TXENDIF_Msk (0x1ul << UUART_PROTSTS_TXENDIF_Pos)
#define | UUART_PROTSTS_RXSTIF_Pos (3)
#define | UUART_PROTSTS_RXSTIF_Msk (0x1ul << UUART_PROTSTS_RXSTIF_Pos)
#define | UUART_PROTSTS_RXENDIF_Pos (4)
#define | UUART_PROTSTS_RXENDIF_Msk (0x1ul << UUART_PROTSTS_RXENDIF_Pos)
#define | UUART_PROTSTS_PARITYERR_Pos (5)
#define | UUART_PROTSTS_PARITYERR_Msk (0x1ul << UUART_PROTSTS_PARITYERR_Pos)
#define | UUART_PROTSTS_FRMERR_Pos (6)
#define | UUART_PROTSTS_FRMERR_Msk (0x1ul << UUART_PROTSTS_FRMERR_Pos)
#define | UUART_PROTSTS_BREAK_Pos (7)
#define | UUART_PROTSTS_BREAK_Msk (0x1ul << UUART_PROTSTS_BREAK_Pos)
#define | UUART_PROTSTS_ABRDETIF_Pos (9)
#define | UUART_PROTSTS_ABRDETIF_Msk (0x1ul << UUART_PROTSTS_ABRDETIF_Pos)
#define | UUART_PROTSTS_RXBUSY_Pos (10)
#define | UUART_PROTSTS_RXBUSY_Msk (0x1ul << UUART_PROTSTS_RXBUSY_Pos)
#define | UUART_PROTSTS_ABERRSTS_Pos (11)
#define | UUART_PROTSTS_ABERRSTS_Msk (0x1ul << UUART_PROTSTS_ABERRSTS_Pos)
#define | UUART_PROTSTS_CTSSYNCLV_Pos (16)
#define | UUART_PROTSTS_CTSSYNCLV_Msk (0x1ul << UUART_PROTSTS_CTSSYNCLV_Pos)
#define | UUART_PROTSTS_CTSLV_Pos (17)
#define | UUART_PROTSTS_CTSLV_Msk (0x1ul << UUART_PROTSTS_CTSLV_Pos)

## Detailed Description

UUART register definition header file.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2017-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file uuart_reg.h.