ATM Module
2-2
2.1
ATM Module
The ATM module includes assembly language functions.
Functions
❏
ATM_andi, ATM_andu. AND memory and return previous value
❏
ATM_cleari, ATM_clearu. Clear memory and return previous value
❏
ATM_deci, ATM_decu. Decrement memory and return new value
❏
ATM_inci, ATM_incu. Increment memory and return new value
❏
ATM_ori, ATM_oru. OR memory and return previous value
❏
ATM_seti, ATM_setu. Set memory and return previous value
Description
ATM provides a set of assembly language functions that are used to
manipulate variables with interrupts disabled. These functions can
therefore be used on data shared between tasks, and on data shared
between tasks and interrupt routines.