|
|
Component
EventCntr16
Event counter 16-bit
Component Level: High
Category:
CPU Internal Peripherals-Timer
Typical Usage:
(Examples of a typical usage of the component in user code.
For more information please
see the page Component Code
Typical Usage.)
Required component name is "EC161".
(1)
MAIN.C
void main(void)
{
EC161_Reset(); /* reset the event counter */
/* wait for 300 events */
while( EC161_GetNumEvents()<300 ) ;
}
|