[][src]Type Definition cc2538::gpio_c::pmux::R

type R = R<u32, PMUX>;

Reader of register PMUX

Methods

impl R[src]

pub fn reserved32(&self) -> RESERVED32_R[src]

Bits 8:31

pub fn ckoen(&self) -> CKOEN_R[src]

Bit 7 - 7:7] Clock out enable When this bit is set, the 32-kHz clock is routed to either PA[0] or PB[7] pins. PMUX.CKOPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.

pub fn reserved7(&self) -> RESERVED7_R[src]

Bits 5:6 - 6:5] These are spare registers that are unused in the design.

pub fn ckopin(&self) -> CKOPIN_R[src]

Bit 4 - 4:4] Decouple control pin select This control only has relevance when CKOEN is set. When 0, PA[0] becomes the 32-kHz clock output. When 1, PB[7] becomes the 32-kHz clock output.

pub fn dcen(&self) -> DCEN_R[src]

Bit 3 - 3:3] Decouple control enable When this bit is set, the on-die digital regulator status is routed to either PB[1] or PB[0] pins. PMUX.DCPIN selects the pin to use. This overrides the current configuration setting for this pin. The pullup or pulldown is disabled and the direction is set to output for this pin.

pub fn reserved3(&self) -> RESERVED3_R[src]

Bits 1:2 - 2:1] These are spare registers that are unused in the design.

pub fn dcpin(&self) -> DCPIN_R[src]

Bit 0 - 0:0] Decouple control pin select This control has relevance only when DCEN is set. When 0, PB[1] becomes the on-die digital regulator status (1 indicates the on-die digital regulator is active); when 1, PB[0] becomes the on-die digital regulator status. NOTE: PB[1] and PB[0] can also be controlled with other override features. In priority order for PB[1]: When POR/BOD test mode is active, PB[1] becomes the active low brown-out detected indicator. When DCEN is set and DCPIN is not set, PB[1] becomes the on-dir digital regulator status. In priority order for PB[0]: When POR/BOD test mode is active, PB[0] becomes the power-on-reset indicator. When DCEN and DCPIN are set, PB[0] becomes the on-die digital regulator status.