| /trusted-firmware-m-latest/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
| D | scuart.h | 60 #define SCUART_WRITE(sc, u8Data) ((sc)->DAT = (u8Data)) argument 75 #define SCUART_GET_TX_EMPTY(sc) ((sc)->STATUS & SC_STATUS_TXEMPTY_Msk) argument 89 #define SCUART_GET_TX_FULL(sc) ((sc)->STATUS & SC_STATUS_TXFULL_Msk) argument 103 #define SCUART_WAIT_TX_EMPTY(sc) while(((sc)->STATUS & SC_STATUS_TXACT_Msk) == SC_STATUS_TXACT_M… argument 118 #define SCUART_IS_TX_FULL(sc) (((sc)->STATUS & SC_STATUS_TXFULL_Msk)? 1 : 0) argument 132 #define SCUART_IS_TX_EMPTY(sc) (((sc)->STATUS & SC_STATUS_TXACT_Msk)? 0 : 1) argument 146 #define SCUART_IS_TX_FIFO_EMPTY(sc) (((sc)->STATUS & SC_STATUS_TXEMPTY_Msk)? 1 : 0) argument 159 #define SCUART_IS_TX_ACTIVE(sc) (((sc)->STATUS & SC_STATUS_TXACT_Msk)? 1 : 0) argument 173 #define SCUART_READ(sc) ((sc)->DAT) argument 188 #define SCUART_GET_RX_EMPTY(sc) ((sc)->STATUS & SC_STATUS_RXEMPTY_Msk) argument [all …]
|
| D | sc.h | 78 #define SC_ENABLE_INT(sc, u32Mask) ((sc)->INTEN |= (u32Mask)) argument 104 #define SC_DISABLE_INT(sc, u32Mask) ((sc)->INTEN &= ~(u32Mask)) argument 117 #define SC_SET_VCC_PIN(sc, u32State) \ argument 138 #define SC_SET_CLK_PIN(sc, u32OnOff)\ argument 158 #define SC_SET_IO_PIN(sc, u32State)\ argument 178 #define SC_SET_RST_PIN(sc, u32State)\ argument 197 #define SC_READ(sc) ((char)((sc)->DAT)) argument 210 #define SC_WRITE(sc, u8Data) ((sc)->DAT = (u8Data)) argument 223 #define SC_SET_STOP_BIT_LEN(sc, u32Len) ((sc)->CTL = ((sc)->CTL & ~SC_CTL_NSB_Msk) | (((u32Len) == … argument 244 __STATIC_INLINE void SC_SetTxRetry(SC_T *sc, uint32_t u32Count) in SC_SetTxRetry() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/ |
| D | scuart.h | 60 #define SCUART_WRITE(sc, u8Data) ((sc)->DAT = (u8Data)) argument 75 #define SCUART_GET_TX_EMPTY(sc) ((sc)->STATUS & SC_STATUS_TXEMPTY_Msk) argument 89 #define SCUART_GET_TX_FULL(sc) ((sc)->STATUS & SC_STATUS_TXFULL_Msk) argument 103 #define SCUART_WAIT_TX_EMPTY(sc) while(((sc)->STATUS & SC_STATUS_TXACT_Msk) == SC_STATUS_TXACT_M… argument 118 #define SCUART_IS_TX_FULL(sc) (((sc)->STATUS & SC_STATUS_TXFULL_Msk)? 1 : 0) argument 132 #define SCUART_IS_TX_EMPTY(sc) (((sc)->STATUS & SC_STATUS_TXACT_Msk)? 0 : 1) argument 146 #define SCUART_IS_TX_FIFO_EMPTY(sc) (((sc)->STATUS & SC_STATUS_TXEMPTY_Msk)? 1 : 0) argument 159 #define SCUART_IS_TX_ACTIVE(sc) (((sc)->STATUS & SC_STATUS_TXACT_Msk)? 1 : 0) argument 173 #define SCUART_READ(sc) ((sc)->DAT) argument 188 #define SCUART_GET_RX_EMPTY(sc) ((sc)->STATUS & SC_STATUS_RXEMPTY_Msk) argument [all …]
|
| D | sc.h | 78 #define SC_ENABLE_INT(sc, u32Mask) ((sc)->INTEN |= (u32Mask)) argument 104 #define SC_DISABLE_INT(sc, u32Mask) ((sc)->INTEN &= ~(u32Mask)) argument 117 #define SC_SET_VCC_PIN(sc, u32State) \ argument 138 #define SC_SET_CLK_PIN(sc, u32OnOff)\ argument 158 #define SC_SET_IO_PIN(sc, u32State)\ argument 178 #define SC_SET_RST_PIN(sc, u32State)\ argument 197 #define SC_READ(sc) ((char)((sc)->DAT)) argument 210 #define SC_WRITE(sc, u8Data) ((sc)->DAT = (u8Data)) argument 223 #define SC_SET_STOP_BIT_LEN(sc, u32Len) ((sc)->CTL = ((sc)->CTL & ~SC_CTL_NSB_Msk) | (((u32Len) == … argument 244 __STATIC_INLINE void SC_SetTxRetry(SC_T *sc, uint32_t u32Count) in SC_SetTxRetry() [all …]
|
| /trusted-firmware-m-latest/platform/ext/target/nuvoton/common/bsp/StdDriver/src/ |
| D | sc.c | 41 uint32_t SC_IsCardInserted(SC_T *sc) in SC_IsCardInserted() 82 void SC_ClearFIFO(SC_T *sc) in SC_ClearFIFO() 97 void SC_Close(SC_T *sc) in SC_Close() 125 void SC_Open(SC_T *sc, uint32_t u32CardDet, uint32_t u32PWR) in SC_Open() 166 void SC_ResetReader(SC_T *sc) in SC_ResetReader() 237 void SC_SetBlockGuardTime(SC_T *sc, uint32_t u32BGT) in SC_SetBlockGuardTime() 253 void SC_SetCharGuardTime(SC_T *sc, uint32_t u32CGT) in SC_SetCharGuardTime() 269 void SC_StopAllTimer(SC_T *sc) in SC_StopAllTimer() 299 void SC_StartTimer(SC_T *sc, uint32_t u32TimerNum, uint32_t u32Mode, uint32_t u32ETUCount) in SC_StartTimer() 333 void SC_StopTimer(SC_T *sc, uint32_t u32TimerNum) in SC_StopTimer() [all …]
|
| D | scuart.c | 33 void SCUART_Close(SC_T* sc) in SCUART_Close() 48 static uint32_t SCUART_GetClock(SC_T *sc) in SCUART_GetClock() 128 uint32_t SCUART_Open(SC_T* sc, uint32_t u32Baudrate) in SCUART_Open() 155 uint32_t SCUART_Read(SC_T* sc, uint8_t pu8RxBuf[], uint32_t u32ReadBytes) in SCUART_Read() 199 uint32_t SCUART_SetLineConfig(SC_T* sc, uint32_t u32Baudrate, uint32_t u32DataWidth, uint32_t u32Pa… in SCUART_SetLineConfig() 234 void SCUART_SetTimeoutCnt(SC_T* sc, uint32_t u32TOC) in SCUART_SetTimeoutCnt() 252 void SCUART_Write(SC_T* sc, uint8_t pu8TxBuf[], uint32_t u32WriteBytes) in SCUART_Write()
|
| /trusted-firmware-m-latest/secure_fw/spm/core/arch/ |
| D | tfm_arch.c | 171 struct tfm_state_context_t *sc; in tfm_arch_refresh_hardware_context() local
|
| /trusted-firmware-m-latest/platform/ext/cmsis/CMSIS/Core/Include/m-profile/ |
| D | cmsis_iccarm_m.h | 601 uint8_t sc = 31U; in __RBIT() local
|