2.3.6JP6 : User Timer/Counter Clock Input Selection
Internal 2M Clock (default)
The OME-A-822PGL/PGH has 3 independent 16 bit timer/counters. The cascaded counter1 and counter2 are used as a pacer timer. Counter0 can be used as a user programmable timer/counter. The user programmable timer/counter can be set to 2M internal clock or external clock ExtCLK, CN3 pin 37. The block diagram is given in section 2.6. The clock source must be very stable. Using the 2M internal clock is strongly suggested.
The OME-A-822PGL/PGH software driver uses counter0 as a machine independent timer. If users program calls the A-822_Delay()subroutine, counter0 will be programmed as a machine independent timer. More detailed information is provided in section 2.6.
NOTE : if you use A-822_Delay(), the JP6 jumper must be set to internal 2M clock.
OME-A-822PGL/PGH Hardware Manual ---- 14