2018-10-16 | Paul Boddie | file changeset files shortlog | Some tidied-up configuration and initialisation routines and a simple UART test. |
paul@0 | 1 | #ifndef __CPU_H__ |
paul@0 | 2 | #define __CPU_H__ |
paul@0 | 3 | |
paul@0 | 4 | #define CPU_INT_PRIORITY 3 |
paul@0 | 5 | |
paul@0 | 6 | #ifndef __ASSEMBLER__ |
paul@0 | 7 | |
paul@0 | 8 | /* Specific operations. */ |
paul@0 | 9 | |
paul@0 | 10 | void enable_interrupts(void); |
paul@0 | 11 | void handle_error_level(void); |
paul@0 | 12 | void init_interrupts(void); |
paul@0 | 13 | |
paul@0 | 14 | #endif /* __ASSEMBLER__ */ |
paul@0 | 15 | |
paul@0 | 16 | #endif /* __CPU_H__ */ |