|
|
Component
EventCntr32
Event counter 32-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 "EC321".
(1)
MAIN.C
void main(void)
{
EC321_Reset(); /* reset the event counter */
/* wait for 100000 events */
while( EC321_GetNumEvents()<100000 ) ;
}
|