Home
last modified time | relevance | path

Searched refs:ALTCTL (Results 1 – 15 of 15) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dsc.c84 while((sc->ALTCTL & SC_ALTCTL_SYNC_Msk) == SC_ALTCTL_SYNC_Msk) {} in SC_ClearFIFO()
85 sc->ALTCTL |= (SC_ALTCTL_TXRST_Msk | SC_ALTCTL_RXRST_Msk); in SC_ClearFIFO()
103 sc->ALTCTL = 0UL; in SC_Close()
184 sc->ALTCTL |= (SC_ALTCTL_TXRST_Msk | SC_ALTCTL_RXRST_Msk | SC_ALTCTL_ADACEN_Msk); in SC_ResetReader()
271 while((sc->ALTCTL & SC_ALTCTL_SYNC_Msk) == SC_ALTCTL_SYNC_Msk) {} in SC_StopAllTimer()
272 sc->ALTCTL &= ~(SC_ALTCTL_CNTEN0_Msk | SC_ALTCTL_CNTEN1_Msk | SC_ALTCTL_CNTEN2_Msk); in SC_StopAllTimer()
302 while((sc->ALTCTL & SC_ALTCTL_SYNC_Msk) == SC_ALTCTL_SYNC_Msk) {} in SC_StartTimer()
307 sc->ALTCTL |= SC_ALTCTL_CNTEN0_Msk; in SC_StartTimer()
313 sc->ALTCTL |= SC_ALTCTL_CNTEN1_Msk; in SC_StartTimer()
319 sc->ALTCTL |= SC_ALTCTL_CNTEN2_Msk; in SC_StartTimer()
[all …]
Dewdt.c56 EWDT->ALTCTL = u32ResetDelay; in EWDT_Open()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dwdt.c55 WDT->ALTCTL = u32ResetDelay; in WDT_Open()
Duart.c613 …uart->ALTCTL &= ~(UART_ALTCTL_RS485NMM_Msk | UART_ALTCTL_RS485AUD_Msk | UART_ALTCTL_RS485AAD_Msk |… in UART_SelectRS485Mode()
614 uart->ALTCTL |= (u32Mode | (u32Addr << UART_ALTCTL_ADDRMV_Pos)); in UART_SelectRS485Mode()
637 uart->ALTCTL &= ~(UART_ALTCTL_LINTXEN_Msk | UART_ALTCTL_LINRXEN_Msk | UART_ALTCTL_BRKFL_Msk); in UART_SelectLINMode()
638 uart->ALTCTL |= (u32Mode | (u32BreakLength << UART_ALTCTL_BRKFL_Pos)); in UART_SelectLINMode()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dwdt.c56 WDT->ALTCTL = u32ResetDelay; in WDT_Open()
Duart.c593 …uart->ALTCTL &= ~(UART_ALTCTL_RS485NMM_Msk | UART_ALTCTL_RS485AUD_Msk | UART_ALTCTL_RS485AAD_Msk |… in UART_SelectRS485Mode()
594 uart->ALTCTL |= (u32Mode | (u32Addr << UART_ALTCTL_ADDRMV_Pos)); in UART_SelectRS485Mode()
617 uart->ALTCTL &= ~(UART_ALTCTL_LINTXEN_Msk | UART_ALTCTL_LINRXEN_Msk | UART_ALTCTL_BRKFL_Msk); in UART_SelectLINMode()
618 uart->ALTCTL |= (u32Mode | (u32BreakLength << UART_ALTCTL_BRKFL_Pos)); in UART_SelectLINMode()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dtimer_pwm.h157 (timer)->ALTCTL = TIMER_ALTCTL_FUNCSEL_Msk; \
158 while(((timer)->ALTCTL & TIMER_ALTCTL_FUNCSEL_Msk) == 0) {} \
179 (timer)->ALTCTL &= ~TIMER_ALTCTL_FUNCSEL_Msk; \
180 while(((timer)->ALTCTL & TIMER_ALTCTL_FUNCSEL_Msk) == TIMER_ALTCTL_FUNCSEL_Msk) {} \
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/Include/
Dwdt_reg.h125 …__IO uint32_t ALTCTL; /*!< [0x0004] WDT Alternative Control Register … member
Dewdt_reg.h126 …__IO uint32_t ALTCTL; /*!< [0x0004] EWDT Alternative Control Register … member
Dsc_reg.h650 …__IO uint32_t ALTCTL; /*!< [0x0008] SC Alternate Control Register … member
Duart_reg.h842 …__IO uint32_t ALTCTL; /*!< [0x002c] UART Alternate Control/Status Register … member
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Device/Nuvoton/M2354/Include/
Dwdt_reg.h125 …__IO uint32_t ALTCTL; /*!< [0x0004] WDT Alternative Control Register … member
Dtimer_reg.h782 …__IO uint32_t ALTCTL; /*!< [0x0020] Timer Alternative Control Register … member
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dtimer_pwm.h150 #define TPWM_ENABLE_PWM_MODE(timer) ((timer)->ALTCTL = (1 << TIMER_ALTCTL_FUNCSEL_Pos))
163 #define TPWM_DISABLE_PWM_MODE(timer) ((timer)->ALTCTL = (0 << TIMER_ALTCTL_FUNCSEL_Pos))
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Device/Nuvoton/M2351/Include/
Dtimer_reg.h700 …__IO uint32_t ALTCTL; /*!< [0x0020] Timer Alternative Control Register … member