Functions | |
__STATIC_FORCEINLINE uint32_t | Cy_SCB_ReadRxFifo (CySCB_Type const *base) |
Reads a data element directly out of the RX FIFO. More... | |
__STATIC_INLINE void | Cy_SCB_SetRxFifoLevel (CySCB_Type *base, uint32_t level) |
Sets the RX FIFO level. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetNumInRxFifo (CySCB_Type const *base) |
Returns the number of data elements currently in the RX FIFO. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetRxSrValid (CySCB_Type const *base) |
Returns the status of the RX FIFO Shift Register valid bit. More... | |
__STATIC_INLINE void | Cy_SCB_ClearRxFifo (CySCB_Type *base) |
Clears the RX FIFO and shifter. More... | |
__STATIC_FORCEINLINE void | Cy_SCB_WriteTxFifo (CySCB_Type *base, uint32_t data) |
Writes data directly into the TX FIFO. More... | |
__STATIC_INLINE void | Cy_SCB_SetTxFifoLevel (CySCB_Type *base, uint32_t level) |
Sets the TX FIFO level. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetNumInTxFifo (CySCB_Type const *base) |
Returns the number of data elements currently in the TX FIFO. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetTxSrValid (CySCB_Type const *base) |
Returns the status of the TX FIFO Shift Register valid bit. More... | |
__STATIC_INLINE bool | Cy_SCB_IsTxComplete (CySCB_Type const *base) |
Checks whether the TX FIFO and Shifter are empty and there is no more data to send. More... | |
__STATIC_INLINE void | Cy_SCB_ClearTxFifo (CySCB_Type *base) |
Clears the TX FIFO. More... | |
__STATIC_INLINE void | Cy_SCB_SetByteMode (CySCB_Type *base, bool byteMode) |
Sets whether the RX and TX FIFOs are in byte mode. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetInterruptCause (CySCB_Type const *base) |
Returns the mask of bits showing the source of the current triggered interrupt. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetRxInterruptStatus (CySCB_Type const *base) |
Returns the RX interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetRxInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes the RX interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetRxInterruptMask (CySCB_Type const *base) |
Returns the RX interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetRxInterruptStatusMasked (CySCB_Type const *base) |
Returns the RX interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearRxInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears the RX interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetRxInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Sets the RX interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetTxInterruptStatus (CySCB_Type const *base) |
Returns the TX interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetTxInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes the TX interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetTxInterruptMask (CySCB_Type const *base) |
Returns the TX interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetTxInterruptStatusMasked (CySCB_Type const *base) |
Returns the TX interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearTxInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears the TX interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetTxInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Sets TX interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetMasterInterruptStatus (CySCB_Type const *base) |
Returns the master interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetMasterInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes the master interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetMasterInterruptMask (CySCB_Type const *base) |
Returns the master interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetMasterInterruptStatusMasked (CySCB_Type const *base) |
Returns the master interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearMasterInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears master interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetMasterInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Sets master interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSlaveInterruptStatus (CySCB_Type const *base) |
Returns the slave interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetSlaveInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes slave interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSlaveInterruptMask (CySCB_Type const *base) |
Returns the slave interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSlaveInterruptStatusMasked (CySCB_Type const *base) |
Returns the slave interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearSlaveInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears the slave interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetSlaveInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Sets slave interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetI2CInterruptStatus (CySCB_Type const *base) |
Returns the I2C interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetI2CInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes the I2C interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetI2CInterruptMask (CySCB_Type const *base) |
Returns the I2C interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetI2CInterruptStatusMasked (CySCB_Type const *base) |
Returns the I2C interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearI2CInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears I2C interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSpiInterruptStatus (CySCB_Type const *base) |
Returns the SPI interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetSpiInterruptMask (CySCB_Type *base, uint32_t interruptMask) |
Writes the SPI interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSpiInterruptMask (CySCB_Type const *base) |
Returns the SPI interrupt mask register. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_GetSpiInterruptStatusMasked (CySCB_Type const *base) |
Returns the SPI interrupt masked request register. More... | |
__STATIC_INLINE void | Cy_SCB_ClearSpiInterrupt (CySCB_Type *base, uint32_t interruptMask) |
Clears SPI interrupt sources in the interrupt request register. More... | |
__STATIC_INLINE void | Cy_SCB_SetMemWidth (CySCB_Type *base, uint32_t MemWidthMode) |
Sets the RX and TX FIFOs byte mode/halfword/word mode. More... | |
__STATIC_INLINE uint32_t | Cy_SCB_Get_RxDataWidth (CySCB_Type const *base) |
Returns the RX data width. More... | |
__STATIC_INLINE bool | Cy_SCB_IsTxDataWidthByte (CySCB_Type const *base) |
Returns true if the TX data width is a byte (8 bits). More... | |
__STATIC_INLINE uint32_t | Cy_SCB_Get_TxDataWidth (CySCB_Type const *base) |
Returns the TX data width. More... | |
__STATIC_FORCEINLINE uint32_t Cy_SCB_ReadRxFifo | ( | CySCB_Type const * | base | ) |
Reads a data element directly out of the RX FIFO.
This function does not check whether the RX FIFO has data before reading it.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetRxFifoLevel | ( | CySCB_Type * | base, |
uint32_t | level | ||
) |
Sets the RX FIFO level.
When there are more data elements in the RX FIFO than this level, the RX FIFO level interrupt is triggered.
base | The pointer to the SCB instance. |
level | When there are more data elements in the FIFO than this level, the RX level interrupt is triggered. |
__STATIC_INLINE uint32_t Cy_SCB_GetNumInRxFifo | ( | CySCB_Type const * | base | ) |
Returns the number of data elements currently in the RX FIFO.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetRxSrValid | ( | CySCB_Type const * | base | ) |
Returns the status of the RX FIFO Shift Register valid bit.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearRxFifo | ( | CySCB_Type * | base | ) |
Clears the RX FIFO and shifter.
base | The pointer to the SCB instance. |
__STATIC_FORCEINLINE void Cy_SCB_WriteTxFifo | ( | CySCB_Type * | base, |
uint32_t | data | ||
) |
Writes data directly into the TX FIFO.
This function does not check whether the TX FIFO is not full before writing into it.
base | The pointer to the SCB instance. |
data | Data to write to the TX FIFO. |
__STATIC_INLINE void Cy_SCB_SetTxFifoLevel | ( | CySCB_Type * | base, |
uint32_t | level | ||
) |
Sets the TX FIFO level.
When there are fewer data elements in the TX FIFO than this level, the TX FIFO level interrupt is triggered.
base | The pointer to the SCB instance. |
level | When there are fewer data elements in the FIFO than this level, the TX level interrupt is triggered. |
__STATIC_INLINE uint32_t Cy_SCB_GetNumInTxFifo | ( | CySCB_Type const * | base | ) |
Returns the number of data elements currently in the TX FIFO.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetTxSrValid | ( | CySCB_Type const * | base | ) |
Returns the status of the TX FIFO Shift Register valid bit.
base | The pointer to the SCB instance. |
__STATIC_INLINE bool Cy_SCB_IsTxComplete | ( | CySCB_Type const * | base | ) |
Checks whether the TX FIFO and Shifter are empty and there is no more data to send.
base | Pointer to SPI the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearTxFifo | ( | CySCB_Type * | base | ) |
Clears the TX FIFO.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetByteMode | ( | CySCB_Type * | base, |
bool | byteMode | ||
) |
Sets whether the RX and TX FIFOs are in byte mode.
The FIFOs are either 16-bit wide or 8-bit wide (byte mode). When the FIFO is in byte mode it is twice as deep. See the device datasheet for FIFO depths.
base | The pointer to the SCB instance. |
byteMode | If true, TX and RX FIFOs are 8-bit wide. If false, the FIFOs are 16-bit wide. |
__STATIC_INLINE uint32_t Cy_SCB_GetInterruptCause | ( | CySCB_Type const * | base | ) |
Returns the mask of bits showing the source of the current triggered interrupt.
This is useful for modes of operation where an interrupt can be generated by conditions in multiple interrupt source registers.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the RX interrupt request register.
This register contains the current status of the RX interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetRxInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes the RX interrupt mask register.
This register configures which bits from the RX interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | Enabled RX interrupt sources. See RX Interrupt Statuses. |
__STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the RX interrupt mask register.
This register specifies which bits from the RX interrupt request register trigger can an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetRxInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the RX interrupt masked request register.
This register contains a logical AND of corresponding bits from the RX interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of the enabled RX interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearRxInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears the RX interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The RX interrupt sources to be cleared. See RX Interrupt Statuses for the set of constants. |
__STATIC_INLINE void Cy_SCB_SetRxInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Sets the RX interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The RX interrupt sources to set in the RX interrupt request register. See RX Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the TX interrupt request register.
This register contains the current status of the TX interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetTxInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes the TX interrupt mask register.
This register configures which bits from the TX interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | Enabled TX interrupt sources. See TX Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the TX interrupt mask register.
This register specifies which bits from the TX interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetTxInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the TX interrupt masked request register.
This register contains a logical AND of corresponding bits from the TX interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of enabled TX interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearTxInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears the TX interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The TX interrupt sources to be cleared. See TX Interrupt Statuses for the set of constants. |
__STATIC_INLINE void Cy_SCB_SetTxInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Sets TX interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The TX interrupt sources to set in the TX interrupt request register. See TX Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the master interrupt request register.
This register contains the current status of the master interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetMasterInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes the master interrupt mask register.
This register specifies which bits from the master interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | The master interrupt sources to be enable. See Master Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the master interrupt mask register.
This register specifies which bits from the master interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetMasterInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the master interrupt masked request register.
This register contains a logical AND of corresponding bits from the master interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of the enabled master interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearMasterInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears master interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The master interrupt sources to be cleared. See Master Interrupt Statuses for the set of constants. |
__STATIC_INLINE void Cy_SCB_SetMasterInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Sets master interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The master interrupt sources to set in the master interrupt request register. See Master Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the slave interrupt request register.
This register contains the current status of the slave interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetSlaveInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes slave interrupt mask register.
This register specifies which bits from the slave interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | Enabled slave interrupt sources. See Slave Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the slave interrupt mask register.
This register specifies which bits from the slave interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetSlaveInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the slave interrupt masked request register.
This register contains a logical AND of corresponding bits from the slave interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of enabled slave interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearSlaveInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears the slave interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | Slave interrupt sources to be cleared. See Slave Interrupt Statuses for the set of constants. |
__STATIC_INLINE void Cy_SCB_SetSlaveInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Sets slave interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The slave interrupt sources to set in the slave interrupt request register See Slave Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the I2C interrupt request register.
This register contains the current status of the I2C interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetI2CInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes the I2C interrupt mask register.
This register specifies which bits from the I2C interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | Enabled I2C interrupt sources. See I2C Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the I2C interrupt mask register.
This register specifies which bits from the I2C interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetI2CInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the I2C interrupt masked request register.
This register contains a logical AND of corresponding bits from I2C interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of enabled I2C interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearI2CInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears I2C interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The I2C interrupt sources to be cleared. See I2C Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatus | ( | CySCB_Type const * | base | ) |
Returns the SPI interrupt request register.
This register contains the current status of the SPI interrupt sources.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_SetSpiInterruptMask | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Writes the SPI interrupt mask register.
This register specifies which bits from the SPI interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
interruptMask | Enabled SPI interrupt sources. See SPI Interrupt Statuses for the set of constants. |
__STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptMask | ( | CySCB_Type const * | base | ) |
Returns the SPI interrupt mask register.
This register specifies which bits from the SPI interrupt request register can trigger an interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_GetSpiInterruptStatusMasked | ( | CySCB_Type const * | base | ) |
Returns the SPI interrupt masked request register.
This register contains a logical AND of corresponding bits from the SPI interrupt request and mask registers. This function is intended to be used in the interrupt service routine to identify which of enabled SPI interrupt sources caused the interrupt event.
base | The pointer to the SCB instance. |
__STATIC_INLINE void Cy_SCB_ClearSpiInterrupt | ( | CySCB_Type * | base, |
uint32_t | interruptMask | ||
) |
Clears SPI interrupt sources in the interrupt request register.
base | The pointer to the SCB instance. |
interruptMask | The SPI interrupt sources to be cleared. See SPI Interrupt Statuses for the set of constants. |
__STATIC_INLINE void Cy_SCB_SetMemWidth | ( | CySCB_Type * | base, |
uint32_t | MemWidthMode | ||
) |
Sets the RX and TX FIFOs byte mode/halfword/word mode.
The FIFOs are either 8-bit(byte),16-bit(halfword) or 32-bit (word) wide. See the device datasheet for FIFO depths.
base | The pointer to the SCB instance. |
MemWidthMode | If 0x0, TX and RX FIFOs are 8-bit wide. If 0x1, the FIFOs are 16-bit wide. If 0x2, the FIFOs are 32-bit wide. |
__STATIC_INLINE uint32_t Cy_SCB_Get_RxDataWidth | ( | CySCB_Type const * | base | ) |
Returns the RX data width.
base | The pointer to the SCB instance. |
__STATIC_INLINE bool Cy_SCB_IsTxDataWidthByte | ( | CySCB_Type const * | base | ) |
Returns true if the TX data width is a byte (8 bits).
base | The pointer to the SCB instance. |
__STATIC_INLINE uint32_t Cy_SCB_Get_TxDataWidth | ( | CySCB_Type const * | base | ) |
Returns the TX data width.
base | The pointer to the SCB instance. |