s32_core_cm0.h File Reference

Go to the source code of this file.

Macros

#define BKPT_ASM   __asm ("BKPT #0\n\t")
 BKPT_ASM. More...
 
#define ENABLE_INTERRUPTS()   __asm("cpsie i")
 Enable interrupts. 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 GET_CORE_ID()   0U
 Get Core ID. More...
 
#define ALIGNED(x)
 Data alignment. More...
 
#define CORE_LITTLE_ENDIAN
 Endianness. More...
 

Macro Definition Documentation

#define ALIGNED (   x)

Data alignment.

Definition at line 169 of file s32_core_cm0.h.

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

BKPT_ASM.

Macro to be used to trigger an debug interrupt

Definition at line 61 of file s32_core_cm0.h.

#define CORE_LITTLE_ENDIAN

Endianness.

Definition at line 174 of file s32_core_cm0.h.

#define DISABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 149 of file s32_core_cm0.h.

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

Disable interrupts.

Definition at line 82 of file s32_core_cm0.h.

#define ENABLE_CHECK_RAMSECTION_FUNCTION_CALL

Definition at line 150 of file s32_core_cm0.h.

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

Enable interrupts.

Definition at line 71 of file s32_core_cm0.h.

#define END_FUNCTION_DECLARATION_RAMSECTION   ;

Definition at line 136 of file s32_core_cm0.h.

#define END_FUNCTION_DEFINITION_RAMSECTION

Definition at line 143 of file s32_core_cm0.h.

#define GET_CORE_ID ( )    0U

Get Core ID.

GET_CORE_ID returns the processor identification number for cm0

Definition at line 157 of file s32_core_cm0.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 112 of file s32_core_cm0.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 103 of file s32_core_cm0.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 94 of file s32_core_cm0.h.

#define START_FUNCTION_DECLARATION_RAMSECTION

Places a function in RAM.

Definition at line 135 of file s32_core_cm0.h.

#define START_FUNCTION_DEFINITION_RAMSECTION

Definition at line 142 of file s32_core_cm0.h.