mikroSDK Reference Manual

BAUD - LPUART Baud Rate Register

#define LPUART_BAUD_SBR_MASK   (0x1FFFU)
 
#define LPUART_BAUD_SBR_SHIFT   (0U)
 
#define LPUART_BAUD_SBR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBR_SHIFT)) & LPUART_BAUD_SBR_MASK)
 
#define LPUART_BAUD_SBNS_MASK   (0x2000U)
 
#define LPUART_BAUD_SBNS_SHIFT   (13U)
 
#define LPUART_BAUD_SBNS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBNS_SHIFT)) & LPUART_BAUD_SBNS_MASK)
 
#define LPUART_BAUD_RXEDGIE_MASK   (0x4000U)
 
#define LPUART_BAUD_RXEDGIE_SHIFT   (14U)
 
#define LPUART_BAUD_RXEDGIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RXEDGIE_SHIFT)) & LPUART_BAUD_RXEDGIE_MASK)
 
#define LPUART_BAUD_LBKDIE_MASK   (0x8000U)
 
#define LPUART_BAUD_LBKDIE_SHIFT   (15U)
 
#define LPUART_BAUD_LBKDIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_LBKDIE_SHIFT)) & LPUART_BAUD_LBKDIE_MASK)
 
#define LPUART_BAUD_RESYNCDIS_MASK   (0x10000U)
 
#define LPUART_BAUD_RESYNCDIS_SHIFT   (16U)
 
#define LPUART_BAUD_RESYNCDIS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RESYNCDIS_SHIFT)) & LPUART_BAUD_RESYNCDIS_MASK)
 
#define LPUART_BAUD_BOTHEDGE_MASK   (0x20000U)
 
#define LPUART_BAUD_BOTHEDGE_SHIFT   (17U)
 
#define LPUART_BAUD_BOTHEDGE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_BOTHEDGE_SHIFT)) & LPUART_BAUD_BOTHEDGE_MASK)
 
#define LPUART_BAUD_MATCFG_MASK   (0xC0000U)
 
#define LPUART_BAUD_MATCFG_SHIFT   (18U)
 
#define LPUART_BAUD_MATCFG(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MATCFG_SHIFT)) & LPUART_BAUD_MATCFG_MASK)
 
#define LPUART_BAUD_RDMAE_MASK   (0x200000U)
 
#define LPUART_BAUD_RDMAE_SHIFT   (21U)
 
#define LPUART_BAUD_RDMAE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RDMAE_SHIFT)) & LPUART_BAUD_RDMAE_MASK)
 
#define LPUART_BAUD_TDMAE_MASK   (0x800000U)
 
#define LPUART_BAUD_TDMAE_SHIFT   (23U)
 
#define LPUART_BAUD_TDMAE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_TDMAE_SHIFT)) & LPUART_BAUD_TDMAE_MASK)
 
#define LPUART_BAUD_OSR_MASK   (0x1F000000U)
 
#define LPUART_BAUD_OSR_SHIFT   (24U)
 
#define LPUART_BAUD_OSR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_OSR_SHIFT)) & LPUART_BAUD_OSR_MASK)
 
#define LPUART_BAUD_M10_MASK   (0x20000000U)
 
#define LPUART_BAUD_M10_SHIFT   (29U)
 
#define LPUART_BAUD_M10(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_M10_SHIFT)) & LPUART_BAUD_M10_MASK)
 
#define LPUART_BAUD_MAEN2_MASK   (0x40000000U)
 
#define LPUART_BAUD_MAEN2_SHIFT   (30U)
 
#define LPUART_BAUD_MAEN2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN2_SHIFT)) & LPUART_BAUD_MAEN2_MASK)
 
#define LPUART_BAUD_MAEN1_MASK   (0x80000000U)
 
#define LPUART_BAUD_MAEN1_SHIFT   (31U)
 
#define LPUART_BAUD_MAEN1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN1_SHIFT)) & LPUART_BAUD_MAEN1_MASK)
 
#define LPUART_BAUD_SBR_MASK   (0x1FFFU)
 
#define LPUART_BAUD_SBR_SHIFT   (0U)
 
#define LPUART_BAUD_SBR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBR_SHIFT)) & LPUART_BAUD_SBR_MASK)
 
#define LPUART_BAUD_SBNS_MASK   (0x2000U)
 
#define LPUART_BAUD_SBNS_SHIFT   (13U)
 
#define LPUART_BAUD_SBNS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBNS_SHIFT)) & LPUART_BAUD_SBNS_MASK)
 
#define LPUART_BAUD_RXEDGIE_MASK   (0x4000U)
 
#define LPUART_BAUD_RXEDGIE_SHIFT   (14U)
 
#define LPUART_BAUD_RXEDGIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RXEDGIE_SHIFT)) & LPUART_BAUD_RXEDGIE_MASK)
 
#define LPUART_BAUD_LBKDIE_MASK   (0x8000U)
 
#define LPUART_BAUD_LBKDIE_SHIFT   (15U)
 
#define LPUART_BAUD_LBKDIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_LBKDIE_SHIFT)) & LPUART_BAUD_LBKDIE_MASK)
 
#define LPUART_BAUD_RESYNCDIS_MASK   (0x10000U)
 
#define LPUART_BAUD_RESYNCDIS_SHIFT   (16U)
 
#define LPUART_BAUD_RESYNCDIS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RESYNCDIS_SHIFT)) & LPUART_BAUD_RESYNCDIS_MASK)
 
#define LPUART_BAUD_BOTHEDGE_MASK   (0x20000U)
 
#define LPUART_BAUD_BOTHEDGE_SHIFT   (17U)
 
#define LPUART_BAUD_BOTHEDGE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_BOTHEDGE_SHIFT)) & LPUART_BAUD_BOTHEDGE_MASK)
 
#define LPUART_BAUD_MATCFG_MASK   (0xC0000U)
 
#define LPUART_BAUD_MATCFG_SHIFT   (18U)
 
#define LPUART_BAUD_MATCFG(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MATCFG_SHIFT)) & LPUART_BAUD_MATCFG_MASK)
 
#define LPUART_BAUD_RDMAE_MASK   (0x200000U)
 
#define LPUART_BAUD_RDMAE_SHIFT   (21U)
 
#define LPUART_BAUD_RDMAE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RDMAE_SHIFT)) & LPUART_BAUD_RDMAE_MASK)
 
#define LPUART_BAUD_TDMAE_MASK   (0x800000U)
 
#define LPUART_BAUD_TDMAE_SHIFT   (23U)
 
#define LPUART_BAUD_TDMAE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_TDMAE_SHIFT)) & LPUART_BAUD_TDMAE_MASK)
 
#define LPUART_BAUD_OSR_MASK   (0x1F000000U)
 
#define LPUART_BAUD_OSR_SHIFT   (24U)
 
#define LPUART_BAUD_OSR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_OSR_SHIFT)) & LPUART_BAUD_OSR_MASK)
 
#define LPUART_BAUD_M10_MASK   (0x20000000U)
 
#define LPUART_BAUD_M10_SHIFT   (29U)
 
#define LPUART_BAUD_M10(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_M10_SHIFT)) & LPUART_BAUD_M10_MASK)
 
#define LPUART_BAUD_MAEN2_MASK   (0x40000000U)
 
#define LPUART_BAUD_MAEN2_SHIFT   (30U)
 
#define LPUART_BAUD_MAEN2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN2_SHIFT)) & LPUART_BAUD_MAEN2_MASK)
 
#define LPUART_BAUD_MAEN1_MASK   (0x80000000U)
 
#define LPUART_BAUD_MAEN1_SHIFT   (31U)
 
#define LPUART_BAUD_MAEN1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN1_SHIFT)) & LPUART_BAUD_MAEN1_MASK)
 

STAT - LPUART Status Register

#define LPUART_STAT_MA2F_MASK   (0x4000U)
 
#define LPUART_STAT_MA2F_SHIFT   (14U)
 
#define LPUART_STAT_MA2F(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA2F_SHIFT)) & LPUART_STAT_MA2F_MASK)
 
#define LPUART_STAT_MA1F_MASK   (0x8000U)
 
#define LPUART_STAT_MA1F_SHIFT   (15U)
 
#define LPUART_STAT_MA1F(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA1F_SHIFT)) & LPUART_STAT_MA1F_MASK)
 
#define LPUART_STAT_PF_MASK   (0x10000U)
 
#define LPUART_STAT_PF_SHIFT   (16U)
 
#define LPUART_STAT_PF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_PF_SHIFT)) & LPUART_STAT_PF_MASK)
 
#define LPUART_STAT_FE_MASK   (0x20000U)
 
#define LPUART_STAT_FE_SHIFT   (17U)
 
#define LPUART_STAT_FE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_FE_SHIFT)) & LPUART_STAT_FE_MASK)
 
#define LPUART_STAT_NF_MASK   (0x40000U)
 
#define LPUART_STAT_NF_SHIFT   (18U)
 
#define LPUART_STAT_NF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_NF_SHIFT)) & LPUART_STAT_NF_MASK)
 
#define LPUART_STAT_OR_MASK   (0x80000U)
 
#define LPUART_STAT_OR_SHIFT   (19U)
 
#define LPUART_STAT_OR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_OR_SHIFT)) & LPUART_STAT_OR_MASK)
 
#define LPUART_STAT_IDLE_MASK   (0x100000U)
 
#define LPUART_STAT_IDLE_SHIFT   (20U)
 
#define LPUART_STAT_IDLE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_IDLE_SHIFT)) & LPUART_STAT_IDLE_MASK)
 
#define LPUART_STAT_RDRF_MASK   (0x200000U)
 
#define LPUART_STAT_RDRF_SHIFT   (21U)
 
#define LPUART_STAT_RDRF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RDRF_SHIFT)) & LPUART_STAT_RDRF_MASK)
 
#define LPUART_STAT_TC_MASK   (0x400000U)
 
#define LPUART_STAT_TC_SHIFT   (22U)
 
#define LPUART_STAT_TC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TC_SHIFT)) & LPUART_STAT_TC_MASK)
 
#define LPUART_STAT_TDRE_MASK   (0x800000U)
 
#define LPUART_STAT_TDRE_SHIFT   (23U)
 
#define LPUART_STAT_TDRE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TDRE_SHIFT)) & LPUART_STAT_TDRE_MASK)
 
#define LPUART_STAT_RAF_MASK   (0x1000000U)
 
#define LPUART_STAT_RAF_SHIFT   (24U)
 
#define LPUART_STAT_RAF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RAF_SHIFT)) & LPUART_STAT_RAF_MASK)
 
#define LPUART_STAT_LBKDE_MASK   (0x2000000U)
 
#define LPUART_STAT_LBKDE_SHIFT   (25U)
 
#define LPUART_STAT_LBKDE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDE_SHIFT)) & LPUART_STAT_LBKDE_MASK)
 
#define LPUART_STAT_BRK13_MASK   (0x4000000U)
 
#define LPUART_STAT_BRK13_SHIFT   (26U)
 
#define LPUART_STAT_BRK13(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_BRK13_SHIFT)) & LPUART_STAT_BRK13_MASK)
 
#define LPUART_STAT_RWUID_MASK   (0x8000000U)
 
#define LPUART_STAT_RWUID_SHIFT   (27U)
 
#define LPUART_STAT_RWUID(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RWUID_SHIFT)) & LPUART_STAT_RWUID_MASK)
 
#define LPUART_STAT_RXINV_MASK   (0x10000000U)
 
#define LPUART_STAT_RXINV_SHIFT   (28U)
 
#define LPUART_STAT_RXINV(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXINV_SHIFT)) & LPUART_STAT_RXINV_MASK)
 
#define LPUART_STAT_MSBF_MASK   (0x20000000U)
 
#define LPUART_STAT_MSBF_SHIFT   (29U)
 
#define LPUART_STAT_MSBF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MSBF_SHIFT)) & LPUART_STAT_MSBF_MASK)
 
#define LPUART_STAT_RXEDGIF_MASK   (0x40000000U)
 
#define LPUART_STAT_RXEDGIF_SHIFT   (30U)
 
#define LPUART_STAT_RXEDGIF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXEDGIF_SHIFT)) & LPUART_STAT_RXEDGIF_MASK)
 
#define LPUART_STAT_LBKDIF_MASK   (0x80000000U)
 
#define LPUART_STAT_LBKDIF_SHIFT   (31U)
 
#define LPUART_STAT_LBKDIF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDIF_SHIFT)) & LPUART_STAT_LBKDIF_MASK)
 
#define LPUART_STAT_MA2F_MASK   (0x4000U)
 
#define LPUART_STAT_MA2F_SHIFT   (14U)
 
#define LPUART_STAT_MA2F(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA2F_SHIFT)) & LPUART_STAT_MA2F_MASK)
 
#define LPUART_STAT_MA1F_MASK   (0x8000U)
 
#define LPUART_STAT_MA1F_SHIFT   (15U)
 
#define LPUART_STAT_MA1F(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA1F_SHIFT)) & LPUART_STAT_MA1F_MASK)
 
#define LPUART_STAT_PF_MASK   (0x10000U)
 
#define LPUART_STAT_PF_SHIFT   (16U)
 
#define LPUART_STAT_PF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_PF_SHIFT)) & LPUART_STAT_PF_MASK)
 
#define LPUART_STAT_FE_MASK   (0x20000U)
 
#define LPUART_STAT_FE_SHIFT   (17U)
 
#define LPUART_STAT_FE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_FE_SHIFT)) & LPUART_STAT_FE_MASK)
 
#define LPUART_STAT_NF_MASK   (0x40000U)
 
#define LPUART_STAT_NF_SHIFT   (18U)
 
#define LPUART_STAT_NF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_NF_SHIFT)) & LPUART_STAT_NF_MASK)
 
#define LPUART_STAT_OR_MASK   (0x80000U)
 
#define LPUART_STAT_OR_SHIFT   (19U)
 
#define LPUART_STAT_OR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_OR_SHIFT)) & LPUART_STAT_OR_MASK)
 
#define LPUART_STAT_IDLE_MASK   (0x100000U)
 
#define LPUART_STAT_IDLE_SHIFT   (20U)
 
#define LPUART_STAT_IDLE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_IDLE_SHIFT)) & LPUART_STAT_IDLE_MASK)
 
#define LPUART_STAT_RDRF_MASK   (0x200000U)
 
#define LPUART_STAT_RDRF_SHIFT   (21U)
 
#define LPUART_STAT_RDRF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RDRF_SHIFT)) & LPUART_STAT_RDRF_MASK)
 
#define LPUART_STAT_TC_MASK   (0x400000U)
 
#define LPUART_STAT_TC_SHIFT   (22U)
 
#define LPUART_STAT_TC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TC_SHIFT)) & LPUART_STAT_TC_MASK)
 
#define LPUART_STAT_TDRE_MASK   (0x800000U)
 
#define LPUART_STAT_TDRE_SHIFT   (23U)
 
#define LPUART_STAT_TDRE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TDRE_SHIFT)) & LPUART_STAT_TDRE_MASK)
 
#define LPUART_STAT_RAF_MASK   (0x1000000U)
 
#define LPUART_STAT_RAF_SHIFT   (24U)
 
#define LPUART_STAT_RAF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RAF_SHIFT)) & LPUART_STAT_RAF_MASK)
 
#define LPUART_STAT_LBKDE_MASK   (0x2000000U)
 
#define LPUART_STAT_LBKDE_SHIFT   (25U)
 
#define LPUART_STAT_LBKDE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDE_SHIFT)) & LPUART_STAT_LBKDE_MASK)
 
#define LPUART_STAT_BRK13_MASK   (0x4000000U)
 
#define LPUART_STAT_BRK13_SHIFT   (26U)
 
#define LPUART_STAT_BRK13(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_BRK13_SHIFT)) & LPUART_STAT_BRK13_MASK)
 
#define LPUART_STAT_RWUID_MASK   (0x8000000U)
 
#define LPUART_STAT_RWUID_SHIFT   (27U)
 
#define LPUART_STAT_RWUID(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RWUID_SHIFT)) & LPUART_STAT_RWUID_MASK)
 
#define LPUART_STAT_RXINV_MASK   (0x10000000U)
 
#define LPUART_STAT_RXINV_SHIFT   (28U)
 
#define LPUART_STAT_RXINV(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXINV_SHIFT)) & LPUART_STAT_RXINV_MASK)
 
#define LPUART_STAT_MSBF_MASK   (0x20000000U)
 
#define LPUART_STAT_MSBF_SHIFT   (29U)
 
#define LPUART_STAT_MSBF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MSBF_SHIFT)) & LPUART_STAT_MSBF_MASK)
 
#define LPUART_STAT_RXEDGIF_MASK   (0x40000000U)
 
#define LPUART_STAT_RXEDGIF_SHIFT   (30U)
 
#define LPUART_STAT_RXEDGIF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXEDGIF_SHIFT)) & LPUART_STAT_RXEDGIF_MASK)
 
#define LPUART_STAT_LBKDIF_MASK   (0x80000000U)
 
#define LPUART_STAT_LBKDIF_SHIFT   (31U)
 
#define LPUART_STAT_LBKDIF(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDIF_SHIFT)) & LPUART_STAT_LBKDIF_MASK)
 

CTRL - LPUART Control Register

#define LPUART_CTRL_PT_MASK   (0x1U)
 
#define LPUART_CTRL_PT_SHIFT   (0U)
 
#define LPUART_CTRL_PT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PT_SHIFT)) & LPUART_CTRL_PT_MASK)
 
#define LPUART_CTRL_PE_MASK   (0x2U)
 
#define LPUART_CTRL_PE_SHIFT   (1U)
 
#define LPUART_CTRL_PE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PE_SHIFT)) & LPUART_CTRL_PE_MASK)
 
#define LPUART_CTRL_ILT_MASK   (0x4U)
 
#define LPUART_CTRL_ILT_SHIFT   (2U)
 
#define LPUART_CTRL_ILT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILT_SHIFT)) & LPUART_CTRL_ILT_MASK)
 
#define LPUART_CTRL_WAKE_MASK   (0x8U)
 
#define LPUART_CTRL_WAKE_SHIFT   (3U)
 
#define LPUART_CTRL_WAKE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_WAKE_SHIFT)) & LPUART_CTRL_WAKE_MASK)
 
#define LPUART_CTRL_M_MASK   (0x10U)
 
#define LPUART_CTRL_M_SHIFT   (4U)
 
#define LPUART_CTRL_M(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M_SHIFT)) & LPUART_CTRL_M_MASK)
 
#define LPUART_CTRL_RSRC_MASK   (0x20U)
 
#define LPUART_CTRL_RSRC_SHIFT   (5U)
 
#define LPUART_CTRL_RSRC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RSRC_SHIFT)) & LPUART_CTRL_RSRC_MASK)
 
#define LPUART_CTRL_DOZEEN_MASK   (0x40U)
 
#define LPUART_CTRL_DOZEEN_SHIFT   (6U)
 
#define LPUART_CTRL_DOZEEN(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_DOZEEN_SHIFT)) & LPUART_CTRL_DOZEEN_MASK)
 
#define LPUART_CTRL_LOOPS_MASK   (0x80U)
 
#define LPUART_CTRL_LOOPS_SHIFT   (7U)
 
#define LPUART_CTRL_LOOPS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_LOOPS_SHIFT)) & LPUART_CTRL_LOOPS_MASK)
 
#define LPUART_CTRL_IDLECFG_MASK   (0x700U)
 
#define LPUART_CTRL_IDLECFG_SHIFT   (8U)
 
#define LPUART_CTRL_IDLECFG(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_IDLECFG_SHIFT)) & LPUART_CTRL_IDLECFG_MASK)
 
#define LPUART_CTRL_MA2IE_MASK   (0x4000U)
 
#define LPUART_CTRL_MA2IE_SHIFT   (14U)
 
#define LPUART_CTRL_MA2IE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA2IE_SHIFT)) & LPUART_CTRL_MA2IE_MASK)
 
#define LPUART_CTRL_MA1IE_MASK   (0x8000U)
 
#define LPUART_CTRL_MA1IE_SHIFT   (15U)
 
#define LPUART_CTRL_MA1IE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA1IE_SHIFT)) & LPUART_CTRL_MA1IE_MASK)
 
#define LPUART_CTRL_SBK_MASK   (0x10000U)
 
#define LPUART_CTRL_SBK_SHIFT   (16U)
 
#define LPUART_CTRL_SBK(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_SBK_SHIFT)) & LPUART_CTRL_SBK_MASK)
 
#define LPUART_CTRL_RWU_MASK   (0x20000U)
 
#define LPUART_CTRL_RWU_SHIFT   (17U)
 
#define LPUART_CTRL_RWU(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RWU_SHIFT)) & LPUART_CTRL_RWU_MASK)
 
#define LPUART_CTRL_RE_MASK   (0x40000U)
 
#define LPUART_CTRL_RE_SHIFT   (18U)
 
#define LPUART_CTRL_RE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RE_SHIFT)) & LPUART_CTRL_RE_MASK)
 
#define LPUART_CTRL_TE_MASK   (0x80000U)
 
#define LPUART_CTRL_TE_SHIFT   (19U)
 
#define LPUART_CTRL_TE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TE_SHIFT)) & LPUART_CTRL_TE_MASK)
 
#define LPUART_CTRL_ILIE_MASK   (0x100000U)
 
#define LPUART_CTRL_ILIE_SHIFT   (20U)
 
#define LPUART_CTRL_ILIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILIE_SHIFT)) & LPUART_CTRL_ILIE_MASK)
 
#define LPUART_CTRL_RIE_MASK   (0x200000U)
 
#define LPUART_CTRL_RIE_SHIFT   (21U)
 
#define LPUART_CTRL_RIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RIE_SHIFT)) & LPUART_CTRL_RIE_MASK)
 
#define LPUART_CTRL_TCIE_MASK   (0x400000U)
 
#define LPUART_CTRL_TCIE_SHIFT   (22U)
 
#define LPUART_CTRL_TCIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TCIE_SHIFT)) & LPUART_CTRL_TCIE_MASK)
 
#define LPUART_CTRL_TIE_MASK   (0x800000U)
 
#define LPUART_CTRL_TIE_SHIFT   (23U)
 
#define LPUART_CTRL_TIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TIE_SHIFT)) & LPUART_CTRL_TIE_MASK)
 
#define LPUART_CTRL_PEIE_MASK   (0x1000000U)
 
#define LPUART_CTRL_PEIE_SHIFT   (24U)
 
#define LPUART_CTRL_PEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PEIE_SHIFT)) & LPUART_CTRL_PEIE_MASK)
 
#define LPUART_CTRL_FEIE_MASK   (0x2000000U)
 
#define LPUART_CTRL_FEIE_SHIFT   (25U)
 
#define LPUART_CTRL_FEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_FEIE_SHIFT)) & LPUART_CTRL_FEIE_MASK)
 
#define LPUART_CTRL_NEIE_MASK   (0x4000000U)
 
#define LPUART_CTRL_NEIE_SHIFT   (26U)
 
#define LPUART_CTRL_NEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_NEIE_SHIFT)) & LPUART_CTRL_NEIE_MASK)
 
#define LPUART_CTRL_ORIE_MASK   (0x8000000U)
 
#define LPUART_CTRL_ORIE_SHIFT   (27U)
 
#define LPUART_CTRL_ORIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ORIE_SHIFT)) & LPUART_CTRL_ORIE_MASK)
 
#define LPUART_CTRL_TXINV_MASK   (0x10000000U)
 
#define LPUART_CTRL_TXINV_SHIFT   (28U)
 
#define LPUART_CTRL_TXINV(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXINV_SHIFT)) & LPUART_CTRL_TXINV_MASK)
 
#define LPUART_CTRL_TXDIR_MASK   (0x20000000U)
 
#define LPUART_CTRL_TXDIR_SHIFT   (29U)
 
#define LPUART_CTRL_TXDIR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXDIR_SHIFT)) & LPUART_CTRL_TXDIR_MASK)
 
#define LPUART_CTRL_R9T8_MASK   (0x40000000U)
 
#define LPUART_CTRL_R9T8_SHIFT   (30U)
 
#define LPUART_CTRL_R9T8(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R9T8_SHIFT)) & LPUART_CTRL_R9T8_MASK)
 
#define LPUART_CTRL_R8T9_MASK   (0x80000000U)
 
#define LPUART_CTRL_R8T9_SHIFT   (31U)
 
#define LPUART_CTRL_R8T9(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R8T9_SHIFT)) & LPUART_CTRL_R8T9_MASK)
 
#define LPUART_CTRL_PT_MASK   (0x1U)
 
#define LPUART_CTRL_PT_SHIFT   (0U)
 
#define LPUART_CTRL_PT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PT_SHIFT)) & LPUART_CTRL_PT_MASK)
 
#define LPUART_CTRL_PE_MASK   (0x2U)
 
#define LPUART_CTRL_PE_SHIFT   (1U)
 
#define LPUART_CTRL_PE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PE_SHIFT)) & LPUART_CTRL_PE_MASK)
 
#define LPUART_CTRL_ILT_MASK   (0x4U)
 
#define LPUART_CTRL_ILT_SHIFT   (2U)
 
#define LPUART_CTRL_ILT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILT_SHIFT)) & LPUART_CTRL_ILT_MASK)
 
#define LPUART_CTRL_WAKE_MASK   (0x8U)
 
#define LPUART_CTRL_WAKE_SHIFT   (3U)
 
#define LPUART_CTRL_WAKE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_WAKE_SHIFT)) & LPUART_CTRL_WAKE_MASK)
 
#define LPUART_CTRL_M_MASK   (0x10U)
 
#define LPUART_CTRL_M_SHIFT   (4U)
 
#define LPUART_CTRL_M(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M_SHIFT)) & LPUART_CTRL_M_MASK)
 
#define LPUART_CTRL_RSRC_MASK   (0x20U)
 
#define LPUART_CTRL_RSRC_SHIFT   (5U)
 
#define LPUART_CTRL_RSRC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RSRC_SHIFT)) & LPUART_CTRL_RSRC_MASK)
 
#define LPUART_CTRL_DOZEEN_MASK   (0x40U)
 
#define LPUART_CTRL_DOZEEN_SHIFT   (6U)
 
#define LPUART_CTRL_DOZEEN(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_DOZEEN_SHIFT)) & LPUART_CTRL_DOZEEN_MASK)
 
#define LPUART_CTRL_LOOPS_MASK   (0x80U)
 
#define LPUART_CTRL_LOOPS_SHIFT   (7U)
 
#define LPUART_CTRL_LOOPS(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_LOOPS_SHIFT)) & LPUART_CTRL_LOOPS_MASK)
 
#define LPUART_CTRL_IDLECFG_MASK   (0x700U)
 
#define LPUART_CTRL_IDLECFG_SHIFT   (8U)
 
#define LPUART_CTRL_IDLECFG(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_IDLECFG_SHIFT)) & LPUART_CTRL_IDLECFG_MASK)
 
#define LPUART_CTRL_MA2IE_MASK   (0x4000U)
 
#define LPUART_CTRL_MA2IE_SHIFT   (14U)
 
#define LPUART_CTRL_MA2IE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA2IE_SHIFT)) & LPUART_CTRL_MA2IE_MASK)
 
#define LPUART_CTRL_MA1IE_MASK   (0x8000U)
 
#define LPUART_CTRL_MA1IE_SHIFT   (15U)
 
#define LPUART_CTRL_MA1IE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA1IE_SHIFT)) & LPUART_CTRL_MA1IE_MASK)
 
#define LPUART_CTRL_SBK_MASK   (0x10000U)
 
#define LPUART_CTRL_SBK_SHIFT   (16U)
 
#define LPUART_CTRL_SBK(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_SBK_SHIFT)) & LPUART_CTRL_SBK_MASK)
 
#define LPUART_CTRL_RWU_MASK   (0x20000U)
 
#define LPUART_CTRL_RWU_SHIFT   (17U)
 
#define LPUART_CTRL_RWU(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RWU_SHIFT)) & LPUART_CTRL_RWU_MASK)
 
#define LPUART_CTRL_RE_MASK   (0x40000U)
 
#define LPUART_CTRL_RE_SHIFT   (18U)
 
#define LPUART_CTRL_RE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RE_SHIFT)) & LPUART_CTRL_RE_MASK)
 
#define LPUART_CTRL_TE_MASK   (0x80000U)
 
#define LPUART_CTRL_TE_SHIFT   (19U)
 
#define LPUART_CTRL_TE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TE_SHIFT)) & LPUART_CTRL_TE_MASK)
 
#define LPUART_CTRL_ILIE_MASK   (0x100000U)
 
#define LPUART_CTRL_ILIE_SHIFT   (20U)
 
#define LPUART_CTRL_ILIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILIE_SHIFT)) & LPUART_CTRL_ILIE_MASK)
 
#define LPUART_CTRL_RIE_MASK   (0x200000U)
 
#define LPUART_CTRL_RIE_SHIFT   (21U)
 
#define LPUART_CTRL_RIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RIE_SHIFT)) & LPUART_CTRL_RIE_MASK)
 
#define LPUART_CTRL_TCIE_MASK   (0x400000U)
 
#define LPUART_CTRL_TCIE_SHIFT   (22U)
 
#define LPUART_CTRL_TCIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TCIE_SHIFT)) & LPUART_CTRL_TCIE_MASK)
 
#define LPUART_CTRL_TIE_MASK   (0x800000U)
 
#define LPUART_CTRL_TIE_SHIFT   (23U)
 
#define LPUART_CTRL_TIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TIE_SHIFT)) & LPUART_CTRL_TIE_MASK)
 
#define LPUART_CTRL_PEIE_MASK   (0x1000000U)
 
#define LPUART_CTRL_PEIE_SHIFT   (24U)
 
#define LPUART_CTRL_PEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PEIE_SHIFT)) & LPUART_CTRL_PEIE_MASK)
 
#define LPUART_CTRL_FEIE_MASK   (0x2000000U)
 
#define LPUART_CTRL_FEIE_SHIFT   (25U)
 
#define LPUART_CTRL_FEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_FEIE_SHIFT)) & LPUART_CTRL_FEIE_MASK)
 
#define LPUART_CTRL_NEIE_MASK   (0x4000000U)
 
#define LPUART_CTRL_NEIE_SHIFT   (26U)
 
#define LPUART_CTRL_NEIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_NEIE_SHIFT)) & LPUART_CTRL_NEIE_MASK)
 
#define LPUART_CTRL_ORIE_MASK   (0x8000000U)
 
#define LPUART_CTRL_ORIE_SHIFT   (27U)
 
#define LPUART_CTRL_ORIE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ORIE_SHIFT)) & LPUART_CTRL_ORIE_MASK)
 
#define LPUART_CTRL_TXINV_MASK   (0x10000000U)
 
#define LPUART_CTRL_TXINV_SHIFT   (28U)
 
#define LPUART_CTRL_TXINV(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXINV_SHIFT)) & LPUART_CTRL_TXINV_MASK)
 
#define LPUART_CTRL_TXDIR_MASK   (0x20000000U)
 
#define LPUART_CTRL_TXDIR_SHIFT   (29U)
 
#define LPUART_CTRL_TXDIR(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXDIR_SHIFT)) & LPUART_CTRL_TXDIR_MASK)
 
#define LPUART_CTRL_R9T8_MASK   (0x40000000U)
 
#define LPUART_CTRL_R9T8_SHIFT   (30U)
 
#define LPUART_CTRL_R9T8(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R9T8_SHIFT)) & LPUART_CTRL_R9T8_MASK)
 
#define LPUART_CTRL_R8T9_MASK   (0x80000000U)
 
#define LPUART_CTRL_R8T9_SHIFT   (31U)
 
#define LPUART_CTRL_R8T9(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_R8T9_SHIFT)) & LPUART_CTRL_R8T9_MASK)
 

DATA - LPUART Data Register

#define LPUART_DATA_R0T0_MASK   (0x1U)
 
#define LPUART_DATA_R0T0_SHIFT   (0U)
 
#define LPUART_DATA_R0T0(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R0T0_SHIFT)) & LPUART_DATA_R0T0_MASK)
 
#define LPUART_DATA_R1T1_MASK   (0x2U)
 
#define LPUART_DATA_R1T1_SHIFT   (1U)
 
#define LPUART_DATA_R1T1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R1T1_SHIFT)) & LPUART_DATA_R1T1_MASK)
 
#define LPUART_DATA_R2T2_MASK   (0x4U)
 
#define LPUART_DATA_R2T2_SHIFT   (2U)
 
#define LPUART_DATA_R2T2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R2T2_SHIFT)) & LPUART_DATA_R2T2_MASK)
 
#define LPUART_DATA_R3T3_MASK   (0x8U)
 
#define LPUART_DATA_R3T3_SHIFT   (3U)
 
#define LPUART_DATA_R3T3(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R3T3_SHIFT)) & LPUART_DATA_R3T3_MASK)
 
#define LPUART_DATA_R4T4_MASK   (0x10U)
 
#define LPUART_DATA_R4T4_SHIFT   (4U)
 
#define LPUART_DATA_R4T4(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R4T4_SHIFT)) & LPUART_DATA_R4T4_MASK)
 
#define LPUART_DATA_R5T5_MASK   (0x20U)
 
#define LPUART_DATA_R5T5_SHIFT   (5U)
 
#define LPUART_DATA_R5T5(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R5T5_SHIFT)) & LPUART_DATA_R5T5_MASK)
 
#define LPUART_DATA_R6T6_MASK   (0x40U)
 
#define LPUART_DATA_R6T6_SHIFT   (6U)
 
#define LPUART_DATA_R6T6(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R6T6_SHIFT)) & LPUART_DATA_R6T6_MASK)
 
#define LPUART_DATA_R7T7_MASK   (0x80U)
 
#define LPUART_DATA_R7T7_SHIFT   (7U)
 
#define LPUART_DATA_R7T7(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R7T7_SHIFT)) & LPUART_DATA_R7T7_MASK)
 
#define LPUART_DATA_R8T8_MASK   (0x100U)
 
#define LPUART_DATA_R8T8_SHIFT   (8U)
 
#define LPUART_DATA_R8T8(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R8T8_SHIFT)) & LPUART_DATA_R8T8_MASK)
 
#define LPUART_DATA_R9T9_MASK   (0x200U)
 
#define LPUART_DATA_R9T9_SHIFT   (9U)
 
#define LPUART_DATA_R9T9(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R9T9_SHIFT)) & LPUART_DATA_R9T9_MASK)
 
#define LPUART_DATA_IDLINE_MASK   (0x800U)
 
#define LPUART_DATA_IDLINE_SHIFT   (11U)
 
#define LPUART_DATA_IDLINE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_IDLINE_SHIFT)) & LPUART_DATA_IDLINE_MASK)
 
#define LPUART_DATA_RXEMPT_MASK   (0x1000U)
 
#define LPUART_DATA_RXEMPT_SHIFT   (12U)
 
#define LPUART_DATA_RXEMPT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_RXEMPT_SHIFT)) & LPUART_DATA_RXEMPT_MASK)
 
#define LPUART_DATA_FRETSC_MASK   (0x2000U)
 
#define LPUART_DATA_FRETSC_SHIFT   (13U)
 
#define LPUART_DATA_FRETSC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_FRETSC_SHIFT)) & LPUART_DATA_FRETSC_MASK)
 
#define LPUART_DATA_PARITYE_MASK   (0x4000U)
 
#define LPUART_DATA_PARITYE_SHIFT   (14U)
 
#define LPUART_DATA_PARITYE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_PARITYE_SHIFT)) & LPUART_DATA_PARITYE_MASK)
 
#define LPUART_DATA_NOISY_MASK   (0x8000U)
 
#define LPUART_DATA_NOISY_SHIFT   (15U)
 
#define LPUART_DATA_NOISY(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_NOISY_SHIFT)) & LPUART_DATA_NOISY_MASK)
 
#define LPUART_DATA_R0T0_MASK   (0x1U)
 
#define LPUART_DATA_R0T0_SHIFT   (0U)
 
#define LPUART_DATA_R0T0(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R0T0_SHIFT)) & LPUART_DATA_R0T0_MASK)
 
#define LPUART_DATA_R1T1_MASK   (0x2U)
 
#define LPUART_DATA_R1T1_SHIFT   (1U)
 
#define LPUART_DATA_R1T1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R1T1_SHIFT)) & LPUART_DATA_R1T1_MASK)
 
#define LPUART_DATA_R2T2_MASK   (0x4U)
 
#define LPUART_DATA_R2T2_SHIFT   (2U)
 
#define LPUART_DATA_R2T2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R2T2_SHIFT)) & LPUART_DATA_R2T2_MASK)
 
#define LPUART_DATA_R3T3_MASK   (0x8U)
 
#define LPUART_DATA_R3T3_SHIFT   (3U)
 
#define LPUART_DATA_R3T3(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R3T3_SHIFT)) & LPUART_DATA_R3T3_MASK)
 
#define LPUART_DATA_R4T4_MASK   (0x10U)
 
#define LPUART_DATA_R4T4_SHIFT   (4U)
 
#define LPUART_DATA_R4T4(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R4T4_SHIFT)) & LPUART_DATA_R4T4_MASK)
 
#define LPUART_DATA_R5T5_MASK   (0x20U)
 
#define LPUART_DATA_R5T5_SHIFT   (5U)
 
#define LPUART_DATA_R5T5(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R5T5_SHIFT)) & LPUART_DATA_R5T5_MASK)
 
#define LPUART_DATA_R6T6_MASK   (0x40U)
 
#define LPUART_DATA_R6T6_SHIFT   (6U)
 
#define LPUART_DATA_R6T6(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R6T6_SHIFT)) & LPUART_DATA_R6T6_MASK)
 
#define LPUART_DATA_R7T7_MASK   (0x80U)
 
#define LPUART_DATA_R7T7_SHIFT   (7U)
 
#define LPUART_DATA_R7T7(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R7T7_SHIFT)) & LPUART_DATA_R7T7_MASK)
 
#define LPUART_DATA_R8T8_MASK   (0x100U)
 
#define LPUART_DATA_R8T8_SHIFT   (8U)
 
#define LPUART_DATA_R8T8(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R8T8_SHIFT)) & LPUART_DATA_R8T8_MASK)
 
#define LPUART_DATA_R9T9_MASK   (0x200U)
 
#define LPUART_DATA_R9T9_SHIFT   (9U)
 
#define LPUART_DATA_R9T9(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_R9T9_SHIFT)) & LPUART_DATA_R9T9_MASK)
 
#define LPUART_DATA_IDLINE_MASK   (0x800U)
 
#define LPUART_DATA_IDLINE_SHIFT   (11U)
 
#define LPUART_DATA_IDLINE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_IDLINE_SHIFT)) & LPUART_DATA_IDLINE_MASK)
 
#define LPUART_DATA_RXEMPT_MASK   (0x1000U)
 
#define LPUART_DATA_RXEMPT_SHIFT   (12U)
 
#define LPUART_DATA_RXEMPT(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_RXEMPT_SHIFT)) & LPUART_DATA_RXEMPT_MASK)
 
#define LPUART_DATA_FRETSC_MASK   (0x2000U)
 
#define LPUART_DATA_FRETSC_SHIFT   (13U)
 
#define LPUART_DATA_FRETSC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_FRETSC_SHIFT)) & LPUART_DATA_FRETSC_MASK)
 
#define LPUART_DATA_PARITYE_MASK   (0x4000U)
 
#define LPUART_DATA_PARITYE_SHIFT   (14U)
 
#define LPUART_DATA_PARITYE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_PARITYE_SHIFT)) & LPUART_DATA_PARITYE_MASK)
 
#define LPUART_DATA_NOISY_MASK   (0x8000U)
 
#define LPUART_DATA_NOISY_SHIFT   (15U)
 
#define LPUART_DATA_NOISY(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_NOISY_SHIFT)) & LPUART_DATA_NOISY_MASK)
 

MATCH - LPUART Match Address Register

#define LPUART_MATCH_MA1_MASK   (0x3FFU)
 
#define LPUART_MATCH_MA1_SHIFT   (0U)
 
#define LPUART_MATCH_MA1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA1_SHIFT)) & LPUART_MATCH_MA1_MASK)
 
#define LPUART_MATCH_MA2_MASK   (0x3FF0000U)
 
#define LPUART_MATCH_MA2_SHIFT   (16U)
 
#define LPUART_MATCH_MA2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA2_SHIFT)) & LPUART_MATCH_MA2_MASK)
 
#define LPUART_MATCH_MA1_MASK   (0x3FFU)
 
#define LPUART_MATCH_MA1_SHIFT   (0U)
 
#define LPUART_MATCH_MA1(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA1_SHIFT)) & LPUART_MATCH_MA1_MASK)
 
#define LPUART_MATCH_MA2_MASK   (0x3FF0000U)
 
#define LPUART_MATCH_MA2_SHIFT   (16U)
 
#define LPUART_MATCH_MA2(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MATCH_MA2_SHIFT)) & LPUART_MATCH_MA2_MASK)
 

MODIR - LPUART Modem IrDA Register

#define LPUART_MODIR_TXCTSE_MASK   (0x1U)
 
#define LPUART_MODIR_TXCTSE_SHIFT   (0U)
 
#define LPUART_MODIR_TXCTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSE_SHIFT)) & LPUART_MODIR_TXCTSE_MASK)
 
#define LPUART_MODIR_TXRTSE_MASK   (0x2U)
 
#define LPUART_MODIR_TXRTSE_SHIFT   (1U)
 
#define LPUART_MODIR_TXRTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSE_SHIFT)) & LPUART_MODIR_TXRTSE_MASK)
 
#define LPUART_MODIR_TXRTSPOL_MASK   (0x4U)
 
#define LPUART_MODIR_TXRTSPOL_SHIFT   (2U)
 
#define LPUART_MODIR_TXRTSPOL(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSPOL_SHIFT)) & LPUART_MODIR_TXRTSPOL_MASK)
 
#define LPUART_MODIR_RXRTSE_MASK   (0x8U)
 
#define LPUART_MODIR_RXRTSE_SHIFT   (3U)
 
#define LPUART_MODIR_RXRTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RXRTSE_SHIFT)) & LPUART_MODIR_RXRTSE_MASK)
 
#define LPUART_MODIR_TXCTSC_MASK   (0x10U)
 
#define LPUART_MODIR_TXCTSC_SHIFT   (4U)
 
#define LPUART_MODIR_TXCTSC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSC_SHIFT)) & LPUART_MODIR_TXCTSC_MASK)
 
#define LPUART_MODIR_TXCTSSRC_MASK   (0x20U)
 
#define LPUART_MODIR_TXCTSSRC_SHIFT   (5U)
 
#define LPUART_MODIR_TXCTSSRC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSSRC_SHIFT)) & LPUART_MODIR_TXCTSSRC_MASK)
 
#define LPUART_MODIR_TNP_MASK   (0x30000U)
 
#define LPUART_MODIR_TNP_SHIFT   (16U)
 
#define LPUART_MODIR_TNP(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TNP_SHIFT)) & LPUART_MODIR_TNP_MASK)
 
#define LPUART_MODIR_IREN_MASK   (0x40000U)
 
#define LPUART_MODIR_IREN_SHIFT   (18U)
 
#define LPUART_MODIR_IREN(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_IREN_SHIFT)) & LPUART_MODIR_IREN_MASK)
 
#define LPUART_MODIR_TXCTSE_MASK   (0x1U)
 
#define LPUART_MODIR_TXCTSE_SHIFT   (0U)
 
#define LPUART_MODIR_TXCTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSE_SHIFT)) & LPUART_MODIR_TXCTSE_MASK)
 
#define LPUART_MODIR_TXRTSE_MASK   (0x2U)
 
#define LPUART_MODIR_TXRTSE_SHIFT   (1U)
 
#define LPUART_MODIR_TXRTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSE_SHIFT)) & LPUART_MODIR_TXRTSE_MASK)
 
#define LPUART_MODIR_TXRTSPOL_MASK   (0x4U)
 
#define LPUART_MODIR_TXRTSPOL_SHIFT   (2U)
 
#define LPUART_MODIR_TXRTSPOL(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSPOL_SHIFT)) & LPUART_MODIR_TXRTSPOL_MASK)
 
#define LPUART_MODIR_RXRTSE_MASK   (0x8U)
 
#define LPUART_MODIR_RXRTSE_SHIFT   (3U)
 
#define LPUART_MODIR_RXRTSE(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RXRTSE_SHIFT)) & LPUART_MODIR_RXRTSE_MASK)
 
#define LPUART_MODIR_TXCTSC_MASK   (0x10U)
 
#define LPUART_MODIR_TXCTSC_SHIFT   (4U)
 
#define LPUART_MODIR_TXCTSC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSC_SHIFT)) & LPUART_MODIR_TXCTSC_MASK)
 
#define LPUART_MODIR_TXCTSSRC_MASK   (0x20U)
 
#define LPUART_MODIR_TXCTSSRC_SHIFT   (5U)
 
#define LPUART_MODIR_TXCTSSRC(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSSRC_SHIFT)) & LPUART_MODIR_TXCTSSRC_MASK)
 
#define LPUART_MODIR_TNP_MASK   (0x30000U)
 
#define LPUART_MODIR_TNP_SHIFT   (16U)
 
#define LPUART_MODIR_TNP(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TNP_SHIFT)) & LPUART_MODIR_TNP_MASK)
 
#define LPUART_MODIR_IREN_MASK   (0x40000U)
 
#define LPUART_MODIR_IREN_SHIFT   (18U)
 
#define LPUART_MODIR_IREN(x)   (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_IREN_SHIFT)) & LPUART_MODIR_IREN_MASK)
 

Macro Definition Documentation

◆ LPUART_BAUD_BOTHEDGE [1/2]

#define LPUART_BAUD_BOTHEDGE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_BOTHEDGE_SHIFT)) & LPUART_BAUD_BOTHEDGE_MASK)

BOTHEDGE - Both Edge Sampling 0b0..Receiver samples input data using the rising edge of the baud rate clock. 0b1..Receiver samples input data using the rising and falling edge of the baud rate clock.

◆ LPUART_BAUD_BOTHEDGE [2/2]

#define LPUART_BAUD_BOTHEDGE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_BOTHEDGE_SHIFT)) & LPUART_BAUD_BOTHEDGE_MASK)

BOTHEDGE - Both Edge Sampling 0b0..Receiver samples input data using the rising edge of the baud rate clock. 0b1..Receiver samples input data using the rising and falling edge of the baud rate clock.

◆ LPUART_BAUD_LBKDIE [1/2]

#define LPUART_BAUD_LBKDIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_LBKDIE_SHIFT)) & LPUART_BAUD_LBKDIE_MASK)

LBKDIE - LIN Break Detect Interrupt Enable 0b0..Hardware interrupts from LPUART_STAT[LBKDIF] disabled (use polling). 0b1..Hardware interrupt requested when LPUART_STAT[LBKDIF] flag is 1.

◆ LPUART_BAUD_LBKDIE [2/2]

#define LPUART_BAUD_LBKDIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_LBKDIE_SHIFT)) & LPUART_BAUD_LBKDIE_MASK)

LBKDIE - LIN Break Detect Interrupt Enable 0b0..Hardware interrupts from LPUART_STAT[LBKDIF] disabled (use polling). 0b1..Hardware interrupt requested when LPUART_STAT[LBKDIF] flag is 1.

◆ LPUART_BAUD_M10 [1/2]

#define LPUART_BAUD_M10 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_M10_SHIFT)) & LPUART_BAUD_M10_MASK)

M10 - 10-bit Mode select 0b0..Receiver and transmitter use 8-bit or 9-bit data characters. 0b1..Receiver and transmitter use 10-bit data characters.

◆ LPUART_BAUD_M10 [2/2]

#define LPUART_BAUD_M10 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_M10_SHIFT)) & LPUART_BAUD_M10_MASK)

M10 - 10-bit Mode select 0b0..Receiver and transmitter use 8-bit or 9-bit data characters. 0b1..Receiver and transmitter use 10-bit data characters.

◆ LPUART_BAUD_MAEN1 [1/2]

#define LPUART_BAUD_MAEN1 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN1_SHIFT)) & LPUART_BAUD_MAEN1_MASK)

MAEN1 - Match Address Mode Enable 1 0b0..Normal operation. 0b1..Enables automatic address matching or data matching mode for MATCH[MA1].

◆ LPUART_BAUD_MAEN1 [2/2]

#define LPUART_BAUD_MAEN1 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN1_SHIFT)) & LPUART_BAUD_MAEN1_MASK)

MAEN1 - Match Address Mode Enable 1 0b0..Normal operation. 0b1..Enables automatic address matching or data matching mode for MATCH[MA1].

◆ LPUART_BAUD_MAEN2 [1/2]

#define LPUART_BAUD_MAEN2 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN2_SHIFT)) & LPUART_BAUD_MAEN2_MASK)

MAEN2 - Match Address Mode Enable 2 0b0..Normal operation. 0b1..Enables automatic address matching or data matching mode for MATCH[MA2].

◆ LPUART_BAUD_MAEN2 [2/2]

#define LPUART_BAUD_MAEN2 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MAEN2_SHIFT)) & LPUART_BAUD_MAEN2_MASK)

MAEN2 - Match Address Mode Enable 2 0b0..Normal operation. 0b1..Enables automatic address matching or data matching mode for MATCH[MA2].

◆ LPUART_BAUD_MATCFG [1/2]

#define LPUART_BAUD_MATCFG ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MATCFG_SHIFT)) & LPUART_BAUD_MATCFG_MASK)

MATCFG - Match Configuration 0b00..Address Match Wakeup 0b01..Idle Match Wakeup 0b10..Match On and Match Off 0b11..Enables RWU on Data Match and Match On/Off for transmitter CTS input

◆ LPUART_BAUD_MATCFG [2/2]

#define LPUART_BAUD_MATCFG ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_MATCFG_SHIFT)) & LPUART_BAUD_MATCFG_MASK)

MATCFG - Match Configuration 0b00..Address Match Wakeup 0b01..Idle Match Wakeup 0b10..Match On and Match Off 0b11..Enables RWU on Data Match and Match On/Off for transmitter CTS input

◆ LPUART_BAUD_RDMAE [1/2]

#define LPUART_BAUD_RDMAE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RDMAE_SHIFT)) & LPUART_BAUD_RDMAE_MASK)

RDMAE - Receiver Full DMA Enable 0b0..DMA request disabled. 0b1..DMA request enabled.

◆ LPUART_BAUD_RDMAE [2/2]

#define LPUART_BAUD_RDMAE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RDMAE_SHIFT)) & LPUART_BAUD_RDMAE_MASK)

RDMAE - Receiver Full DMA Enable 0b0..DMA request disabled. 0b1..DMA request enabled.

◆ LPUART_BAUD_RESYNCDIS [1/2]

#define LPUART_BAUD_RESYNCDIS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RESYNCDIS_SHIFT)) & LPUART_BAUD_RESYNCDIS_MASK)

RESYNCDIS - Resynchronization Disable 0b0..Resynchronization during received data word is supported 0b1..Resynchronization during received data word is disabled

◆ LPUART_BAUD_RESYNCDIS [2/2]

#define LPUART_BAUD_RESYNCDIS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RESYNCDIS_SHIFT)) & LPUART_BAUD_RESYNCDIS_MASK)

RESYNCDIS - Resynchronization Disable 0b0..Resynchronization during received data word is supported 0b1..Resynchronization during received data word is disabled

◆ LPUART_BAUD_RXEDGIE [1/2]

#define LPUART_BAUD_RXEDGIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RXEDGIE_SHIFT)) & LPUART_BAUD_RXEDGIE_MASK)

RXEDGIE - RX Input Active Edge Interrupt Enable 0b0..Hardware interrupts from LPUART_STAT[RXEDGIF] disabled (use polling). 0b1..Hardware interrupt requested when LPUART_STAT[RXEDGIF] flag is 1.

◆ LPUART_BAUD_RXEDGIE [2/2]

#define LPUART_BAUD_RXEDGIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_RXEDGIE_SHIFT)) & LPUART_BAUD_RXEDGIE_MASK)

RXEDGIE - RX Input Active Edge Interrupt Enable 0b0..Hardware interrupts from LPUART_STAT[RXEDGIF] disabled (use polling). 0b1..Hardware interrupt requested when LPUART_STAT[RXEDGIF] flag is 1.

◆ LPUART_BAUD_SBNS [1/2]

#define LPUART_BAUD_SBNS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBNS_SHIFT)) & LPUART_BAUD_SBNS_MASK)

SBNS - Stop Bit Number Select 0b0..One stop bit. 0b1..Two stop bits.

◆ LPUART_BAUD_SBNS [2/2]

#define LPUART_BAUD_SBNS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_SBNS_SHIFT)) & LPUART_BAUD_SBNS_MASK)

SBNS - Stop Bit Number Select 0b0..One stop bit. 0b1..Two stop bits.

◆ LPUART_BAUD_TDMAE [1/2]

#define LPUART_BAUD_TDMAE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_TDMAE_SHIFT)) & LPUART_BAUD_TDMAE_MASK)

TDMAE - Transmitter DMA Enable 0b0..DMA request disabled. 0b1..DMA request enabled.

◆ LPUART_BAUD_TDMAE [2/2]

#define LPUART_BAUD_TDMAE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_BAUD_TDMAE_SHIFT)) & LPUART_BAUD_TDMAE_MASK)

TDMAE - Transmitter DMA Enable 0b0..DMA request disabled. 0b1..DMA request enabled.

◆ LPUART_CTRL_DOZEEN [1/2]

#define LPUART_CTRL_DOZEEN ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_DOZEEN_SHIFT)) & LPUART_CTRL_DOZEEN_MASK)

DOZEEN - Doze Enable 0b0..LPUART is enabled in Doze mode. 0b1..LPUART is disabled in Doze mode.

◆ LPUART_CTRL_DOZEEN [2/2]

#define LPUART_CTRL_DOZEEN ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_DOZEEN_SHIFT)) & LPUART_CTRL_DOZEEN_MASK)

DOZEEN - Doze Enable 0b0..LPUART is enabled in Doze mode. 0b1..LPUART is disabled in Doze mode.

◆ LPUART_CTRL_FEIE [1/2]

#define LPUART_CTRL_FEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_FEIE_SHIFT)) & LPUART_CTRL_FEIE_MASK)

FEIE - Framing Error Interrupt Enable 0b0..FE interrupts disabled; use polling. 0b1..Hardware interrupt requested when FE is set.

◆ LPUART_CTRL_FEIE [2/2]

#define LPUART_CTRL_FEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_FEIE_SHIFT)) & LPUART_CTRL_FEIE_MASK)

FEIE - Framing Error Interrupt Enable 0b0..FE interrupts disabled; use polling. 0b1..Hardware interrupt requested when FE is set.

◆ LPUART_CTRL_IDLECFG [1/2]

#define LPUART_CTRL_IDLECFG ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_IDLECFG_SHIFT)) & LPUART_CTRL_IDLECFG_MASK)

IDLECFG - Idle Configuration 0b000..1 idle character 0b001..2 idle characters 0b010..4 idle characters 0b011..8 idle characters 0b100..16 idle characters 0b101..32 idle characters 0b110..64 idle characters 0b111..128 idle characters

◆ LPUART_CTRL_IDLECFG [2/2]

#define LPUART_CTRL_IDLECFG ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_IDLECFG_SHIFT)) & LPUART_CTRL_IDLECFG_MASK)

IDLECFG - Idle Configuration 0b000..1 idle character 0b001..2 idle characters 0b010..4 idle characters 0b011..8 idle characters 0b100..16 idle characters 0b101..32 idle characters 0b110..64 idle characters 0b111..128 idle characters

◆ LPUART_CTRL_ILIE [1/2]

#define LPUART_CTRL_ILIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILIE_SHIFT)) & LPUART_CTRL_ILIE_MASK)

ILIE - Idle Line Interrupt Enable 0b0..Hardware interrupts from IDLE disabled; use polling. 0b1..Hardware interrupt requested when IDLE flag is 1.

◆ LPUART_CTRL_ILIE [2/2]

#define LPUART_CTRL_ILIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILIE_SHIFT)) & LPUART_CTRL_ILIE_MASK)

ILIE - Idle Line Interrupt Enable 0b0..Hardware interrupts from IDLE disabled; use polling. 0b1..Hardware interrupt requested when IDLE flag is 1.

◆ LPUART_CTRL_ILT [1/2]

#define LPUART_CTRL_ILT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILT_SHIFT)) & LPUART_CTRL_ILT_MASK)

ILT - Idle Line Type Select 0b0..Idle character bit count starts after start bit. 0b1..Idle character bit count starts after stop bit.

◆ LPUART_CTRL_ILT [2/2]

#define LPUART_CTRL_ILT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ILT_SHIFT)) & LPUART_CTRL_ILT_MASK)

ILT - Idle Line Type Select 0b0..Idle character bit count starts after start bit. 0b1..Idle character bit count starts after stop bit.

◆ LPUART_CTRL_LOOPS [1/2]

#define LPUART_CTRL_LOOPS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_LOOPS_SHIFT)) & LPUART_CTRL_LOOPS_MASK)

LOOPS - Loop Mode Select 0b0..Normal operation - LPUART_RX and LPUART_TX use separate pins. 0b1..Loop mode or single-wire mode where transmitter outputs are internally connected to receiver input (see RSRC bit).

◆ LPUART_CTRL_LOOPS [2/2]

#define LPUART_CTRL_LOOPS ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_LOOPS_SHIFT)) & LPUART_CTRL_LOOPS_MASK)

LOOPS - Loop Mode Select 0b0..Normal operation - LPUART_RX and LPUART_TX use separate pins. 0b1..Loop mode or single-wire mode where transmitter outputs are internally connected to receiver input (see RSRC bit).

◆ LPUART_CTRL_M [1/2]

#define LPUART_CTRL_M ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M_SHIFT)) & LPUART_CTRL_M_MASK)

M - 9-Bit or 8-Bit Mode Select 0b0..Receiver and transmitter use 8-bit data characters. 0b1..Receiver and transmitter use 9-bit data characters.

◆ LPUART_CTRL_M [2/2]

#define LPUART_CTRL_M ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_M_SHIFT)) & LPUART_CTRL_M_MASK)

M - 9-Bit or 8-Bit Mode Select 0b0..Receiver and transmitter use 8-bit data characters. 0b1..Receiver and transmitter use 9-bit data characters.

◆ LPUART_CTRL_MA1IE [1/2]

#define LPUART_CTRL_MA1IE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA1IE_SHIFT)) & LPUART_CTRL_MA1IE_MASK)

MA1IE - Match 1 Interrupt Enable 0b0..MA1F interrupt disabled 0b1..MA1F interrupt enabled

◆ LPUART_CTRL_MA1IE [2/2]

#define LPUART_CTRL_MA1IE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA1IE_SHIFT)) & LPUART_CTRL_MA1IE_MASK)

MA1IE - Match 1 Interrupt Enable 0b0..MA1F interrupt disabled 0b1..MA1F interrupt enabled

◆ LPUART_CTRL_MA2IE [1/2]

#define LPUART_CTRL_MA2IE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA2IE_SHIFT)) & LPUART_CTRL_MA2IE_MASK)

MA2IE - Match 2 Interrupt Enable 0b0..MA2F interrupt disabled 0b1..MA2F interrupt enabled

◆ LPUART_CTRL_MA2IE [2/2]

#define LPUART_CTRL_MA2IE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_MA2IE_SHIFT)) & LPUART_CTRL_MA2IE_MASK)

MA2IE - Match 2 Interrupt Enable 0b0..MA2F interrupt disabled 0b1..MA2F interrupt enabled

◆ LPUART_CTRL_NEIE [1/2]

#define LPUART_CTRL_NEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_NEIE_SHIFT)) & LPUART_CTRL_NEIE_MASK)

NEIE - Noise Error Interrupt Enable 0b0..NF interrupts disabled; use polling. 0b1..Hardware interrupt requested when NF is set.

◆ LPUART_CTRL_NEIE [2/2]

#define LPUART_CTRL_NEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_NEIE_SHIFT)) & LPUART_CTRL_NEIE_MASK)

NEIE - Noise Error Interrupt Enable 0b0..NF interrupts disabled; use polling. 0b1..Hardware interrupt requested when NF is set.

◆ LPUART_CTRL_ORIE [1/2]

#define LPUART_CTRL_ORIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ORIE_SHIFT)) & LPUART_CTRL_ORIE_MASK)

ORIE - Overrun Interrupt Enable 0b0..OR interrupts disabled; use polling. 0b1..Hardware interrupt requested when OR is set.

◆ LPUART_CTRL_ORIE [2/2]

#define LPUART_CTRL_ORIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_ORIE_SHIFT)) & LPUART_CTRL_ORIE_MASK)

ORIE - Overrun Interrupt Enable 0b0..OR interrupts disabled; use polling. 0b1..Hardware interrupt requested when OR is set.

◆ LPUART_CTRL_PE [1/2]

#define LPUART_CTRL_PE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PE_SHIFT)) & LPUART_CTRL_PE_MASK)

PE - Parity Enable 0b0..No hardware parity generation or checking. 0b1..Parity enabled.

◆ LPUART_CTRL_PE [2/2]

#define LPUART_CTRL_PE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PE_SHIFT)) & LPUART_CTRL_PE_MASK)

PE - Parity Enable 0b0..No hardware parity generation or checking. 0b1..Parity enabled.

◆ LPUART_CTRL_PEIE [1/2]

#define LPUART_CTRL_PEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PEIE_SHIFT)) & LPUART_CTRL_PEIE_MASK)

PEIE - Parity Error Interrupt Enable 0b0..PF interrupts disabled; use polling). 0b1..Hardware interrupt requested when PF is set.

◆ LPUART_CTRL_PEIE [2/2]

#define LPUART_CTRL_PEIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PEIE_SHIFT)) & LPUART_CTRL_PEIE_MASK)

PEIE - Parity Error Interrupt Enable 0b0..PF interrupts disabled; use polling). 0b1..Hardware interrupt requested when PF is set.

◆ LPUART_CTRL_PT [1/2]

#define LPUART_CTRL_PT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PT_SHIFT)) & LPUART_CTRL_PT_MASK)

PT - Parity Type 0b0..Even parity. 0b1..Odd parity.

◆ LPUART_CTRL_PT [2/2]

#define LPUART_CTRL_PT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_PT_SHIFT)) & LPUART_CTRL_PT_MASK)

PT - Parity Type 0b0..Even parity. 0b1..Odd parity.

◆ LPUART_CTRL_RE [1/2]

#define LPUART_CTRL_RE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RE_SHIFT)) & LPUART_CTRL_RE_MASK)

RE - Receiver Enable 0b0..Receiver disabled. 0b1..Receiver enabled.

◆ LPUART_CTRL_RE [2/2]

#define LPUART_CTRL_RE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RE_SHIFT)) & LPUART_CTRL_RE_MASK)

RE - Receiver Enable 0b0..Receiver disabled. 0b1..Receiver enabled.

◆ LPUART_CTRL_RIE [1/2]

#define LPUART_CTRL_RIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RIE_SHIFT)) & LPUART_CTRL_RIE_MASK)

RIE - Receiver Interrupt Enable 0b0..Hardware interrupts from RDRF disabled; use polling. 0b1..Hardware interrupt requested when RDRF flag is 1.

◆ LPUART_CTRL_RIE [2/2]

#define LPUART_CTRL_RIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RIE_SHIFT)) & LPUART_CTRL_RIE_MASK)

RIE - Receiver Interrupt Enable 0b0..Hardware interrupts from RDRF disabled; use polling. 0b1..Hardware interrupt requested when RDRF flag is 1.

◆ LPUART_CTRL_RSRC [1/2]

#define LPUART_CTRL_RSRC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RSRC_SHIFT)) & LPUART_CTRL_RSRC_MASK)

RSRC - Receiver Source Select 0b0..Provided LOOPS is set, RSRC is cleared, selects internal loop back mode and the LPUART does not use the LPUART_RX pin. 0b1..Single-wire LPUART mode where the LPUART_TX pin is connected to the transmitter output and receiver input.

◆ LPUART_CTRL_RSRC [2/2]

#define LPUART_CTRL_RSRC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RSRC_SHIFT)) & LPUART_CTRL_RSRC_MASK)

RSRC - Receiver Source Select 0b0..Provided LOOPS is set, RSRC is cleared, selects internal loop back mode and the LPUART does not use the LPUART_RX pin. 0b1..Single-wire LPUART mode where the LPUART_TX pin is connected to the transmitter output and receiver input.

◆ LPUART_CTRL_RWU [1/2]

#define LPUART_CTRL_RWU ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RWU_SHIFT)) & LPUART_CTRL_RWU_MASK)

RWU - Receiver Wakeup Control 0b0..Normal receiver operation. 0b1..LPUART receiver in standby waiting for wakeup condition.

◆ LPUART_CTRL_RWU [2/2]

#define LPUART_CTRL_RWU ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_RWU_SHIFT)) & LPUART_CTRL_RWU_MASK)

RWU - Receiver Wakeup Control 0b0..Normal receiver operation. 0b1..LPUART receiver in standby waiting for wakeup condition.

◆ LPUART_CTRL_SBK [1/2]

#define LPUART_CTRL_SBK ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_SBK_SHIFT)) & LPUART_CTRL_SBK_MASK)

SBK - Send Break 0b0..Normal transmitter operation. 0b1..Queue break character(s) to be sent.

◆ LPUART_CTRL_SBK [2/2]

#define LPUART_CTRL_SBK ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_SBK_SHIFT)) & LPUART_CTRL_SBK_MASK)

SBK - Send Break 0b0..Normal transmitter operation. 0b1..Queue break character(s) to be sent.

◆ LPUART_CTRL_TCIE [1/2]

#define LPUART_CTRL_TCIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TCIE_SHIFT)) & LPUART_CTRL_TCIE_MASK)

TCIE - Transmission Complete Interrupt Enable for 0b0..Hardware interrupts from TC disabled; use polling. 0b1..Hardware interrupt requested when TC flag is 1.

◆ LPUART_CTRL_TCIE [2/2]

#define LPUART_CTRL_TCIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TCIE_SHIFT)) & LPUART_CTRL_TCIE_MASK)

TCIE - Transmission Complete Interrupt Enable for 0b0..Hardware interrupts from TC disabled; use polling. 0b1..Hardware interrupt requested when TC flag is 1.

◆ LPUART_CTRL_TE [1/2]

#define LPUART_CTRL_TE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TE_SHIFT)) & LPUART_CTRL_TE_MASK)

TE - Transmitter Enable 0b0..Transmitter disabled. 0b1..Transmitter enabled.

◆ LPUART_CTRL_TE [2/2]

#define LPUART_CTRL_TE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TE_SHIFT)) & LPUART_CTRL_TE_MASK)

TE - Transmitter Enable 0b0..Transmitter disabled. 0b1..Transmitter enabled.

◆ LPUART_CTRL_TIE [1/2]

#define LPUART_CTRL_TIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TIE_SHIFT)) & LPUART_CTRL_TIE_MASK)

TIE - Transmit Interrupt Enable 0b0..Hardware interrupts from TDRE disabled; use polling. 0b1..Hardware interrupt requested when TDRE flag is 1.

◆ LPUART_CTRL_TIE [2/2]

#define LPUART_CTRL_TIE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TIE_SHIFT)) & LPUART_CTRL_TIE_MASK)

TIE - Transmit Interrupt Enable 0b0..Hardware interrupts from TDRE disabled; use polling. 0b1..Hardware interrupt requested when TDRE flag is 1.

◆ LPUART_CTRL_TXDIR [1/2]

#define LPUART_CTRL_TXDIR ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXDIR_SHIFT)) & LPUART_CTRL_TXDIR_MASK)

TXDIR - LPUART_TX Pin Direction in Single-Wire Mode 0b0..LPUART_TX pin is an input in single-wire mode. 0b1..LPUART_TX pin is an output in single-wire mode.

◆ LPUART_CTRL_TXDIR [2/2]

#define LPUART_CTRL_TXDIR ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXDIR_SHIFT)) & LPUART_CTRL_TXDIR_MASK)

TXDIR - LPUART_TX Pin Direction in Single-Wire Mode 0b0..LPUART_TX pin is an input in single-wire mode. 0b1..LPUART_TX pin is an output in single-wire mode.

◆ LPUART_CTRL_TXINV [1/2]

#define LPUART_CTRL_TXINV ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXINV_SHIFT)) & LPUART_CTRL_TXINV_MASK)

TXINV - Transmit Data Inversion 0b0..Transmit data not inverted. 0b1..Transmit data inverted.

◆ LPUART_CTRL_TXINV [2/2]

#define LPUART_CTRL_TXINV ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_TXINV_SHIFT)) & LPUART_CTRL_TXINV_MASK)

TXINV - Transmit Data Inversion 0b0..Transmit data not inverted. 0b1..Transmit data inverted.

◆ LPUART_CTRL_WAKE [1/2]

#define LPUART_CTRL_WAKE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_WAKE_SHIFT)) & LPUART_CTRL_WAKE_MASK)

WAKE - Receiver Wakeup Method Select 0b0..Configures RWU for idle-line wakeup. 0b1..Configures RWU with address-mark wakeup.

◆ LPUART_CTRL_WAKE [2/2]

#define LPUART_CTRL_WAKE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_CTRL_WAKE_SHIFT)) & LPUART_CTRL_WAKE_MASK)

WAKE - Receiver Wakeup Method Select 0b0..Configures RWU for idle-line wakeup. 0b1..Configures RWU with address-mark wakeup.

◆ LPUART_DATA_FRETSC [1/2]

#define LPUART_DATA_FRETSC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_FRETSC_SHIFT)) & LPUART_DATA_FRETSC_MASK)

FRETSC - Frame Error / Transmit Special Character 0b0..The dataword was received without a frame error on read, transmit a normal character on write. 0b1..The dataword was received with a frame error, transmit an idle or break character on transmit.

◆ LPUART_DATA_FRETSC [2/2]

#define LPUART_DATA_FRETSC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_FRETSC_SHIFT)) & LPUART_DATA_FRETSC_MASK)

FRETSC - Frame Error / Transmit Special Character 0b0..The dataword was received without a frame error on read, transmit a normal character on write. 0b1..The dataword was received with a frame error, transmit an idle or break character on transmit.

◆ LPUART_DATA_IDLINE [1/2]

#define LPUART_DATA_IDLINE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_IDLINE_SHIFT)) & LPUART_DATA_IDLINE_MASK)

IDLINE - Idle Line 0b0..Receiver was not idle before receiving this character. 0b1..Receiver was idle before receiving this character.

◆ LPUART_DATA_IDLINE [2/2]

#define LPUART_DATA_IDLINE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_IDLINE_SHIFT)) & LPUART_DATA_IDLINE_MASK)

IDLINE - Idle Line 0b0..Receiver was not idle before receiving this character. 0b1..Receiver was idle before receiving this character.

◆ LPUART_DATA_NOISY [1/2]

#define LPUART_DATA_NOISY ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_NOISY_SHIFT)) & LPUART_DATA_NOISY_MASK)

NOISY 0b0..The dataword was received without noise. 0b1..The data was received with noise.

◆ LPUART_DATA_NOISY [2/2]

#define LPUART_DATA_NOISY ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_NOISY_SHIFT)) & LPUART_DATA_NOISY_MASK)

NOISY 0b0..The dataword was received without noise. 0b1..The data was received with noise.

◆ LPUART_DATA_PARITYE [1/2]

#define LPUART_DATA_PARITYE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_PARITYE_SHIFT)) & LPUART_DATA_PARITYE_MASK)

PARITYE 0b0..The dataword was received without a parity error. 0b1..The dataword was received with a parity error.

◆ LPUART_DATA_PARITYE [2/2]

#define LPUART_DATA_PARITYE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_PARITYE_SHIFT)) & LPUART_DATA_PARITYE_MASK)

PARITYE 0b0..The dataword was received without a parity error. 0b1..The dataword was received with a parity error.

◆ LPUART_DATA_RXEMPT [1/2]

#define LPUART_DATA_RXEMPT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_RXEMPT_SHIFT)) & LPUART_DATA_RXEMPT_MASK)

RXEMPT - Receive Buffer Empty 0b0..Receive buffer contains valid data. 0b1..Receive buffer is empty, data returned on read is not valid.

◆ LPUART_DATA_RXEMPT [2/2]

#define LPUART_DATA_RXEMPT ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_DATA_RXEMPT_SHIFT)) & LPUART_DATA_RXEMPT_MASK)

RXEMPT - Receive Buffer Empty 0b0..Receive buffer contains valid data. 0b1..Receive buffer is empty, data returned on read is not valid.

◆ LPUART_MODIR_IREN [1/2]

#define LPUART_MODIR_IREN ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_IREN_SHIFT)) & LPUART_MODIR_IREN_MASK)

IREN - Infrared enable 0b0..IR disabled. 0b1..IR enabled.

◆ LPUART_MODIR_IREN [2/2]

#define LPUART_MODIR_IREN ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_IREN_SHIFT)) & LPUART_MODIR_IREN_MASK)

IREN - Infrared enable 0b0..IR disabled. 0b1..IR enabled.

◆ LPUART_MODIR_RXRTSE [1/2]

#define LPUART_MODIR_RXRTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RXRTSE_SHIFT)) & LPUART_MODIR_RXRTSE_MASK)

RXRTSE - Receiver request-to-send enable 0b0..The receiver has no effect on RTS. 0b1..RTS is deasserted if the receiver data register is full or a start bit has been detected that would cause the receiver data register to become full. RTS is asserted if the receiver data register is not full and has not detected a start bit that would cause the receiver data register to become full.

◆ LPUART_MODIR_RXRTSE [2/2]

#define LPUART_MODIR_RXRTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_RXRTSE_SHIFT)) & LPUART_MODIR_RXRTSE_MASK)

RXRTSE - Receiver request-to-send enable 0b0..The receiver has no effect on RTS. 0b1..RTS is deasserted if the receiver data register is full or a start bit has been detected that would cause the receiver data register to become full. RTS is asserted if the receiver data register is not full and has not detected a start bit that would cause the receiver data register to become full.

◆ LPUART_MODIR_TNP [1/2]

#define LPUART_MODIR_TNP ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TNP_SHIFT)) & LPUART_MODIR_TNP_MASK)

TNP - Transmitter narrow pulse 0b00..1/OSR. 0b01..2/OSR. 0b10..3/OSR. 0b11..4/OSR.

◆ LPUART_MODIR_TNP [2/2]

#define LPUART_MODIR_TNP ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TNP_SHIFT)) & LPUART_MODIR_TNP_MASK)

TNP - Transmitter narrow pulse 0b00..1/OSR. 0b01..2/OSR. 0b10..3/OSR. 0b11..4/OSR.

◆ LPUART_MODIR_TXCTSC [1/2]

#define LPUART_MODIR_TXCTSC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSC_SHIFT)) & LPUART_MODIR_TXCTSC_MASK)

TXCTSC - Transmit CTS Configuration 0b0..CTS input is sampled at the start of each character. 0b1..CTS input is sampled when the transmitter is idle.

◆ LPUART_MODIR_TXCTSC [2/2]

#define LPUART_MODIR_TXCTSC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSC_SHIFT)) & LPUART_MODIR_TXCTSC_MASK)

TXCTSC - Transmit CTS Configuration 0b0..CTS input is sampled at the start of each character. 0b1..CTS input is sampled when the transmitter is idle.

◆ LPUART_MODIR_TXCTSE [1/2]

#define LPUART_MODIR_TXCTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSE_SHIFT)) & LPUART_MODIR_TXCTSE_MASK)

TXCTSE - Transmitter clear-to-send enable 0b0..CTS has no effect on the transmitter. 0b1..Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent do not affect its transmission.

◆ LPUART_MODIR_TXCTSE [2/2]

#define LPUART_MODIR_TXCTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSE_SHIFT)) & LPUART_MODIR_TXCTSE_MASK)

TXCTSE - Transmitter clear-to-send enable 0b0..CTS has no effect on the transmitter. 0b1..Enables clear-to-send operation. The transmitter checks the state of CTS each time it is ready to send a character. If CTS is asserted, the character is sent. If CTS is deasserted, the signal TXD remains in the mark state and transmission is delayed until CTS is asserted. Changes in CTS as a character is being sent do not affect its transmission.

◆ LPUART_MODIR_TXCTSSRC [1/2]

#define LPUART_MODIR_TXCTSSRC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSSRC_SHIFT)) & LPUART_MODIR_TXCTSSRC_MASK)

TXCTSSRC - Transmit CTS Source 0b0..CTS input is the LPUART_CTS pin. 0b1..CTS input is the inverted Receiver Match result.

◆ LPUART_MODIR_TXCTSSRC [2/2]

#define LPUART_MODIR_TXCTSSRC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXCTSSRC_SHIFT)) & LPUART_MODIR_TXCTSSRC_MASK)

TXCTSSRC - Transmit CTS Source 0b0..CTS input is the LPUART_CTS pin. 0b1..CTS input is the inverted Receiver Match result.

◆ LPUART_MODIR_TXRTSE [1/2]

#define LPUART_MODIR_TXRTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSE_SHIFT)) & LPUART_MODIR_TXRTSE_MASK)

TXRTSE - Transmitter request-to-send enable 0b0..The transmitter has no effect on RTS. 0b1..When a character is placed into an empty transmitter data buffer , RTS asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter data buffer and shift register are completely sent, including the last stop bit.

◆ LPUART_MODIR_TXRTSE [2/2]

#define LPUART_MODIR_TXRTSE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSE_SHIFT)) & LPUART_MODIR_TXRTSE_MASK)

TXRTSE - Transmitter request-to-send enable 0b0..The transmitter has no effect on RTS. 0b1..When a character is placed into an empty transmitter data buffer , RTS asserts one bit time before the start bit is transmitted. RTS deasserts one bit time after all characters in the transmitter data buffer and shift register are completely sent, including the last stop bit.

◆ LPUART_MODIR_TXRTSPOL [1/2]

#define LPUART_MODIR_TXRTSPOL ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSPOL_SHIFT)) & LPUART_MODIR_TXRTSPOL_MASK)

TXRTSPOL - Transmitter request-to-send polarity 0b0..Transmitter RTS is active low. 0b1..Transmitter RTS is active high.

◆ LPUART_MODIR_TXRTSPOL [2/2]

#define LPUART_MODIR_TXRTSPOL ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_MODIR_TXRTSPOL_SHIFT)) & LPUART_MODIR_TXRTSPOL_MASK)

TXRTSPOL - Transmitter request-to-send polarity 0b0..Transmitter RTS is active low. 0b1..Transmitter RTS is active high.

◆ LPUART_STAT_BRK13 [1/2]

#define LPUART_STAT_BRK13 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_BRK13_SHIFT)) & LPUART_STAT_BRK13_MASK)

BRK13 - Break Character Generation Length 0b0..Break character is transmitted with length of 10 bit times (if M = 0, SBNS = 0) or 11 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 12 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 13 (if M10 = 1, SNBS = 1). 0b1..Break character is transmitted with length of 13 bit times (if M = 0, SBNS = 0) or 14 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 15 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 16 (if M10 = 1, SNBS = 1).

◆ LPUART_STAT_BRK13 [2/2]

#define LPUART_STAT_BRK13 ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_BRK13_SHIFT)) & LPUART_STAT_BRK13_MASK)

BRK13 - Break Character Generation Length 0b0..Break character is transmitted with length of 10 bit times (if M = 0, SBNS = 0) or 11 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 12 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 13 (if M10 = 1, SNBS = 1). 0b1..Break character is transmitted with length of 13 bit times (if M = 0, SBNS = 0) or 14 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 15 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 16 (if M10 = 1, SNBS = 1).

◆ LPUART_STAT_FE [1/2]

#define LPUART_STAT_FE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_FE_SHIFT)) & LPUART_STAT_FE_MASK)

FE - Framing Error Flag 0b0..No framing error detected. This does not guarantee the framing is correct. 0b1..Framing error.

◆ LPUART_STAT_FE [2/2]

#define LPUART_STAT_FE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_FE_SHIFT)) & LPUART_STAT_FE_MASK)

FE - Framing Error Flag 0b0..No framing error detected. This does not guarantee the framing is correct. 0b1..Framing error.

◆ LPUART_STAT_IDLE [1/2]

#define LPUART_STAT_IDLE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_IDLE_SHIFT)) & LPUART_STAT_IDLE_MASK)

IDLE - Idle Line Flag 0b0..No idle line detected. 0b1..Idle line was detected.

◆ LPUART_STAT_IDLE [2/2]

#define LPUART_STAT_IDLE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_IDLE_SHIFT)) & LPUART_STAT_IDLE_MASK)

IDLE - Idle Line Flag 0b0..No idle line detected. 0b1..Idle line was detected.

◆ LPUART_STAT_LBKDE [1/2]

#define LPUART_STAT_LBKDE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDE_SHIFT)) & LPUART_STAT_LBKDE_MASK)

LBKDE - LIN Break Detection Enable 0b0..Break character is detected at length 10 bit times (if M = 0, SBNS = 0) or 11 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 12 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 13 (if M10 = 1, SNBS = 1). 0b1..Break character is detected at length of 11 bit times (if M = 0, SBNS = 0) or 12 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 14 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 15 (if M10 = 1, SNBS = 1).

◆ LPUART_STAT_LBKDE [2/2]

#define LPUART_STAT_LBKDE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDE_SHIFT)) & LPUART_STAT_LBKDE_MASK)

LBKDE - LIN Break Detection Enable 0b0..Break character is detected at length 10 bit times (if M = 0, SBNS = 0) or 11 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 12 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 13 (if M10 = 1, SNBS = 1). 0b1..Break character is detected at length of 11 bit times (if M = 0, SBNS = 0) or 12 (if M = 1, SBNS = 0 or M = 0, SBNS = 1) or 14 (if M = 1, SBNS = 1 or M10 = 1, SNBS = 0) or 15 (if M10 = 1, SNBS = 1).

◆ LPUART_STAT_LBKDIF [1/2]

#define LPUART_STAT_LBKDIF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDIF_SHIFT)) & LPUART_STAT_LBKDIF_MASK)

LBKDIF - LIN Break Detect Interrupt Flag 0b0..No LIN break character has been detected. 0b1..LIN break character has been detected.

◆ LPUART_STAT_LBKDIF [2/2]

#define LPUART_STAT_LBKDIF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_LBKDIF_SHIFT)) & LPUART_STAT_LBKDIF_MASK)

LBKDIF - LIN Break Detect Interrupt Flag 0b0..No LIN break character has been detected. 0b1..LIN break character has been detected.

◆ LPUART_STAT_MA1F [1/2]

#define LPUART_STAT_MA1F ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA1F_SHIFT)) & LPUART_STAT_MA1F_MASK)

MA1F - Match 1 Flag 0b0..Received data is not equal to MA1 0b1..Received data is equal to MA1

◆ LPUART_STAT_MA1F [2/2]

#define LPUART_STAT_MA1F ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA1F_SHIFT)) & LPUART_STAT_MA1F_MASK)

MA1F - Match 1 Flag 0b0..Received data is not equal to MA1 0b1..Received data is equal to MA1

◆ LPUART_STAT_MA2F [1/2]

#define LPUART_STAT_MA2F ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA2F_SHIFT)) & LPUART_STAT_MA2F_MASK)

MA2F - Match 2 Flag 0b0..Received data is not equal to MA2 0b1..Received data is equal to MA2

◆ LPUART_STAT_MA2F [2/2]

#define LPUART_STAT_MA2F ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MA2F_SHIFT)) & LPUART_STAT_MA2F_MASK)

MA2F - Match 2 Flag 0b0..Received data is not equal to MA2 0b1..Received data is equal to MA2

◆ LPUART_STAT_MSBF [1/2]

#define LPUART_STAT_MSBF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MSBF_SHIFT)) & LPUART_STAT_MSBF_MASK)

MSBF - MSB First 0b0..LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0. 0b1..MSB (bit9, bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of CTRL[M], CTRL[PE] and BAUD[M10]. Further, the first bit received after the start bit is identified as bit9, bit8, bit7 or bit6 depending on the setting of CTRL[M] and CTRL[PE].

◆ LPUART_STAT_MSBF [2/2]

#define LPUART_STAT_MSBF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_MSBF_SHIFT)) & LPUART_STAT_MSBF_MASK)

MSBF - MSB First 0b0..LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0. 0b1..MSB (bit9, bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of CTRL[M], CTRL[PE] and BAUD[M10]. Further, the first bit received after the start bit is identified as bit9, bit8, bit7 or bit6 depending on the setting of CTRL[M] and CTRL[PE].

◆ LPUART_STAT_NF [1/2]

#define LPUART_STAT_NF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_NF_SHIFT)) & LPUART_STAT_NF_MASK)

NF - Noise Flag 0b0..No noise detected. 0b1..Noise detected in the received character in LPUART_DATA.

◆ LPUART_STAT_NF [2/2]

#define LPUART_STAT_NF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_NF_SHIFT)) & LPUART_STAT_NF_MASK)

NF - Noise Flag 0b0..No noise detected. 0b1..Noise detected in the received character in LPUART_DATA.

◆ LPUART_STAT_OR [1/2]

#define LPUART_STAT_OR ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_OR_SHIFT)) & LPUART_STAT_OR_MASK)

OR - Receiver Overrun Flag 0b0..No overrun. 0b1..Receive overrun (new LPUART data lost).

◆ LPUART_STAT_OR [2/2]

#define LPUART_STAT_OR ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_OR_SHIFT)) & LPUART_STAT_OR_MASK)

OR - Receiver Overrun Flag 0b0..No overrun. 0b1..Receive overrun (new LPUART data lost).

◆ LPUART_STAT_PF [1/2]

#define LPUART_STAT_PF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_PF_SHIFT)) & LPUART_STAT_PF_MASK)

PF - Parity Error Flag 0b0..No parity error. 0b1..Parity error.

◆ LPUART_STAT_PF [2/2]

#define LPUART_STAT_PF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_PF_SHIFT)) & LPUART_STAT_PF_MASK)

PF - Parity Error Flag 0b0..No parity error. 0b1..Parity error.

◆ LPUART_STAT_RAF [1/2]

#define LPUART_STAT_RAF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RAF_SHIFT)) & LPUART_STAT_RAF_MASK)

RAF - Receiver Active Flag 0b0..LPUART receiver idle waiting for a start bit. 0b1..LPUART receiver active (LPUART_RX input not idle).

◆ LPUART_STAT_RAF [2/2]

#define LPUART_STAT_RAF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RAF_SHIFT)) & LPUART_STAT_RAF_MASK)

RAF - Receiver Active Flag 0b0..LPUART receiver idle waiting for a start bit. 0b1..LPUART receiver active (LPUART_RX input not idle).

◆ LPUART_STAT_RDRF [1/2]

#define LPUART_STAT_RDRF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RDRF_SHIFT)) & LPUART_STAT_RDRF_MASK)

RDRF - Receive Data Register Full Flag 0b0..Receive data buffer empty. 0b1..Receive data buffer full.

◆ LPUART_STAT_RDRF [2/2]

#define LPUART_STAT_RDRF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RDRF_SHIFT)) & LPUART_STAT_RDRF_MASK)

RDRF - Receive Data Register Full Flag 0b0..Receive data buffer empty. 0b1..Receive data buffer full.

◆ LPUART_STAT_RWUID [1/2]

#define LPUART_STAT_RWUID ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RWUID_SHIFT)) & LPUART_STAT_RWUID_MASK)

RWUID - Receive Wake Up Idle Detect 0b0..During receive standby state (RWU = 1), the IDLE bit does not get set upon detection of an idle character. During address match wakeup, the IDLE bit does not get set when an address does not match. 0b1..During receive standby state (RWU = 1), the IDLE bit gets set upon detection of an idle character. During address match wakeup, the IDLE bit does get set when an address does not match.

◆ LPUART_STAT_RWUID [2/2]

#define LPUART_STAT_RWUID ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RWUID_SHIFT)) & LPUART_STAT_RWUID_MASK)

RWUID - Receive Wake Up Idle Detect 0b0..During receive standby state (RWU = 1), the IDLE bit does not get set upon detection of an idle character. During address match wakeup, the IDLE bit does not get set when an address does not match. 0b1..During receive standby state (RWU = 1), the IDLE bit gets set upon detection of an idle character. During address match wakeup, the IDLE bit does get set when an address does not match.

◆ LPUART_STAT_RXEDGIF [1/2]

#define LPUART_STAT_RXEDGIF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXEDGIF_SHIFT)) & LPUART_STAT_RXEDGIF_MASK)

RXEDGIF - LPUART_RX Pin Active Edge Interrupt Flag 0b0..No active edge on the receive pin has occurred. 0b1..An active edge on the receive pin has occurred.

◆ LPUART_STAT_RXEDGIF [2/2]

#define LPUART_STAT_RXEDGIF ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXEDGIF_SHIFT)) & LPUART_STAT_RXEDGIF_MASK)

RXEDGIF - LPUART_RX Pin Active Edge Interrupt Flag 0b0..No active edge on the receive pin has occurred. 0b1..An active edge on the receive pin has occurred.

◆ LPUART_STAT_RXINV [1/2]

#define LPUART_STAT_RXINV ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXINV_SHIFT)) & LPUART_STAT_RXINV_MASK)

RXINV - Receive Data Inversion 0b0..Receive data not inverted. 0b1..Receive data inverted.

◆ LPUART_STAT_RXINV [2/2]

#define LPUART_STAT_RXINV ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_RXINV_SHIFT)) & LPUART_STAT_RXINV_MASK)

RXINV - Receive Data Inversion 0b0..Receive data not inverted. 0b1..Receive data inverted.

◆ LPUART_STAT_TC [1/2]

#define LPUART_STAT_TC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TC_SHIFT)) & LPUART_STAT_TC_MASK)

TC - Transmission Complete Flag 0b0..Transmitter active (sending data, a preamble, or a break). 0b1..Transmitter idle (transmission activity complete).

◆ LPUART_STAT_TC [2/2]

#define LPUART_STAT_TC ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TC_SHIFT)) & LPUART_STAT_TC_MASK)

TC - Transmission Complete Flag 0b0..Transmitter active (sending data, a preamble, or a break). 0b1..Transmitter idle (transmission activity complete).

◆ LPUART_STAT_TDRE [1/2]

#define LPUART_STAT_TDRE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TDRE_SHIFT)) & LPUART_STAT_TDRE_MASK)

TDRE - Transmit Data Register Empty Flag 0b0..Transmit data buffer full. 0b1..Transmit data buffer empty.

◆ LPUART_STAT_TDRE [2/2]

#define LPUART_STAT_TDRE ( x)    (((uint32_t)(((uint32_t)(x)) << LPUART_STAT_TDRE_SHIFT)) & LPUART_STAT_TDRE_MASK)

TDRE - Transmit Data Register Empty Flag 0b0..Transmit data buffer full. 0b1..Transmit data buffer empty.