HWA
Bare metal programming with style
Class _cca: capture-compare channel

This class is used by:

Relatives

Interface

hwa( configure, (counter2,channel3), // Fig. 131, RM0008, p. 389
function, compare, // (ccs=0) Default
level, frozen // (ocm=0) Default
| set_on_match // (ocm=1)
| clear_on_match // (ocm=2)
| toggle_on_match // (ocm=3)
| low // (ocm=4)
| high // (ocm=5)
| clear_on_match_up_set_on_match_down // (ocm=6) must count updown?
| set_on_match_up_clear_on_match_down // (ocm=7) must count updown?
[ clear_on_etr, no // (occe=0) Default
| yes, ] // (occe=1)
[ latch, no // (ocpe=0) Default
| yes, ] // (ocpe=1)
[ fast, no // (ocfe=0) Default
| yes, ] // (ocfe=1)
[ polarity, normal // (ccp=0) Default
| reversed, ] // (ccp=1)
output, disconnected // (cce=0) Default
| connected, // (cce=1)
);
hwa
#define hwa(...)
hwa( action, object [,...] ) stores an action for an object into a HWA context.
Definition: hwa_macros.h:552