HWA
Bare metal programming with style
|
A class _icb
object is a 16-bit capture unit. It has the following relative objects:
( capture0, counter )
( capture0, pin )
It is used in:
counter3capture0
The HW_BITS()
instruction returns the number of bits of the capture register:
The capture unit can trigger an anonymous IRQ when a capture event occurs.
configure
:
Note Currently, only edge
configuration is implemented for the synchronous method.
read
:
write
:
The capture event flag can be accessed through interrupt-related instructions: