Texas Instruments MSP430 specific code. More...
Texas Instruments MSP430 specific code.
Texas Instruments MSP430 specific code
Definition in file cpu.h.
Go to the source code of this file.
#define | WORDSIZE 16 |
Wordsize in bit for MSP430 platforms. | |
#define | PROVIDES_PM_SET_LOWEST |
MSP430 has power management support. | |
#define | ISR(a, b) void __attribute__((naked, interrupt (a))) b(void) |
Macro for defining interrupt service routines. | |
volatile int | __irq_is_in |
The current ISR state (inside or not) | |
static void | __save_context (void) |
Save the current thread context from inside an ISR. | |
static void | __restore_context (void) |
Restore the thread context from inside an ISR. | |
static void | __enter_isr (void) |
Run this code on entering interrupt routines. | |
static void | __exit_isr (void) |
Run this code on exiting interrupt routines. | |
static uintptr_t | cpu_get_caller_pc (void) |
Returns the last instruction's address. | |