{
if (callbackParams != NULL)
{
}
switch(mode)
{
if(true)
{
}
break;
{
}
break;
break;
{
}
break;
default:
break;
}
return (retVal);
}
{
switch(mode)
{
{
{
}
break;
}
default:
break;
}
return (retVal);
}
{
switch(mode)
{
{
{
}
break;
}
{
break;
}
{
break;
}
{
break;
}
default:
break;
}
return (retVal);
}
SPI context structure.
Definition: cy_scb_spi.h:608
__STATIC_INLINE bool Cy_SCB_SPI_IsBusBusy(CySCB_Type const *base)
Returns whether the SPI bus is busy or not.
Definition: cy_scb_spi.h:983
uint32_t Cy_SCB_SPI_GetTransferStatus(CySCB_Type const *base, cy_stc_scb_spi_context_t const *context)
Returns the status of the transfer operation started by Cy_SCB_SPI_Transfer.
Definition: cy_scb_spi.c:1007
#define CY_SCB_SPI_TRANSFER_ACTIVE
Transfer operation started by Cy_SCB_SPI_Transfer is in progress.
Definition: cy_scb_spi.h:820
@ CY_SYSPM_FAIL
Unknown failure.
Definition: cy_syspm.h:1360
@ CY_SYSPM_SUCCESS
Successful.
Definition: cy_syspm.h:1353
@ CY_SYSPM_BEFORE_TRANSITION
Callbacks with this mode are executed after the CY_SYSPM_CHECK_READY callbacks execution returns CY_S...
Definition: cy_syspm.h:1968
@ CY_SYSPM_CHECK_FAIL
Callbacks with this mode are executed after the CY_SYSPM_CHECK_READY callbacks execution returns CY_S...
Definition: cy_syspm.h:1963
@ CY_SYSPM_AFTER_TRANSITION
Performs the actions to be done after exiting the low power mode if entered.
Definition: cy_syspm.h:1972
@ CY_SYSPM_CHECK_READY
Callbacks with this mode are executed before entering into the low power mode.
Definition: cy_syspm.h:1960
void * base
Base address of a HW instance, matches name of the driver in the API for the base address.
Definition: cy_syspm.h:2055
void * context
Context for the handler function.
Definition: cy_syspm.h:2058
Serial Communications Block (SPI/UART/I2C) (CySCB)
Definition: cyip_scb.h:38