[][src]Type Definition msp430fr2355::cs::csctl7::W

type W = W<u16, CSCTL7>;

Writer for register CSCTL7

Implementations

impl W[src]

pub fn dcoffg(&mut self) -> DCOFFG_W<'_>[src]

Bit 0 - DCO fault flag. If this bit is set, the OFIFG flag is also set. The DCOFFG bit is set if DCO = {0} or DCO = {511}. DCOFFG can be cleared by software. If the DCO fault condition still remains, DCOFFG is set. As long as DCOFFG is set, FLLUNLOCK shows the DCOERROR condition.

pub fn xt1offg(&mut self) -> XT1OFFG_W<'_>[src]

Bit 1 - T1 oscillator fault flag. If this bit is set, the OFIFG flag is also set. XT1OFFG is set if a XT1 fault condition exists. XT1OFFG can be cleared by software. If the XT1 fault condition still remains, XT1OFFG is set.

pub fn fllulifg(&mut self) -> FLLULIFG_W<'_>[src]

Bit 4 - FLL unlock interrupt flag. This flag is set when FLLUNLOCK bits equal 10b (DCO too fast). If FLLULPUC is also set, a PUC is triggered when FLLUIFG is set.

pub fn enstfcnt1(&mut self) -> ENSTFCNT1_W<'_>[src]

Bit 6 - Enable start counter for XT1.

pub fn fllunlock(&mut self) -> FLLUNLOCK_W<'_>[src]

Bits 8:9 - Unlock. These bits indicate the current FLL unlock condition. These bits are both set as long as the DCOFFG flag is set.

pub fn fllunlockhis(&mut self) -> FLLUNLOCKHIS_W<'_>[src]

Bits 10:11 - Unlock history bits. These bits indicate the FLL unlock condition history. As soon as any unlock condition happens, the respective bits are set and remain set until cleared by software by writing 0 to it or by a POR.

pub fn fllulpuc(&mut self) -> FLLULPUC_W<'_>[src]

Bit 12 - FLL unlock PUC enable. If the FLLULPUC bit is set, a reset (PUC) is triggered if FLLULIFG is set. FLLULIFG indicates when FLLUNLOCK bits equal 10 (too fast). FLLULPUC is automatically cleared upon servicing the event. If FLLULPUC is cleared (0), no PUC can be triggered by FLLULIFG.

pub fn fllwarnen(&mut self) -> FLLWARNEN_W<'_>[src]

Bit 13 - Warning enable. If this bit is set, an interrupt is generated based on the FLLUNLOCKHIS bits. If FLLUNLOCKHIS is not equal to 00, an OFIFG is generated.