Code shared between the SCB resources (UART, I2C, and SPI).
◆ cyhal_scb_get_block_from_irqn()
| uint8_t cyhal_scb_get_block_from_irqn |
( |
IRQn_Type |
irqn | ) |
|
Get the SCB block corresponding to an IRQn.
- Parameters
-
| [in] | irqn | The IRQn to get the corresponding block from |
- Returns
- The corresponding SCB block
◆ cyhal_scb_get_irq_obj()
| __STATIC_INLINE void* cyhal_scb_get_irq_obj |
( |
void |
| ) |
|
Get the SCB object corresponding to the currently running ISR.
- Returns
- A pointer to the SCB object corresponding to the currently running ISR.
◆ CYHAL_SCB_BASE_ADDRESSES
| CySCB_Type* const CYHAL_SCB_BASE_ADDRESSES[CY_IP_MXSCB_INSTANCES] |
The start address of the SCB blocks
◆ CYHAL_SCB_IRQ_N
| const IRQn_Type CYHAL_SCB_IRQ_N[CY_IP_MXSCB_INSTANCES] |
The interrupt number of the SCB blocks.
◆ cyhal_scb_config_structs
| void* cyhal_scb_config_structs[CY_IP_MXSCB_INSTANCES] |
The configuration structs for the resource in use on each SCB block (e.g. cyhal_i2c_t)