Texas Instruments MSP430 specific code. More...
Texas Instruments MSP430 specific code.
Files | |
file | architecture_arch.h |
Architecture details. | |
file | atomic_utils_arch.h |
Implementation of fast atomic utility functions. | |
file | cpu.h |
Texas Instruments MSP430 specific code. | |
file | cpu_conf.h |
Common CPU definitions for MSP430. | |
file | irq_arch.h |
ISR related functions. | |
Macros | |
#define | WORDSIZE 16 |
Wordsize in bit for MSP430 platforms. | |
#define | ISR(a, b) void __attribute__((naked, interrupt (a))) b(void) |
Macro for defining interrupt service routines. | |
Functions | |
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. | |
void | msp430_cpu_init (void) |
Initialize the cpu. | |
static void | cpu_print_last_instruction (void) |
Print the last instruction's address. More... | |
Variables | |
volatile int | __irq_is_in |
The current ISR state (inside or not) | |