Macros | |
#define | CY_PRA_REG32_CLR_SET(regIndex, field, value) |
Provides get-clear-modify-write operations with a name field and value and writes a resulting value to the 32-bit register. More... | |
#define | CY_PRA_REG32_SET(regIndex, value) (void)Cy_PRA_SendCmd(CY_PRA_MSG_TYPE_REG32_SET, (regIndex), (value), 0UL) |
Writes the 32-bit value to the specified register. More... | |
#define | CY_PRA_REG32_GET(regIndex) (uint32_t) Cy_PRA_SendCmd(CY_PRA_MSG_TYPE_REG32_GET, (regIndex), 0UL, 0UL) |
Reads the 32-bit value from the specified register. More... | |
#define | CY_PRA_CM0_WAKEUP() (void)Cy_PRA_SendCmd(CY_PRA_MSG_TYPE_CM0_WAKEUP, (uint16_t) 0U, 0UL, 0UL) |
The request to wake up the Cortex-M0+ core. | |
#define | CY_PRA_FUNCTION_CALL_RETURN_PARAM(msgType, funcIndex, param) Cy_PRA_SendCmd((msgType), (funcIndex), (uint32_t)(param), 0UL) |
Calls the specified function with the provided parameter and returns the execution status. More... | |
#define | CY_PRA_FUNCTION_CALL_RETURN_VOID(msgType, funcIndex) Cy_PRA_SendCmd((msgType), (funcIndex), 0UL, 0UL) |
Calls the specified function without a parameter and returns void. More... | |
#define | CY_PRA_FUNCTION_CALL_VOID_PARAM(msgType, funcIndex, param) (void)Cy_PRA_SendCmd((msgType), (funcIndex), (uint32_t)(param), 0UL) |
Calls the specified function with the provided parameter and returns void. More... | |
#define | CY_PRA_FUNCTION_CALL_VOID_VOID(msgType, funcIndex) (void)Cy_PRA_SendCmd((msgType), (funcIndex), 0UL, 0UL) |
Calls the specified function without a parameter and returns void. More... | |
#define CY_PRA_REG32_CLR_SET | ( | regIndex, | |
field, | |||
value | |||
) |
Provides get-clear-modify-write operations with a name field and value and writes a resulting value to the 32-bit register.
regIndex | The register address index. |
field | The field to be updated. |
value | The value to write. |
#define CY_PRA_REG32_SET | ( | regIndex, | |
value | |||
) | (void)Cy_PRA_SendCmd(CY_PRA_MSG_TYPE_REG32_SET, (regIndex), (value), 0UL) |
Writes the 32-bit value to the specified register.
regIndex | The register address index. |
value | The value to write. |
#define CY_PRA_REG32_GET | ( | regIndex | ) | (uint32_t) Cy_PRA_SendCmd(CY_PRA_MSG_TYPE_REG32_GET, (regIndex), 0UL, 0UL) |
Reads the 32-bit value from the specified register.
regIndex | The register address index. |
#define CY_PRA_FUNCTION_CALL_RETURN_PARAM | ( | msgType, | |
funcIndex, | |||
param | |||
) | Cy_PRA_SendCmd((msgType), (funcIndex), (uint32_t)(param), 0UL) |
Calls the specified function with the provided parameter and returns the execution status.
msgType | The function type. |
funcIndex | The function reference. |
param | The pointer to the function parameter. |
#define CY_PRA_FUNCTION_CALL_RETURN_VOID | ( | msgType, | |
funcIndex | |||
) | Cy_PRA_SendCmd((msgType), (funcIndex), 0UL, 0UL) |
Calls the specified function without a parameter and returns void.
msgType | The function type. |
funcIndex | The function reference. |
#define CY_PRA_FUNCTION_CALL_VOID_PARAM | ( | msgType, | |
funcIndex, | |||
param | |||
) | (void)Cy_PRA_SendCmd((msgType), (funcIndex), (uint32_t)(param), 0UL) |
Calls the specified function with the provided parameter and returns void.
msgType | The function type. |
funcIndex | The function reference. |
param | The pointer to the function parameter. |
#define CY_PRA_FUNCTION_CALL_VOID_VOID | ( | msgType, | |
funcIndex | |||
) | (void)Cy_PRA_SendCmd((msgType), (funcIndex), 0UL, 0UL) |
Calls the specified function without a parameter and returns void.
msgType | The function type. |
funcIndex | The function reference. |