Home
last modified time | relevance | path

Searched refs:PROTCTL (Results 1 – 11 of 11) sorted by relevance

/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dusci_i2c.h110 #define UI2C_SET_CONTROL_REG(ui2c, u8Ctrl) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~0x2EU) | (u8Ctrl))
121 #define UI2C_START(ui2c) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~UI2C_PROTCTL_PTRG_Msk) | UI2C_PROTC…
132 #define UI2C_STOP(ui2c) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~0x2E) | (UI2C_PROTCTL_PTRG_Msk | UI2…
201 #define UI2C_DISABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL &= ~(UI2C_PROTCTL_ADDR10EN_Msk))
212 #define UI2C_ENABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL |= UI2C_PROTCTL_ADDR10EN_Msk)
Dusci_spi.h75 #define USPI_DISABLE_3WIRE_MODE(uspi) ( (uspi)->PROTCTL &= ~USPI_PROTCTL_SLV3WIRE_Msk )
83 #define USPI_ENABLE_3WIRE_MODE(uspi) ( (uspi)->PROTCTL |= USPI_PROTCTL_SLV3WIRE_Msk )
142 (uspi)->PROTCTL = (((uspi)->PROTCTL & ~USPI_PROTCTL_AUTOSS_Msk) | USPI_PROTCTL_SS_Msk); \
155 (uspi)->PROTCTL = (((uspi)->PROTCTL & ~USPI_PROTCTL_AUTOSS_Msk) | USPI_PROTCTL_SS_Msk); \
165 #define USPI_SET_SUSPEND_CYCLE(uspi, u32SuspCycle) ( (uspi)->PROTCTL = ((uspi)->PROTCTL & ~USPI_PRO…
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dusci_i2c.h110 #define UI2C_SET_CONTROL_REG(ui2c, u8Ctrl) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~0x2EU) | (u8Ctrl))
121 #define UI2C_START(ui2c) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~UI2C_PROTCTL_PTRG_Msk) | UI2C_PROTC…
132 #define UI2C_STOP(ui2c) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~0x2E) | (UI2C_PROTCTL_PTRG_Msk | UI2…
201 #define UI2C_DISABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL &= ~(UI2C_PROTCTL_ADDR10EN_Msk))
212 #define UI2C_ENABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL |= UI2C_PROTCTL_ADDR10EN_Msk)
Dusci_spi.h75 #define USPI_DISABLE_3WIRE_MODE(uspi) ( (uspi)->PROTCTL &= ~USPI_PROTCTL_SLV3WIRE_Msk )
83 #define USPI_ENABLE_3WIRE_MODE(uspi) ( (uspi)->PROTCTL |= USPI_PROTCTL_SLV3WIRE_Msk )
142 (uspi)->PROTCTL = (((uspi)->PROTCTL & ~USPI_PROTCTL_AUTOSS_Msk) | USPI_PROTCTL_SS_Msk); \
155 (uspi)->PROTCTL = (((uspi)->PROTCTL & ~USPI_PROTCTL_AUTOSS_Msk) | USPI_PROTCTL_SS_Msk); \
165 #define USPI_SET_SUSPEND_CYCLE(uspi, u32SuspCycle) ( (uspi)->PROTCTL = ((uspi)->PROTCTL & ~USPI_PRO…
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dusci_uart.c430 uuart->PROTCTL |= UUART_PROTCTL_PROTEN_Msk; in UUART_Open()
605 uuart->PROTCTL = (uuart->PROTCTL & ~(UUART_PROTCTL_STICKEN_Msk | UUART_PROTCTL_EVENPARITY_Msk | in UUART_SetLine_Config()
607 uuart->PROTCTL = (uuart->PROTCTL & ~UUART_PROTCTL_STOPB_Msk) | u32stop_bits; in UUART_SetLine_Config()
666 uuart->PROTCTL |= u32WakeupMode; in UUART_EnableWakeup()
682 uuart->PROTCTL &= ~(UUART_PROTCTL_DATWKEN_Msk | UUART_PROTCTL_CTSWKEN_Msk); in UUART_DisableWakeup()
704 uuart->PROTCTL |= UUART_PROTCTL_RTSAUTOEN_Msk | UUART_PROTCTL_CTSAUTOEN_Msk; in UUART_EnableFlowCtrl()
719 uuart->PROTCTL &= ~(UUART_PROTCTL_RTSAUTOEN_Msk | UUART_PROTCTL_CTSAUTOEN_Msk); in UUART_DisableFlowCtrl()
Dusci_spi.c89 … uspi->PROTCTL &= ~(USPI_PROTCTL_SCLKMODE_Msk | USPI_PROTCTL_AUTOSS_Msk | USPI_PROTCTL_SLAVE_Msk); in USPI_Open()
90 uspi->PROTCTL |= (u32MasterSlave | u32SPIMode); in USPI_Open()
95 uspi->PROTCTL |= USPI_PROTCTL_PROTEN_Msk; in USPI_Open()
146 uspi->PROTCTL &= ~(USPI_PROTCTL_AUTOSS_Msk | USPI_PROTCTL_SS_Msk); in USPI_DisableAutoSS()
162 uspi->PROTCTL |= USPI_PROTCTL_AUTOSS_Msk; in USPI_EnableAutoSS()
Dusci_i2c.c67 ui2c->PROTCTL |= UI2C_PROTCTL_PROTEN_Msk; in UI2C_Open()
117 …uint32_t u32Val = ui2c->PROTCTL & ~(UI2C_PROTCTL_STA_Msk | UI2C_PROTCTL_STO_Msk | UI2C_PROTCTL_AA_… in UI2C_Trigger()
135 ui2c->PROTCTL = u32Val | u32Reg; in UI2C_Trigger()
498 ui2c->PROTCTL = (ui2c->PROTCTL & ~UI2C_PROTCTL_GCFUNC_Msk) | u8GCMode; in UI2C_SetSlaveAddr()
537 …ui2c->PROTCTL = (ui2c->PROTCTL & ~UI2C_PROTCTL_TOCNT_Msk) | (u32TimeoutCnt << UI2C_PROTCTL_TOCNT_P… in UI2C_EnableTimeout()
552 ui2c->PROTCTL &= ~UI2C_PROTCTL_TOCNT_Msk; in UI2C_DisableTimeout()
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/common/bsp/Include/
Dui2c_reg.h384 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member
Duspi_reg.h446 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member
Duuart_reg.h441 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member
/trusted-firmware-m-3.5.0/platform/ext/target/nuvoton/m2354/bsp/Device/Nuvoton/M2354/Include/
Duuart_reg.h441 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member