
1–5Overview of the Pulse Counter Module
*!)$# . **()
Start Period Time Measurement
The control bit StartMeasurement starts the measurement of the time
period.
Function
'$ )" "(*'"#) ()$%% #$) #!
'$ )" "(*'"#) ()')( $# ) %$()+ $ )
+'!
Check if the Measurement is Complete
After a complete measurement the flag MeasurementReady is set.
Function
"(*'"#) ( #$) $"%!)
%$()+ $ ) ! #)( )) ) "(*'"#) (
$"%!)
MeasurementReady is reset by the module when a positive edge of
StartMeasurement is received.
Select Clock Frequency
The clock period for the period time measurement resolution
selection can be set to 1 or 10MHz using the variable
ClockFrequency. 10MHz clock frequency is recommended at 32–bit
period time measurement to provide the best accuracy and
resolution. Use 1mHz clock frequency at 16–bit frequencies to avoid
overflow in the counter at frequencies over 15Hz.
Function
!$ '&*#, -
!$ '&*#, -
Comentarios a estos manuales