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_cnsc Union Reference
HW_FTM_CnSC - Channel (n) Status And Control (RW) More...
#include <MK64F12_ftm.h>
Detailed Description
HW_FTM_CnSC - Channel (n) Status And Control (RW)
Reset value: 0x00000000U
CnSC contains the channel-interrupt-status flag and control bits used to configure the interrupt enable, channel configuration, and pin function. Mode, edge, and level selection DECAPEN COMBINE CPWMS MSnB:MSnA ELSnB:ELSnA Mode Configuration X X X XX 0 Pin not used for FTM-revert the channel pin to general purpose I/O or other peripheral control 0 0 0 0 1 Input Capture Capture on Rising Edge Only 10 Capture on Falling Edge Only 11 Capture on Rising or Falling Edge 1 1 Output Compare Toggle Output on match 10 Clear Output on match 11 Set Output on match 1X 10 Edge-Aligned PWM High-true pulses (clear Output on match) X1 Low-true pulses (set Output on match) 1 XX 10 Center-Aligned PWM High-true pulses (clear Output on match-up) X1 Low-true pulses (set Output on match-up) 1 0 XX 10 Combine PWM High-true pulses (set on channel (n) match, and clear on channel (n+1) match) X1 Low-true pulses (clear on channel (n) match, and set on channel (n+1) match) 1 0 0 X0 See the following table (ModeSel2Table). Dual Edge Capture One-Shot Capture mode X1 Continuous Capture mode Dual Edge Capture mode - edge polarity selection ELSnB ELSnA Channel Port Enable Detected Edges 0 0 Disabled No edge 0 1 Enabled Rising edge 1 0 Enabled Falling edge 1 1 Enabled Rising and falling edges
Definition at line 474 of file MK64F12_ftm.h.
Generated on Sat Aug 27 2022 17:09:02 by
