S32 SDK
s32_core_cm4.h File Reference

Go to the source code of this file.

Macros

#define INT_VECTOR_Reg   S32_SCB->VTOR
 INT_VECTOR_Reg. More...
 
#define BKPT_ASM   __asm("BKPT #0\n\t")
 BKPT_ASM. More...
 
#define ENABLE_INTERRUPTS()   __asm("cpsie i")
 Enable FPU. More...
 
#define DISABLE_INTERRUPTS()   __asm("cpsid i")
 Disable interrupts. More...
 
#define STANDBY()   __asm("wfi")
 Enter low-power standby state WFI (Wait For Interrupt) makes the processor suspend execution (Clock is stopped) until an IRQ interrupts. More...
 
#define REV_BYTES_32(a, b)
 Reverse byte order in a word. More...
 
#define REV_BYTES_16(a, b)
 Reverse byte order in each halfword independently. More...
 
#define START_FUNCTION_DECLARATION_RAMSECTION
 Places a function in RAM. More...
 
#define END_FUNCTION_DECLARATION_RAMSECTION   ;
 
#define START_FUNCTION_DEFINITION_RAMSECTION
 
#define END_FUNCTION_DEFINITION_RAMSECTION
 
#define DISABLE_CHECK_RAMSECTION_FUNCTION_CALL
 
#define ENABLE_CHECK_RAMSECTION_FUNCTION_CALL
 
#define ALIGNED(x)
 Data alignment. More...
 
#define CORE_LITTLE_ENDIAN
 Endianness. More...
 

Macro Definition Documentation

#define ALIGNED (   x)

Data alignment.

Definition at line 194 of file s32_core_cm4.h.

#define BKPT_ASM   __asm("BKPT #0\n\t")

BKPT_ASM.

Macro to be used to trigger an debug interrupt

Definition at line 63 of file s32_core_cm4.h.

#define CORE_LITTLE_ENDIAN

Endianness.

Definition at line 199 of file s32_core_cm4.h.

#define DISABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 179 of file s32_core_cm4.h.

#define DISABLE_INTERRUPTS ( )    __asm("cpsid i")

Disable interrupts.

Definition at line 106 of file s32_core_cm4.h.

#define ENABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 180 of file s32_core_cm4.h.

#define ENABLE_INTERRUPTS ( )    __asm("cpsie i")

Enable FPU.

ENABLE_FPU indicates whether SystemInit will enable the Floating point unit (FPU)Enable interrupts

Definition at line 97 of file s32_core_cm4.h.

#define END_FUNCTION_DECLARATION_RAMSECTION   ;

Definition at line 161 of file s32_core_cm4.h.

#define END_FUNCTION_DEFINITION_RAMSECTION

Definition at line 172 of file s32_core_cm4.h.

#define INT_VECTOR_Reg   S32_SCB->VTOR

INT_VECTOR_Reg.

Register in which the start of vector table needs to be configured

Definition at line 57 of file s32_core_cm4.h.

#define REV_BYTES_16 (   a,
 
)
Value:
(b = ((a & 0xFF000000U) >> 8U) | ((a & 0xFF0000U) << 8U) \
| ((a & 0xFF00U) >> 8U) | ((a & 0xFFU) << 8U))

Reverse byte order in each halfword independently.

Definition at line 134 of file s32_core_cm4.h.

#define REV_BYTES_32 (   a,
 
)
Value:
(b = ((a & 0xFF000000U) >> 24U) | ((a & 0xFF0000U) >> 8U) \
| ((a & 0xFF00U) << 8U) | ((a & 0xFFU) << 24U))

Reverse byte order in a word.

Definition at line 125 of file s32_core_cm4.h.

#define STANDBY ( )    __asm("wfi")

Enter low-power standby state WFI (Wait For Interrupt) makes the processor suspend execution (Clock is stopped) until an IRQ interrupts.

Definition at line 116 of file s32_core_cm4.h.

#define START_FUNCTION_DECLARATION_RAMSECTION

Places a function in RAM.

Definition at line 160 of file s32_core_cm4.h.

#define START_FUNCTION_DEFINITION_RAMSECTION

Definition at line 171 of file s32_core_cm4.h.