The header file <inmaxq.h> defines a number of intrinsic functions of general use for the MAXQ processor.
Status register manipulation functions | |
__disable_interrupt | Ddisable interrupts |
__enable_interrupt | Enable interrupts |
__save_interrupt | Save interrupt enable flag state |
__restore_interrupt | Restore interrupt enable flag state |
Data manipulation | |
__swap_nibbles | Swap nibbles within a byte |
__swap_bytes | Swap bytes within a word |
Miscellaneous functions | |
__delay_cycles | Delay processor for a number of cycles |
__no_operation | Insert a NOP instruction into code |
__insert_opcode | Insert an instruction into code |