Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_ewm_cmph Union Reference

_hw_ewm_cmph Union Reference

HW_EWM_CMPH - Compare High Register (RW) More...

#include <MK64F12_ewm.h>


Detailed Description

HW_EWM_CMPH - Compare High Register (RW)

Reset value: 0xFFU

The CMPH register is reset to 0xFF after a CPU reset. This provides a maximum of 256 clocks time, for the CPU to service the EWM counter. This register can be written only once after a CPU reset. Writing this register more than once generates a bus transfer error. The valid values for CMPH are up to 0xFE because the EWM counter never expires when CMPH = 0xFF. The expiration happens only if EWM counter is greater than CMPH.

Definition at line 375 of file MK64F12_ewm.h.