S32 SDK
s32_core_cm4.h File Reference

Go to the source code of this file.

Macros

#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
 

Macro Definition Documentation

#define DISABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 165 of file s32_core_cm4.h.

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

Disable interrupts.

Definition at line 93 of file s32_core_cm4.h.

#define ENABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 166 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 84 of file s32_core_cm4.h.

#define END_FUNCTION_DECLARATION_RAMSECTION   ;

Definition at line 147 of file s32_core_cm4.h.

#define END_FUNCTION_DEFINITION_RAMSECTION

Definition at line 158 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 121 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 112 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 103 of file s32_core_cm4.h.

#define START_FUNCTION_DECLARATION_RAMSECTION

Places a function in RAM.

Definition at line 146 of file s32_core_cm4.h.

#define START_FUNCTION_DEFINITION_RAMSECTION

Definition at line 157 of file s32_core_cm4.h.