Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_ftm_outmask Union Reference

_hw_ftm_outmask Union Reference

HW_FTM_OUTMASK - Output Mask (RW) More...

#include <MK64F12_ftm.h>


Detailed Description

HW_FTM_OUTMASK - Output Mask (RW)

Reset value: 0x00000000U

This register provides a mask for each FTM channel. The mask of a channel determines if its output responds, that is, it is masked or not, when a match occurs. This feature is used for BLDC control where the PWM signal is presented to an electric motor at specific times to provide electronic commutation. Any write to the OUTMASK register, stores the value in its write buffer. The register is updated with the value of its write buffer according to PWM synchronization.

Definition at line 1815 of file MK64F12_ftm.h.