Lines Matching refs:base
358 __STATIC_FORCEINLINE uint32_t Cy_SCB_ReadRxFifo (CySCB_Type const *base);
359 __STATIC_INLINE void Cy_SCB_SetRxFifoLevel(CySCB_Type *base, uint32_t level);
360 __STATIC_INLINE uint32_t Cy_SCB_GetNumInRxFifo(CySCB_Type const *base);
361 __STATIC_INLINE uint32_t Cy_SCB_GetRxSrValid (CySCB_Type const *base);
362 __STATIC_INLINE void Cy_SCB_ClearRxFifo (CySCB_Type *base);
364 __STATIC_FORCEINLINE void Cy_SCB_WriteTxFifo (CySCB_Type *base, uint32_t data);
365 __STATIC_INLINE void Cy_SCB_SetTxFifoLevel(CySCB_Type *base, uint32_t level);
366 __STATIC_INLINE uint32_t Cy_SCB_GetNumInTxFifo(CySCB_Type const *base);
367 __STATIC_INLINE uint32_t Cy_SCB_GetTxSrValid (CySCB_Type const *base);
368 __STATIC_INLINE bool Cy_SCB_IsTxComplete (CySCB_Type const *base);
369 __STATIC_INLINE void Cy_SCB_ClearTxFifo (CySCB_Type *base);
371 __STATIC_INLINE void Cy_SCB_SetByteMode(CySCB_Type *base, bool byteMode);
373 __STATIC_INLINE uint32_t Cy_SCB_GetInterruptCause(CySCB_Type const *base);
375 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatus(CySCB_Type const *base);
376 __STATIC_INLINE void Cy_SCB_SetRxInterruptMask (CySCB_Type *base, uint32_t interruptMask);
377 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptMask (CySCB_Type const *base);
378 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatusMasked(CySCB_Type const *base);
379 __STATIC_INLINE void Cy_SCB_ClearRxInterrupt (CySCB_Type *base, uint32_t interruptMask);
380 __STATIC_INLINE void Cy_SCB_SetRxInterrupt (CySCB_Type *base, uint32_t interruptMask);
382 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatus(CySCB_Type const *base);
383 __STATIC_INLINE void Cy_SCB_SetTxInterruptMask (CySCB_Type *base, uint32_t interruptMask);
384 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptMask (CySCB_Type const *base);
385 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatusMasked(CySCB_Type const *base);
386 __STATIC_INLINE void Cy_SCB_ClearTxInterrupt (CySCB_Type *base, uint32_t interruptMask);
387 __STATIC_INLINE void Cy_SCB_SetTxInterrupt (CySCB_Type *base, uint32_t interruptMask);
389 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatus(CySCB_Type const *base);
390 __STATIC_INLINE void Cy_SCB_SetMasterInterruptMask (CySCB_Type *base, uint32_t interruptMask);
391 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptMask (CySCB_Type const *base);
392 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatusMasked(CySCB_Type const *base);
393 __STATIC_INLINE void Cy_SCB_ClearMasterInterrupt (CySCB_Type *base, uint32_t interruptMask);
394 __STATIC_INLINE void Cy_SCB_SetMasterInterrupt (CySCB_Type *base, uint32_t interruptMask);
396 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatus(CySCB_Type const *base);
397 __STATIC_INLINE void Cy_SCB_SetSlaveInterruptMask (CySCB_Type *base, uint32_t interruptMask);
398 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptMask (CySCB_Type const *base);
399 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatusMasked(CySCB_Type const *base);
400 __STATIC_INLINE void Cy_SCB_ClearSlaveInterrupt (CySCB_Type *base, uint32_t interruptMask);
401 __STATIC_INLINE void Cy_SCB_SetSlaveInterrupt (CySCB_Type *base, uint32_t interruptMask);
403 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatus(CySCB_Type const *base);
404 __STATIC_INLINE void Cy_SCB_SetI2CInterruptMask (CySCB_Type *base, uint32_t interruptMask);
405 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptMask (CySCB_Type const *base);
406 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatusMasked(CySCB_Type const *base);
407 __STATIC_INLINE void Cy_SCB_ClearI2CInterrupt (CySCB_Type *base, uint32_t interruptMask);
409 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatus(CySCB_Type const *base);
410 __STATIC_INLINE void Cy_SCB_SetSpiInterruptMask (CySCB_Type *base, uint32_t interruptMask);
411 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptMask (CySCB_Type const *base);
412 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatusMasked(CySCB_Type const *base);
413 __STATIC_INLINE void Cy_SCB_ClearSpiInterrupt (CySCB_Type *base, uint32_t interruptMask);
421 void Cy_SCB_ReadArrayNoCheck (CySCB_Type const *base, void *buffer, uint32_t size);
422 uint32_t Cy_SCB_ReadArray (CySCB_Type const *base, void *buffer, uint32_t size);
423 void Cy_SCB_ReadArrayBlocking (CySCB_Type const *base, void *buffer, uint32_t size);
424 uint32_t Cy_SCB_Write (CySCB_Type *base, uint32_t data);
425 void Cy_SCB_WriteArrayNoCheck (CySCB_Type *base, void *buffer, uint32_t size);
426 uint32_t Cy_SCB_WriteArray (CySCB_Type *base, void *buffer, uint32_t size);
427 void Cy_SCB_WriteArrayBlocking(CySCB_Type *base, void *buffer, uint32_t size);
428 void Cy_SCB_WriteString (CySCB_Type *base, char_t const string[]);
429 void Cy_SCB_WriteDefaultArrayNoCheck(CySCB_Type *base, uint32_t txData, uint32_t size);
430 uint32_t Cy_SCB_WriteDefaultArray (CySCB_Type *base, uint32_t txData, uint32_t size);
432 __STATIC_INLINE uint32_t Cy_SCB_GetFifoSize (CySCB_Type const *base);
433 __STATIC_INLINE void Cy_SCB_FwBlockReset(CySCB_Type *base);
434 __STATIC_INLINE bool Cy_SCB_IsRxDataWidthByte(CySCB_Type const *base);
435 __STATIC_INLINE bool Cy_SCB_IsTxDataWidthByte(CySCB_Type const *base);
436 __STATIC_INLINE uint32_t Cy_SCB_GetRxFifoLevel (CySCB_Type const *base);
438 __STATIC_INLINE uint32_t Cy_SCB_Get_RxDataWidth(CySCB_Type const *base);
439 __STATIC_INLINE uint32_t Cy_SCB_Get_TxDataWidth(CySCB_Type const *base);
823 #define CY_SCB_IS_TRIGGER_LEVEL_VALID(base, level) ((level) < Cy_SCB_GetFifoSize(base)) argument
856 __STATIC_FORCEINLINE uint32_t Cy_SCB_ReadRxFifo(CySCB_Type const *base) in Cy_SCB_ReadRxFifo() argument
858 return (SCB_RX_FIFO_RD(base)); in Cy_SCB_ReadRxFifo()
876 __STATIC_INLINE void Cy_SCB_SetRxFifoLevel(CySCB_Type *base, uint32_t level) in Cy_SCB_SetRxFifoLevel() argument
878 CY_ASSERT_L2(CY_SCB_IS_TRIGGER_LEVEL_VALID(base, level)); in Cy_SCB_SetRxFifoLevel()
880 CY_REG32_CLR_SET(SCB_RX_FIFO_CTRL(base), SCB_RX_FIFO_CTRL_TRIGGER_LEVEL, level); in Cy_SCB_SetRxFifoLevel()
897 __STATIC_INLINE uint32_t Cy_SCB_GetNumInRxFifo(CySCB_Type const *base) in Cy_SCB_GetNumInRxFifo() argument
899 return _FLD2VAL(SCB_RX_FIFO_STATUS_USED, SCB_RX_FIFO_STATUS(base)); in Cy_SCB_GetNumInRxFifo()
916 __STATIC_INLINE uint32_t Cy_SCB_GetRxSrValid(CySCB_Type const *base) in Cy_SCB_GetRxSrValid() argument
918 return _FLD2VAL(SCB_RX_FIFO_STATUS_SR_VALID, SCB_RX_FIFO_STATUS(base)); in Cy_SCB_GetRxSrValid()
935 __STATIC_INLINE void Cy_SCB_ClearRxFifo(CySCB_Type* base) in Cy_SCB_ClearRxFifo() argument
937 SCB_RX_FIFO_CTRL(base) |= (uint32_t) SCB_RX_FIFO_CTRL_CLEAR_Msk; in Cy_SCB_ClearRxFifo()
938 SCB_RX_FIFO_CTRL(base) &= (uint32_t) ~SCB_RX_FIFO_CTRL_CLEAR_Msk; in Cy_SCB_ClearRxFifo()
940 (void) SCB_RX_FIFO_CTRL(base); in Cy_SCB_ClearRxFifo()
959 __STATIC_FORCEINLINE void Cy_SCB_WriteTxFifo(CySCB_Type* base, uint32_t data) in Cy_SCB_WriteTxFifo() argument
961 SCB_TX_FIFO_WR(base) = data; in Cy_SCB_WriteTxFifo()
980 __STATIC_INLINE void Cy_SCB_SetTxFifoLevel(CySCB_Type *base, uint32_t level) in Cy_SCB_SetTxFifoLevel() argument
982 CY_ASSERT_L2(CY_SCB_IS_TRIGGER_LEVEL_VALID(base, level)); in Cy_SCB_SetTxFifoLevel()
984 CY_REG32_CLR_SET(SCB_TX_FIFO_CTRL(base), SCB_TX_FIFO_CTRL_TRIGGER_LEVEL, level); in Cy_SCB_SetTxFifoLevel()
1001 __STATIC_INLINE uint32_t Cy_SCB_GetNumInTxFifo(CySCB_Type const *base) in Cy_SCB_GetNumInTxFifo() argument
1003 return _FLD2VAL(SCB_TX_FIFO_STATUS_USED, SCB_TX_FIFO_STATUS(base)); in Cy_SCB_GetNumInTxFifo()
1020 __STATIC_INLINE uint32_t Cy_SCB_GetTxSrValid(CySCB_Type const *base) in Cy_SCB_GetTxSrValid() argument
1022 return _FLD2VAL(SCB_TX_FIFO_STATUS_SR_VALID, SCB_TX_FIFO_STATUS(base)); in Cy_SCB_GetTxSrValid()
1039 __STATIC_INLINE bool Cy_SCB_IsTxComplete(CySCB_Type const *base) in Cy_SCB_IsTxComplete() argument
1041 return (0UL == (Cy_SCB_GetNumInTxFifo(base) + Cy_SCB_GetTxSrValid(base))); in Cy_SCB_IsTxComplete()
1060 __STATIC_INLINE void Cy_SCB_ClearTxFifo(CySCB_Type *base) in Cy_SCB_ClearTxFifo() argument
1062 SCB_TX_FIFO_CTRL(base) |= (uint32_t) SCB_TX_FIFO_CTRL_CLEAR_Msk; in Cy_SCB_ClearTxFifo()
1063 SCB_TX_FIFO_CTRL(base) &= (uint32_t) ~SCB_TX_FIFO_CTRL_CLEAR_Msk; in Cy_SCB_ClearTxFifo()
1065 (void) SCB_TX_FIFO_CTRL(base); in Cy_SCB_ClearTxFifo()
1085 __STATIC_INLINE void Cy_SCB_SetByteMode(CySCB_Type *base, bool byteMode) in Cy_SCB_SetByteMode() argument
1088 SCB_CTRL(base) &= ~SCB_CTRL_MEM_WIDTH_Msk; in Cy_SCB_SetByteMode()
1091 SCB_CTRL(base) |= _VAL2FLD(SCB_CTRL_MEM_WIDTH, CY_SCB_MEM_WIDTH_BYTE); in Cy_SCB_SetByteMode()
1095 SCB_CTRL(base) |= _VAL2FLD(SCB_CTRL_MEM_WIDTH, CY_SCB_MEM_WIDTH_HALFWORD); in Cy_SCB_SetByteMode()
1100 SCB_CTRL(base) |= SCB_CTRL_BYTE_MODE_Msk; in Cy_SCB_SetByteMode()
1104 SCB_CTRL(base) &= ~SCB_CTRL_BYTE_MODE_Msk; in Cy_SCB_SetByteMode()
1130 __STATIC_INLINE void Cy_SCB_SetMemWidth(CySCB_Type *base, uint32_t MemWidthMode) in Cy_SCB_SetMemWidth() argument
1134 SCB_CTRL(base) &= ~SCB_CTRL_MEM_WIDTH_Msk; in Cy_SCB_SetMemWidth()
1136 SCB_CTRL(base) |= _VAL2FLD(SCB_CTRL_MEM_WIDTH, MemWidthMode); in Cy_SCB_SetMemWidth()
1156 __STATIC_INLINE uint32_t Cy_SCB_GetInterruptCause(CySCB_Type const *base) in Cy_SCB_GetInterruptCause() argument
1158 return (SCB_INTR_CAUSE(base)); in Cy_SCB_GetInterruptCause()
1179 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetRxInterruptStatus() argument
1181 return (SCB_INTR_RX(base) & CY_SCB_RX_INTR_MASK); in Cy_SCB_GetRxInterruptStatus()
1200 __STATIC_INLINE void Cy_SCB_SetRxInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetRxInterruptMask() argument
1204 SCB_INTR_RX_MASK(base) = interruptMask; in Cy_SCB_SetRxInterruptMask()
1223 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptMask(CySCB_Type const *base) in Cy_SCB_GetRxInterruptMask() argument
1225 return (SCB_INTR_RX_MASK(base)); in Cy_SCB_GetRxInterruptMask()
1247 __STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetRxInterruptStatusMasked() argument
1249 return (SCB_INTR_RX_MASKED(base)); in Cy_SCB_GetRxInterruptStatusMasked()
1275 __STATIC_INLINE void Cy_SCB_ClearRxInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearRxInterrupt() argument
1279 SCB_INTR_RX(base) = interruptMask; in Cy_SCB_ClearRxInterrupt()
1280 (void) SCB_INTR_RX(base); in Cy_SCB_ClearRxInterrupt()
1298 __STATIC_INLINE void Cy_SCB_SetRxInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetRxInterrupt() argument
1302 SCB_INTR_RX_SET(base) = interruptMask; in Cy_SCB_SetRxInterrupt()
1323 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetTxInterruptStatus() argument
1325 return (SCB_INTR_TX(base) & CY_SCB_TX_INTR_MASK); in Cy_SCB_GetTxInterruptStatus()
1344 __STATIC_INLINE void Cy_SCB_SetTxInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetTxInterruptMask() argument
1348 SCB_INTR_TX_MASK(base) = interruptMask; in Cy_SCB_SetTxInterruptMask()
1367 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptMask(CySCB_Type const *base) in Cy_SCB_GetTxInterruptMask() argument
1369 return (SCB_INTR_TX_MASK(base)); in Cy_SCB_GetTxInterruptMask()
1391 __STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetTxInterruptStatusMasked() argument
1393 return (SCB_INTR_TX_MASKED(base)); in Cy_SCB_GetTxInterruptStatusMasked()
1421 __STATIC_INLINE void Cy_SCB_ClearTxInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearTxInterrupt() argument
1425 SCB_INTR_TX(base) = interruptMask; in Cy_SCB_ClearTxInterrupt()
1426 (void) SCB_INTR_TX(base); in Cy_SCB_ClearTxInterrupt()
1444 __STATIC_INLINE void Cy_SCB_SetTxInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetTxInterrupt() argument
1448 SCB_INTR_TX_SET(base) = interruptMask; in Cy_SCB_SetTxInterrupt()
1469 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetMasterInterruptStatus() argument
1471 return (SCB_INTR_M(base) & CY_SCB_MASTER_INTR_MASK); in Cy_SCB_GetMasterInterruptStatus()
1490 __STATIC_INLINE void Cy_SCB_SetMasterInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetMasterInterruptMask() argument
1494 SCB_INTR_M_MASK(base) = interruptMask; in Cy_SCB_SetMasterInterruptMask()
1513 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptMask(CySCB_Type const *base) in Cy_SCB_GetMasterInterruptMask() argument
1515 return (SCB_INTR_M_MASK(base)); in Cy_SCB_GetMasterInterruptMask()
1538 __STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetMasterInterruptStatusMasked() argument
1540 return (SCB_INTR_M_MASKED(base)); in Cy_SCB_GetMasterInterruptStatusMasked()
1558 __STATIC_INLINE void Cy_SCB_ClearMasterInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearMasterInterrupt() argument
1562 SCB_INTR_M(base) = interruptMask; in Cy_SCB_ClearMasterInterrupt()
1563 (void) SCB_INTR_M(base); in Cy_SCB_ClearMasterInterrupt()
1581 __STATIC_INLINE void Cy_SCB_SetMasterInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetMasterInterrupt() argument
1585 SCB_INTR_M_SET(base) = interruptMask; in Cy_SCB_SetMasterInterrupt()
1606 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetSlaveInterruptStatus() argument
1608 return (SCB_INTR_S(base) & CY_SCB_SLAVE_INTR_MASK); in Cy_SCB_GetSlaveInterruptStatus()
1628 __STATIC_INLINE void Cy_SCB_SetSlaveInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetSlaveInterruptMask() argument
1632 SCB_INTR_S_MASK(base) = interruptMask; in Cy_SCB_SetSlaveInterruptMask()
1652 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptMask(CySCB_Type const *base) in Cy_SCB_GetSlaveInterruptMask() argument
1654 return (SCB_INTR_S_MASK(base)); in Cy_SCB_GetSlaveInterruptMask()
1677 __STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetSlaveInterruptStatusMasked() argument
1679 return (SCB_INTR_S_MASKED(base)); in Cy_SCB_GetSlaveInterruptStatusMasked()
1697 __STATIC_INLINE void Cy_SCB_ClearSlaveInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearSlaveInterrupt() argument
1701 SCB_INTR_S(base) = interruptMask; in Cy_SCB_ClearSlaveInterrupt()
1702 (void) SCB_INTR_S(base); in Cy_SCB_ClearSlaveInterrupt()
1720 __STATIC_INLINE void Cy_SCB_SetSlaveInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetSlaveInterrupt() argument
1724 SCB_INTR_S_SET(base) = interruptMask; in Cy_SCB_SetSlaveInterrupt()
1745 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetI2CInterruptStatus() argument
1747 return (SCB_INTR_I2C_EC(base) & CY_SCB_I2C_INTR_MASK); in Cy_SCB_GetI2CInterruptStatus()
1766 __STATIC_INLINE void Cy_SCB_SetI2CInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetI2CInterruptMask() argument
1770 SCB_INTR_I2C_EC_MASK(base) = interruptMask; in Cy_SCB_SetI2CInterruptMask()
1789 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptMask(CySCB_Type const *base) in Cy_SCB_GetI2CInterruptMask() argument
1791 return (SCB_INTR_I2C_EC_MASK(base)); in Cy_SCB_GetI2CInterruptMask()
1813 __STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetI2CInterruptStatusMasked() argument
1815 return (SCB_INTR_I2C_EC_MASKED(base)); in Cy_SCB_GetI2CInterruptStatusMasked()
1833 __STATIC_INLINE void Cy_SCB_ClearI2CInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearI2CInterrupt() argument
1837 SCB_INTR_I2C_EC(base) = interruptMask; in Cy_SCB_ClearI2CInterrupt()
1838 (void) SCB_INTR_I2C_EC(base); in Cy_SCB_ClearI2CInterrupt()
1858 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatus(CySCB_Type const *base) in Cy_SCB_GetSpiInterruptStatus() argument
1860 return (SCB_INTR_SPI_EC(base) & CY_SCB_SPI_INTR_MASK); in Cy_SCB_GetSpiInterruptStatus()
1879 __STATIC_INLINE void Cy_SCB_SetSpiInterruptMask(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_SetSpiInterruptMask() argument
1883 SCB_INTR_SPI_EC_MASK(base) = interruptMask; in Cy_SCB_SetSpiInterruptMask()
1902 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptMask(CySCB_Type const *base) in Cy_SCB_GetSpiInterruptMask() argument
1904 return (SCB_INTR_SPI_EC_MASK(base)); in Cy_SCB_GetSpiInterruptMask()
1926 __STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatusMasked(CySCB_Type const *base) in Cy_SCB_GetSpiInterruptStatusMasked() argument
1928 return (SCB_INTR_SPI_EC_MASKED(base)); in Cy_SCB_GetSpiInterruptStatusMasked()
1946 __STATIC_INLINE void Cy_SCB_ClearSpiInterrupt(CySCB_Type *base, uint32_t interruptMask) in Cy_SCB_ClearSpiInterrupt() argument
1950 SCB_INTR_SPI_EC(base) = interruptMask; in Cy_SCB_ClearSpiInterrupt()
1951 (void) SCB_INTR_SPI_EC(base); in Cy_SCB_ClearSpiInterrupt()
1968 __STATIC_INLINE uint32_t Cy_SCB_GetFifoSize(CySCB_Type const *base) in Cy_SCB_GetFifoSize() argument
1971 {return (((uint32_t)(CY_SCB_FIFO_SIZE)) >> _FLD2VAL(SCB_CTRL_MEM_WIDTH, SCB_CTRL(base)));} in Cy_SCB_GetFifoSize()
1973 …{return (_FLD2BOOL(SCB_CTRL_BYTE_MODE, SCB_CTRL(base)) ? (CY_SCB_FIFO_SIZE) : (CY_SCB_FIFO_SIZE / … in Cy_SCB_GetFifoSize()
1994 __STATIC_INLINE bool Cy_SCB_IsRxDataWidthByte(CySCB_Type const *base) in Cy_SCB_IsRxDataWidthByte() argument
1996 return (_FLD2VAL(SCB_RX_CTRL_DATA_WIDTH, SCB_RX_CTRL(base)) < CY_SCB_BYTE_WIDTH); in Cy_SCB_IsRxDataWidthByte()
2019 __STATIC_INLINE uint32_t Cy_SCB_Get_RxDataWidth(CySCB_Type const *base) in Cy_SCB_Get_RxDataWidth() argument
2021 return (_FLD2VAL(SCB_RX_CTRL_DATA_WIDTH, SCB_RX_CTRL(base)) + 1UL); in Cy_SCB_Get_RxDataWidth()
2038 __STATIC_INLINE bool Cy_SCB_IsTxDataWidthByte(CySCB_Type const *base) in Cy_SCB_IsTxDataWidthByte() argument
2040 return (_FLD2VAL(SCB_TX_CTRL_DATA_WIDTH, SCB_TX_CTRL(base)) < CY_SCB_BYTE_WIDTH); in Cy_SCB_IsTxDataWidthByte()
2061 __STATIC_INLINE uint32_t Cy_SCB_Get_TxDataWidth(CySCB_Type const *base) in Cy_SCB_Get_TxDataWidth() argument
2063 return (_FLD2VAL(SCB_TX_CTRL_DATA_WIDTH, SCB_TX_CTRL(base)) + 1UL); in Cy_SCB_Get_TxDataWidth()
2080 __STATIC_INLINE void Cy_SCB_FwBlockReset(CySCB_Type *base) in Cy_SCB_FwBlockReset() argument
2082 SCB_CTRL(base) &= (uint32_t) ~SCB_CTRL_ENABLED_Msk; in Cy_SCB_FwBlockReset()
2085 SCB_I2C_M_CMD(base) = 0UL; in Cy_SCB_FwBlockReset()
2086 SCB_I2C_S_CMD(base) = 0UL; in Cy_SCB_FwBlockReset()
2088 SCB_CTRL(base) |= (uint32_t) SCB_CTRL_ENABLED_Msk; in Cy_SCB_FwBlockReset()
2090 (void) SCB_CTRL(base); in Cy_SCB_FwBlockReset()
2108 __STATIC_INLINE uint32_t Cy_SCB_GetRxFifoLevel(CySCB_Type const *base) in Cy_SCB_GetRxFifoLevel() argument
2110 return _FLD2VAL(SCB_RX_FIFO_CTRL_TRIGGER_LEVEL, SCB_RX_FIFO_CTRL(base)); in Cy_SCB_GetRxFifoLevel()