Home
last modified time | relevance | path

Searched defs:qspi (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dqspi.h78 #define QSPI_CLR_UNIT_TRANS_INT_FLAG(qspi) ( (qspi)->STATUS = QSPI_STATUS_UNITIF_Msk ) argument
86 #define QSPI_DISABLE_2BIT_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_TWOBIT_Msk ) argument
94 #define QSPI_DISABLE_3WIRE_MODE(qspi) ( (qspi)->SSCTL &= ~QSPI_SSCTL_SLV3WIRE_Msk ) argument
102 #define QSPI_DISABLE_DUAL_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_DUALIOEN_Msk ) argument
110 #define QSPI_DISABLE_QUAD_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_QUADIOEN_Msk ) argument
118 #define QSPI_ENABLE_2BIT_MODE(qspi) ( (qspi)->CTL |= QSPI_CTL_TWOBIT_Msk ) argument
126 #define QSPI_ENABLE_3WIRE_MODE(qspi) ( (qspi)->SSCTL |= QSPI_SSCTL_SLV3WIRE_Msk ) argument
134 #define QSPI_ENABLE_DUAL_INPUT_MODE(qspi) ( (qspi)->CTL = ((qspi)->CTL & (~QSPI_CTL_DATDIR_Msk)) … argument
142 #define QSPI_ENABLE_DUAL_OUTPUT_MODE(qspi) ( (qspi)->CTL |= (QSPI_CTL_DATDIR_Msk | QSPI_CTL_DUALI… argument
150 #define QSPI_ENABLE_QUAD_INPUT_MODE(qspi) ( (qspi)->CTL = ((qspi)->CTL & (~QSPI_CTL_DATDIR_Msk)) … argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dqspi.h81 #define QSPI_CLR_UNIT_TRANS_INT_FLAG(qspi) ( (qspi)->STATUS = QSPI_STATUS_UNITIF_Msk ) argument
89 #define QSPI_DISABLE_2BIT_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_TWOBIT_Msk ) argument
97 #define QSPI_DISABLE_3WIRE_MODE(qspi) ( (qspi)->SSCTL &= ~QSPI_SSCTL_SLV3WIRE_Msk ) argument
105 #define QSPI_DISABLE_DUAL_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_DUALIOEN_Msk ) argument
113 #define QSPI_DISABLE_QUAD_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_QUADIOEN_Msk ) argument
121 #define QSPI_DISABLE_TXDTR_MODE(qspi) ( (qspi)->CTL &= ~QSPI_CTL_TXDTREN_Msk ) argument
129 #define QSPI_ENABLE_2BIT_MODE(qspi) ( (qspi)->CTL |= QSPI_CTL_TWOBIT_Msk ) argument
137 #define QSPI_ENABLE_3WIRE_MODE(qspi) ( (qspi)->SSCTL |= QSPI_SSCTL_SLV3WIRE_Msk ) argument
145 #define QSPI_ENABLE_DUAL_INPUT_MODE(qspi) ( (qspi)->CTL = ((qspi)->CTL & (~QSPI_CTL_DATDIR_Msk)) … argument
153 #define QSPI_ENABLE_DUAL_OUTPUT_MODE(qspi) ( (qspi)->CTL |= (QSPI_CTL_DATDIR_Msk | QSPI_CTL_DUALI… argument
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dqspi.c46 uint32_t QSPI_Open(QSPI_T *qspi, in QSPI_Open()
199 void QSPI_Close(QSPI_T *qspi) in QSPI_Close()
210 void QSPI_ClearRxFIFO(QSPI_T *qspi) in QSPI_ClearRxFIFO()
222 void QSPI_ClearTxFIFO(QSPI_T *qspi) in QSPI_ClearTxFIFO()
233 void QSPI_DisableAutoSS(QSPI_T *qspi) in QSPI_DisableAutoSS()
247 void QSPI_EnableAutoSS(QSPI_T *qspi, uint32_t u32SSPinMask, uint32_t u32ActiveLevel) in QSPI_EnableAutoSS()
266 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock) in QSPI_SetBusClock()
357 void QSPI_SetFIFO(QSPI_T *qspi, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in QSPI_SetFIFO()
370 uint32_t QSPI_GetBusClock(QSPI_T *qspi) in QSPI_GetBusClock()
427 void QSPI_EnableInt(QSPI_T *qspi, uint32_t u32Mask) in QSPI_EnableInt()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dqspi.c46 uint32_t QSPI_Open(QSPI_T *qspi, in QSPI_Open()
199 void QSPI_Close(QSPI_T *qspi) in QSPI_Close()
210 void QSPI_ClearRxFIFO(QSPI_T *qspi) in QSPI_ClearRxFIFO()
222 void QSPI_ClearTxFIFO(QSPI_T *qspi) in QSPI_ClearTxFIFO()
233 void QSPI_DisableAutoSS(QSPI_T *qspi) in QSPI_DisableAutoSS()
247 void QSPI_EnableAutoSS(QSPI_T *qspi, uint32_t u32SSPinMask, uint32_t u32ActiveLevel) in QSPI_EnableAutoSS()
266 uint32_t QSPI_SetBusClock(QSPI_T *qspi, uint32_t u32BusClock) in QSPI_SetBusClock()
357 void QSPI_SetFIFO(QSPI_T *qspi, uint32_t u32TxThreshold, uint32_t u32RxThreshold) in QSPI_SetFIFO()
370 uint32_t QSPI_GetBusClock(QSPI_T *qspi) in QSPI_GetBusClock()
427 void QSPI_EnableInt(QSPI_T *qspi, uint32_t u32Mask) in QSPI_EnableInt()
[all …]