Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/inc/
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…
Dusci_i2c.h109 #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…
133 #define UI2C_STOP(ui2c) ((ui2c)->PROTCTL = ((ui2c)->PROTCTL & ~0x2E) | (UI2C_PROTCTL_PTRG_Msk | UI2…
208 #define UI2C_DISABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL &= ~(UI2C_PROTCTL_ADDR10EN_Msk))
220 #define UI2C_ENABLE_10BIT_ADDR_MODE(ui2c) ((ui2c)->PROTCTL |= UI2C_PROTCTL_ADDR10EN_Msk)
/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Dusci_uart.c415 uuart->PROTCTL |= UUART_PROTCTL_PROTEN_Msk; in UUART_Open()
574 uuart->PROTCTL = (uuart->PROTCTL & ~(UUART_PROTCTL_STICKEN_Msk | UUART_PROTCTL_EVENPARITY_Msk | in UUART_SetLine_Config()
576 uuart->PROTCTL = (uuart->PROTCTL & ~UUART_PROTCTL_STOPB_Msk ) | u32stop_bits; in UUART_SetLine_Config()
636 uuart->PROTCTL |= u32WakeupMode; in UUART_EnableWakeup()
652 uuart->PROTCTL &= ~(UUART_PROTCTL_DATWKEN_Msk|UUART_PROTCTL_CTSWKEN_Msk); in UUART_DisableWakeup()
674 uuart->PROTCTL |= UUART_PROTCTL_RTSAUTOEN_Msk|UUART_PROTCTL_CTSAUTOEN_Msk; in UUART_EnableFlowCtrl()
689 uuart->PROTCTL &= ~(UUART_PROTCTL_RTSAUTOEN_Msk|UUART_PROTCTL_CTSAUTOEN_Msk); in UUART_DisableFlowCtrl()
Dusci_spi.c91 … uspi->PROTCTL &= ~(USPI_PROTCTL_SCLKMODE_Msk | USPI_PROTCTL_AUTOSS_Msk | USPI_PROTCTL_SLAVE_Msk); in USPI_Open()
92 uspi->PROTCTL |= (u32MasterSlave | u32SPIMode); in USPI_Open()
97 uspi->PROTCTL |= USPI_PROTCTL_PROTEN_Msk; in USPI_Open()
145 uspi->PROTCTL &= ~(USPI_PROTCTL_AUTOSS_Msk | USPI_PROTCTL_SS_Msk); in USPI_DisableAutoSS()
160 uspi->PROTCTL |= USPI_PROTCTL_AUTOSS_Msk; in USPI_EnableAutoSS()
Dusci_i2c.c65 ui2c->PROTCTL |= UI2C_PROTCTL_PROTEN_Msk; in UI2C_Open()
115 …uint32_t u32Val = ui2c->PROTCTL & ~(UI2C_PROTCTL_STA_Msk | UI2C_PROTCTL_STO_Msk | UI2C_PROTCTL_AA_… in UI2C_Trigger()
134 ui2c->PROTCTL = u32Val | u32Reg; in UI2C_Trigger()
517 ui2c->PROTCTL = (ui2c->PROTCTL & ~UI2C_PROTCTL_GCFUNC_Msk) |u8GCMode; in UI2C_SetSlaveAddr()
556 …ui2c->PROTCTL = (ui2c->PROTCTL & ~UI2C_PROTCTL_TOCNT_Msk) | (u32TimeoutCnt << UI2C_PROTCTL_TOCNT_P… in UI2C_EnableTimeout()
571 ui2c->PROTCTL &= ~UI2C_PROTCTL_TOCNT_Msk; in UI2C_DisableTimeout()
/hal_nuvoton-3.4.0/m48x/Devices/M480/Include/
Dui2c_reg.h394 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member
Duspi_reg.h454 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member
Duuart_reg.h450 …__IO uint32_t PROTCTL; /*!< [0x005c] USCI Protocol Control Register … member