Home
last modified time | relevance | path

Searched refs:u32Mode (Results 1 – 25 of 29) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dgpio.c45 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetMode() argument
53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode()
137 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetSlewCtl() argument
145 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl()
171 void GPIO_SetPullCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetPullCtl() argument
179 port->PUSEL = (port->PUSEL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetPullCtl()
Dqei.c104 void QEI_Open(QEI_T* qei, uint32_t u32Mode, uint32_t u32Value) in QEI_Open() argument
109 …qei->CTL = (qei->CTL & (~QEI_CTL_MODE_Msk)) | ((u32Mode) | QEI_CTL_CHAEN_Msk | QEI_CTL_CHBEN_Msk |… in QEI_Open()
Duart.c587 void UART_SelectRS485Mode(UART_T* uart, uint32_t u32Mode, uint32_t u32Addr) in UART_SelectRS485Mode() argument
594 uart->ALTCTL |= (u32Mode | (u32Addr << UART_ALTCTL_ADDRMV_Pos)); in UART_SelectRS485Mode()
611 void UART_SelectLINMode(UART_T* uart, uint32_t u32Mode, uint32_t u32BreakLength) in UART_SelectLINMode() argument
618 uart->ALTCTL |= (u32Mode | (u32BreakLength << UART_ALTCTL_BRKFL_Pos)); in UART_SelectLINMode()
Dtimer.c42 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) in TIMER_Open() argument
60 timer->CTL = u32Mode | u32Prescale; in TIMER_Open()
Drtc.c1107 void RTC_SetGPIOMode(uint32_t u32PFPin, uint32_t u32Mode, uint32_t u32DigitalCtl, uint32_t u32PullC… in RTC_SetGPIOMode() argument
1118 (u32Mode << (u32Offset * 8)) | in RTC_SetGPIOMode()
1131 (u32Mode << (u32Offset * 8)) | in RTC_SetGPIOMode()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dgpio.c45 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetMode() argument
53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode()
135 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetSlewCtl() argument
143 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl()
168 void GPIO_SetPullCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetPullCtl() argument
176 port->PUSEL = (port->PUSEL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetPullCtl()
Dqei.c104 void QEI_Open(QEI_T* qei, uint32_t u32Mode, uint32_t u32Value) in QEI_Open() argument
109 …qei->CTL = (qei->CTL & (~QEI_CTL_MODE_Msk)) | ((u32Mode) | QEI_CTL_CHAEN_Msk | QEI_CTL_CHBEN_Msk |… in QEI_Open()
Duart.c607 void UART_SelectRS485Mode(UART_T* uart, uint32_t u32Mode, uint32_t u32Addr) in UART_SelectRS485Mode() argument
614 uart->ALTCTL |= (u32Mode | (u32Addr << UART_ALTCTL_ADDRMV_Pos)); in UART_SelectRS485Mode()
631 void UART_SelectLINMode(UART_T* uart, uint32_t u32Mode, uint32_t u32BreakLength) in UART_SelectLINMode() argument
638 uart->ALTCTL |= (u32Mode | (u32BreakLength << UART_ALTCTL_BRKFL_Pos)); in UART_SelectLINMode()
Dtimer.c42 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) in TIMER_Open() argument
60 timer->CTL = u32Mode | u32Prescale; in TIMER_Open()
Depwm.c527 …id EPWM_EnablePDMA(EPWM_T *epwm, uint32_t u32ChannelNum, uint32_t u32RisingFirst, uint32_t u32Mode) in EPWM_EnablePDMA() argument
533 u32Mode | EPWM_PDMACTL_CHEN0_1_Msk) << ((u32ChannelNum >> 1) << 3)); in EPWM_EnablePDMA()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dcrc.c48 void CRC_Open(uint32_t u32Mode, uint32_t u32Attribute, uint32_t u32Seed, uint32_t u32DataLen) in CRC_Open() argument
51 CRC->CTL = u32Mode | u32Attribute | u32DataLen | CRC_CTL_CRCEN_Msk; in CRC_Open()
Dsc.c299 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount) in SC_StartTimer() argument
301 uint32_t u32Reg = u32Mode | (SC_TMRCTL0_CNT_Msk & (u32ETUCount - 1UL)); in SC_StartTimer()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dqei.h367 #define QEI_SET_CNT_MODE(qei, u32Mode) ((qei)->CTL = ((qei)->CTL & (~QEI_CTL_MODE_Msk)) | (u3… argument
373 void QEI_Open(QEI_T* qei, uint32_t u32Mode, uint32_t u32Value);
Duart.h483 void UART_SelectRS485Mode(UART_T* uart, uint32_t u32Mode, uint32_t u32Addr);
484 void UART_SelectLINMode(UART_T* uart, uint32_t u32Mode, uint32_t u32BreakLength);
Dgpio.h750 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
753 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
754 void GPIO_SetPullCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
Dtimer.h482 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dqei.h367 #define QEI_SET_CNT_MODE(qei, u32Mode) ((qei)->CTL = ((qei)->CTL & (~QEI_CTL_MODE_Msk)) | (u3… argument
373 void QEI_Open(QEI_T* qei, uint32_t u32Mode, uint32_t u32Value);
Duart.h499 void UART_SelectRS485Mode(UART_T* uart, uint32_t u32Mode, uint32_t u32Addr);
500 void UART_SelectLINMode(UART_T* uart, uint32_t u32Mode, uint32_t u32BreakLength);
Dsc.h291 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount);
Drtc.h383 void RTC_SetGPIOMode(uint32_t u32PFPin, uint32_t u32Mode, uint32_t u32DigitalCtl, uint32_t u32PullC…
Dgpio.h1138 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
1141 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
1142 void GPIO_SetPullCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode);
Dtimer.h518 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dcrc.h101 void CRC_Open(uint32_t u32Mode, uint32_t u32Attribute, uint32_t u32Seed, uint32_t u32DataLen);
Dcan.h153 uint32_t CAN_Open(CAN_T *tCAN, uint32_t u32BaudRate, uint32_t u32Mode);
Dsc.h291 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount);

12