/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | gpio.c | 45 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()
|
D | qei.c | 104 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()
|
D | uart.c | 587 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()
|
D | timer.c | 42 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()
|
D | rtc.c | 1107 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/ |
D | gpio.c | 45 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()
|
D | qei.c | 104 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()
|
D | uart.c | 607 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()
|
D | timer.c | 42 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()
|
D | epwm.c | 527 …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/ |
D | crc.c | 48 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()
|
D | sc.c | 299 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/ |
D | qei.h | 367 #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);
|
D | uart.h | 483 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);
|
D | gpio.h | 750 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);
|
D | timer.h | 482 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/ |
D | qei.h | 367 #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);
|
D | uart.h | 499 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);
|
D | sc.h | 291 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount);
|
D | rtc.h | 383 void RTC_SetGPIOMode(uint32_t u32PFPin, uint32_t u32Mode, uint32_t u32DigitalCtl, uint32_t u32PullC…
|
D | gpio.h | 1138 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);
|
D | timer.h | 518 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/ |
D | crc.h | 101 void CRC_Open(uint32_t u32Mode, uint32_t u32Attribute, uint32_t u32Seed, uint32_t u32DataLen);
|
D | can.h | 153 uint32_t CAN_Open(CAN_T *tCAN, uint32_t u32BaudRate, uint32_t u32Mode);
|
D | sc.h | 291 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount);
|