Macros

group group_syslib_macros

Defines

CY_CPU_CORTEX_M0P

CM0+ core CPU Code.

note

This macro is available for devices having M4CPUSS IP.

CY_CPU_CORTEX_M4

CM4 core CPU Code.

note

This macro is available for devices having M4CPUSS IP.

CY_ARM_FAULT_DEBUG_DISABLED

The macro to disable the Fault Handler.

note

This macro is available for devices having M4CPUSS IP.

CY_ARM_FAULT_DEBUG_ENABLED

The macro to enable the Fault Handler.

note

This macro is available for devices having M4CPUSS IP.

CY_ARM_FAULT_DEBUG

The macro defines if the Fault Handler is enabled.

note

This macro is available for devices having M4CPUSS IP. Enabled by default.

CY_SYSLIB_DRV_VERSION_MAJOR

The driver major version.

CY_SYSLIB_DRV_VERSION_MINOR

The driver minor version.

CY_SECTION_RAMFUNC_BEGIN

Define start of the function placed to the SRAM area by the linker.

CY_SECTION_RAMFUNC_END

Define end of the function placed to the SRAM area by the linker.

CY_SECTION_SHAREDMEM

Define variable to be placed to the shared SRAM area by the linker.

CY_MAX_FILE_NAME_SIZE

The max size of the file name which stores the ASSERT location.

CY_R0_Pos

The position of the R0 content in a fault structure.

CY_R1_Pos

The position of the R1 content in a fault structure.

CY_R2_Pos

The position of the R2 content in a fault structure.

CY_R3_Pos

The position of the R3 content in a fault structure.

CY_R12_Pos

The position of the R12 content in a fault structure.

CY_LR_Pos

The position of the LR content in a fault structure.

CY_PC_Pos

The position of the PC content in a fault structure.

CY_PSR_Pos

The position of the PSR content in a fault structure.

CY_DELAY_MS_OVERFLOW

Defines a 32-kHz clock delay.

CY_IPC_DATA_FOR_CM4_SOFT_RESET

Bit[31:24] Opcode = 0x1B (SoftReset) Bit[7:1] Type = 1 (Only CM4 reset)

note

This macro is available for devices having M4CPUSS IP.

Typedefs

typedef void (*cy_israddress)(void)

Type of ISR callbacks.

typedef char char_t

Specific-length typedef for the basic numerical types of char.

typedef float float32_t

Specific-length typedef for the basic numerical types of float.

typedef double float64_t

Specific-length typedef for the basic numerical types of double.

Variables

char_t cy_assertFileName[CY_MAX_FILE_NAME_SIZE]

The assert buffer.

uint32_t cy_assertLine

The assert line value.

cy_stc_fault_frame_t cy_faultFrame

Fault frame structure.