HWA
Bare metal programming with style
|
This class is used by:
(counter1,compare0)
, (counter1,compare1)
(COUNTER,COMPARE,counter)
: parent counter;(COUNTER,COMPARE,pin_h)
: high-side output pin.(COUNTER,COMPARE,pin_l)
: low-side output pin.(COUNTER,COMPARE,irq)
: triggered on compare match
hw( read, ... ): get the compare value
hw( write, ... ), hwa( write, ... ): set the compare value
Registers are hold by the parent counter.