Type Alias xmc4800::sdmmc::power_ctrl::W

source ·
pub type W = W<POWER_CTRL_SPEC>;
Expand description

Register POWER_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sd_bus_power(&mut self) -> SD_BUS_POWER_W<'_, POWER_CTRL_SPEC>

Bit 0 - SD Bus Power

source

pub fn sd_bus_voltage_sel( &mut self ) -> SD_BUS_VOLTAGE_SEL_W<'_, POWER_CTRL_SPEC>

Bits 1:3 - SD Bus Voltage Select

source

pub fn hardware_reset(&mut self) -> HARDWARE_RESET_W<'_, POWER_CTRL_SPEC>

Bit 4 - Hardware reset