Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of target-mcu-k64f by
_hw_ftm_cntin Union Reference
HW_FTM_CNTIN - Counter Initial Value (RW) More...
#include <MK64F12_ftm.h>
Detailed Description
HW_FTM_CNTIN - Counter Initial Value (RW)
Reset value: 0x00000000U
The Counter Initial Value register contains the initial value for the FTM counter. Writing to the CNTIN register latches the value into a buffer. The CNTIN register is updated with the value of its write buffer according to Registers updated from write buffers. When the FTM clock is initially selected, by writing a non-zero value to the CLKS bits, the FTM counter starts with the value 0x0000. To avoid this behavior, before the first write to select the FTM clock, write the new value to the the CNTIN register and then initialize the FTM counter by writing any value to the CNT register.
Definition at line 761 of file MK64F12_ftm.h.
Generated on Sat Aug 27 2022 17:09:02 by
