Type Alias xmc4300::sdmmc::host_ctrl::W

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

Register HOST_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn led_ctrl(&mut self) -> LED_CTRL_W<'_, HOST_CTRL_SPEC>

Bit 0 - LED Control

source

pub fn data_tx_width(&mut self) -> DATA_TX_WIDTH_W<'_, HOST_CTRL_SPEC>

Bit 1 - Data Transfer Width (SD1 or SD4)

source

pub fn high_speed_en(&mut self) -> HIGH_SPEED_EN_W<'_, HOST_CTRL_SPEC>

Bit 2 - High Speed Enable

source

pub fn sd_8bit_mode(&mut self) -> SD_8BIT_MODE_W<'_, HOST_CTRL_SPEC>

Bit 5 - Extended Data Transfer Width

source

pub fn card_detect_test_level( &mut self ) -> CARD_DETECT_TEST_LEVEL_W<'_, HOST_CTRL_SPEC>

Bit 6 - Card Detect Test Level

source

pub fn card_det_signal_detect( &mut self ) -> CARD_DET_SIGNAL_DETECT_W<'_, HOST_CTRL_SPEC>

Bit 7 - Card detect signal detetction