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

Data Structures
ui2c_reg.h File Reference

UI2C register definition header file. More...

Go to the source code of this file.

## Data Structures
struct | UI2C_T

## Macros
#define | UI2C_CTL_FUNMODE_Pos (0)
#define | UI2C_CTL_FUNMODE_Msk (0x7ul << UI2C_CTL_FUNMODE_Pos)
#define | UI2C_BRGEN_RCLKSEL_Pos (0)
#define | UI2C_BRGEN_RCLKSEL_Msk (0x1ul << UI2C_BRGEN_RCLKSEL_Pos)
#define | UI2C_BRGEN_PTCLKSEL_Pos (1)
#define | UI2C_BRGEN_PTCLKSEL_Msk (0x1ul << UI2C_BRGEN_PTCLKSEL_Pos)
#define | UI2C_BRGEN_SPCLKSEL_Pos (2)
#define | UI2C_BRGEN_SPCLKSEL_Msk (0x3ul << UI2C_BRGEN_SPCLKSEL_Pos)
#define | UI2C_BRGEN_TMCNTEN_Pos (4)
#define | UI2C_BRGEN_TMCNTEN_Msk (0x1ul << UI2C_BRGEN_TMCNTEN_Pos)
#define | UI2C_BRGEN_TMCNTSRC_Pos (5)
#define | UI2C_BRGEN_TMCNTSRC_Msk (0x1ul << UI2C_BRGEN_TMCNTSRC_Pos)
#define | UI2C_BRGEN_PDSCNT_Pos (8)
#define | UI2C_BRGEN_PDSCNT_Msk (0x3ul << UI2C_BRGEN_PDSCNT_Pos)
#define | UI2C_BRGEN_DSCNT_Pos (10)
#define | UI2C_BRGEN_DSCNT_Msk (0x1ful << UI2C_BRGEN_DSCNT_Pos)
#define | UI2C_BRGEN_CLKDIV_Pos (16)
#define | UI2C_BRGEN_CLKDIV_Msk (0x3fful << UI2C_BRGEN_CLKDIV_Pos)
#define | UI2C_LINECTL_LSB_Pos (0)
#define | UI2C_LINECTL_LSB_Msk (0x1ul << UI2C_LINECTL_LSB_Pos)
#define | UI2C_LINECTL_DWIDTH_Pos (8)
#define | UI2C_LINECTL_DWIDTH_Msk (0xful << UI2C_LINECTL_DWIDTH_Pos)
#define | UI2C_TXDAT_TXDAT_Pos (0)
#define | UI2C_TXDAT_TXDAT_Msk (0xfffful << UI2C_TXDAT_TXDAT_Pos)
#define | UI2C_RXDAT_RXDAT_Pos (0)
#define | UI2C_RXDAT_RXDAT_Msk (0xfffful << UI2C_RXDAT_RXDAT_Pos)
#define | UI2C_DEVADDR0_DEVADDR_Pos (0)
#define | UI2C_DEVADDR0_DEVADDR_Msk (0x3fful << UI2C_DEVADDR0_DEVADDR_Pos)
#define | UI2C_DEVADDR1_DEVADDR_Pos (0)
#define | UI2C_DEVADDR1_DEVADDR_Msk (0x3fful << UI2C_DEVADDR1_DEVADDR_Pos)
#define | UI2C_ADDRMSK0_ADDRMSK_Pos (0)
#define | UI2C_ADDRMSK0_ADDRMSK_Msk (0x3fful << UI2C_ADDRMSK0_ADDRMSK_Pos)
#define | UI2C_ADDRMSK1_ADDRMSK_Pos (0)
#define | UI2C_ADDRMSK1_ADDRMSK_Msk (0x3fful << UI2C_ADDRMSK1_ADDRMSK_Pos)
#define | UI2C_WKCTL_WKEN_Pos (0)
#define | UI2C_WKCTL_WKEN_Msk (0x1ul << UI2C_WKCTL_WKEN_Pos)
#define | UI2C_WKCTL_WKADDREN_Pos (1)
#define | UI2C_WKCTL_WKADDREN_Msk (0x1ul << UI2C_WKCTL_WKADDREN_Pos)
#define | UI2C_WKSTS_WKF_Pos (0)
#define | UI2C_WKSTS_WKF_Msk (0x1ul << UI2C_WKSTS_WKF_Pos)
#define | UI2C_PROTCTL_GCFUNC_Pos (0)
#define | UI2C_PROTCTL_GCFUNC_Msk (0x1ul << UI2C_PROTCTL_GCFUNC_Pos)
#define | UI2C_PROTCTL_AA_Pos (1)
#define | UI2C_PROTCTL_AA_Msk (0x1ul << UI2C_PROTCTL_AA_Pos)
#define | UI2C_PROTCTL_STO_Pos (2)
#define | UI2C_PROTCTL_STO_Msk (0x1ul << UI2C_PROTCTL_STO_Pos)
#define | UI2C_PROTCTL_STA_Pos (3)
#define | UI2C_PROTCTL_STA_Msk (0x1ul << UI2C_PROTCTL_STA_Pos)
#define | UI2C_PROTCTL_ADDR10EN_Pos (4)
#define | UI2C_PROTCTL_ADDR10EN_Msk (0x1ul << UI2C_PROTCTL_ADDR10EN_Pos)
#define | UI2C_PROTCTL_PTRG_Pos (5)
#define | UI2C_PROTCTL_PTRG_Msk (0x1ul << UI2C_PROTCTL_PTRG_Pos)
#define | UI2C_PROTCTL_SCLOUTEN_Pos (8)
#define | UI2C_PROTCTL_SCLOUTEN_Msk (0x1ul << UI2C_PROTCTL_SCLOUTEN_Pos)
#define | UI2C_PROTCTL_MONEN_Pos (9)
#define | UI2C_PROTCTL_MONEN_Msk (0x1ul << UI2C_PROTCTL_MONEN_Pos)
#define | UI2C_PROTCTL_TOCNT_Pos (16)
#define | UI2C_PROTCTL_TOCNT_Msk (0x3fful << UI2C_PROTCTL_TOCNT_Pos)
#define | UI2C_PROTCTL_PROTEN_Pos (31)
#define | UI2C_PROTCTL_PROTEN_Msk (0x1ul << UI2C_PROTCTL_PROTEN_Pos)
#define | UI2C_PROTIEN_TOIEN_Pos (0)
#define | UI2C_PROTIEN_TOIEN_Msk (0x1ul << UI2C_PROTIEN_TOIEN_Pos)
#define | UI2C_PROTIEN_STARIEN_Pos (1)
#define | UI2C_PROTIEN_STARIEN_Msk (0x1ul << UI2C_PROTIEN_STARIEN_Pos)
#define | UI2C_PROTIEN_STORIEN_Pos (2)
#define | UI2C_PROTIEN_STORIEN_Msk (0x1ul << UI2C_PROTIEN_STORIEN_Pos)
#define | UI2C_PROTIEN_NACKIEN_Pos (3)
#define | UI2C_PROTIEN_NACKIEN_Msk (0x1ul << UI2C_PROTIEN_NACKIEN_Pos)
#define | UI2C_PROTIEN_ARBLOIEN_Pos (4)
#define | UI2C_PROTIEN_ARBLOIEN_Msk (0x1ul << UI2C_PROTIEN_ARBLOIEN_Pos)
#define | UI2C_PROTIEN_ERRIEN_Pos (5)
#define | UI2C_PROTIEN_ERRIEN_Msk (0x1ul << UI2C_PROTIEN_ERRIEN_Pos)
#define | UI2C_PROTIEN_ACKIEN_Pos (6)
#define | UI2C_PROTIEN_ACKIEN_Msk (0x1ul << UI2C_PROTIEN_ACKIEN_Pos)
#define | UI2C_PROTSTS_TOIF_Pos (5)
#define | UI2C_PROTSTS_TOIF_Msk (0x1ul << UI2C_PROTSTS_TOIF_Pos)
#define | UI2C_PROTSTS_ONBUSY_Pos (6)
#define | UI2C_PROTSTS_ONBUSY_Msk (0x1ul << UI2C_PROTSTS_ONBUSY_Pos)
#define | UI2C_PROTSTS_STARIF_Pos (8)
#define | UI2C_PROTSTS_STARIF_Msk (0x1ul << UI2C_PROTSTS_STARIF_Pos)
#define | UI2C_PROTSTS_STORIF_Pos (9)
#define | UI2C_PROTSTS_STORIF_Msk (0x1ul << UI2C_PROTSTS_STORIF_Pos)
#define | UI2C_PROTSTS_NACKIF_Pos (10)
#define | UI2C_PROTSTS_NACKIF_Msk (0x1ul << UI2C_PROTSTS_NACKIF_Pos)
#define | UI2C_PROTSTS_ARBLOIF_Pos (11)
#define | UI2C_PROTSTS_ARBLOIF_Msk (0x1ul << UI2C_PROTSTS_ARBLOIF_Pos)
#define | UI2C_PROTSTS_ERRIF_Pos (12)
#define | UI2C_PROTSTS_ERRIF_Msk (0x1ul << UI2C_PROTSTS_ERRIF_Pos)
#define | UI2C_PROTSTS_ACKIF_Pos (13)
#define | UI2C_PROTSTS_ACKIF_Msk (0x1ul << UI2C_PROTSTS_ACKIF_Pos)
#define | UI2C_PROTSTS_SLASEL_Pos (14)
#define | UI2C_PROTSTS_SLASEL_Msk (0x1ul << UI2C_PROTSTS_SLASEL_Pos)
#define | UI2C_PROTSTS_SLAREAD_Pos (15)
#define | UI2C_PROTSTS_SLAREAD_Msk (0x1ul << UI2C_PROTSTS_SLAREAD_Pos)
#define | UI2C_PROTSTS_WKAKDONE_Pos (16)
#define | UI2C_PROTSTS_WKAKDONE_Msk (0x1ul << UI2C_PROTSTS_WKAKDONE_Pos)
#define | UI2C_PROTSTS_WRSTSWK_Pos (17)
#define | UI2C_PROTSTS_WRSTSWK_Msk (0x1ul << UI2C_PROTSTS_WRSTSWK_Pos)
#define | UI2C_PROTSTS_BUSHANG_Pos (18)
#define | UI2C_PROTSTS_BUSHANG_Msk (0x1ul << UI2C_PROTSTS_BUSHANG_Pos)
#define | UI2C_PROTSTS_ERRARBLO_Pos (19)
#define | UI2C_PROTSTS_ERRARBLO_Msk (0x1ul << UI2C_PROTSTS_ERRARBLO_Pos)
#define | UI2C_ADMAT_ADMAT0_Pos (0)
#define | UI2C_ADMAT_ADMAT0_Msk (0x1ul << UI2C_ADMAT_ADMAT0_Pos)
#define | UI2C_ADMAT_ADMAT1_Pos (1)
#define | UI2C_ADMAT_ADMAT1_Msk (0x1ul << UI2C_ADMAT_ADMAT1_Pos)
#define | UI2C_TMCTL_STCTL_Pos (0)
#define | UI2C_TMCTL_STCTL_Msk (0x1fful << UI2C_TMCTL_STCTL_Pos)
#define | UI2C_TMCTL_HTCTL_Pos (16)
#define | UI2C_TMCTL_HTCTL_Msk (0x1fful << UI2C_TMCTL_HTCTL_Pos)

## Detailed Description

UI2C 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 ui2c_reg.h.