not logged in | [Login]

nop() - no operation - do nothing ... use in delay loops ... equivalent of python pass statement

wfi() (a no arguments function) Suspend execution in a low power state until an interrupt occurs

cpsid(flags) set the Priority Mask Register - disable interrupts. (see ARM v7-M Architecture Reference Manual page B1-19)

cpsie(flags) clear the Priority Mask Register - enable interrupts.