Part Number: TMS320F28386S
Other Parts Discussed in Thread: SYSCONFIG
Some timer documentation seems inadequate, incomplete, or maybe wrong.
For function CPUTimer_setPreScaler()
cputimer.h states
//! This function sets the pre-scaler value for the CPU timer. For every value
//! of (prescaler + 1), the CPU timer counter decrements by 1.
What does that mean?
One of the examples states:
//
// Set pre-scale counter to divide by 1 (SYSCLKOUT):
//
CPUTimer_setPreScaler(cpuTimer, 0);
What does that mean? And what is SYSCLKOUT in this context.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For function CPUTimer_reloadTimerCounter()
cputimer.h states:
//! This function reloads the CPU timer counter with the values contained in
//! the CPU timer period register.
Why? When is the needed? Isn't the value set by CPUTimer_setPeriod()?
Thanks,
JH
