pub type R = R<LEDC_CTRL_SPEC>;Expand description
Register ledc_ctrl reader
Aliased Type§
pub struct R { /* private fields */ }Implementations§
Source§impl R
impl R
Sourcepub fn ledc_soft_reset(&self) -> LEDC_SOFT_RESET_R
pub fn ledc_soft_reset(&self) -> LEDC_SOFT_RESET_R
Bit 1
Sourcepub fn led_msb_(&self, n: u8) -> LED_MSB__R
pub fn led_msb_(&self, n: u8) -> LED_MSB__R
NOTE: n is number of field in register. n == 0 corresponds to led_msb_B field
Sourcepub fn led_msb_b(&self) -> LED_MSB__R
pub fn led_msb_b(&self) -> LED_MSB__R
Bit 2 - led_msb_B
Sourcepub fn led_msb_r(&self) -> LED_MSB__R
pub fn led_msb_r(&self) -> LED_MSB__R
Bit 3 - led_msb_R
Sourcepub fn led_msb_g(&self) -> LED_MSB__R
pub fn led_msb_g(&self) -> LED_MSB__R
Bit 4 - led_msb_G
Sourcepub fn led_msb_top(&self) -> LED_MSB__R
pub fn led_msb_top(&self) -> LED_MSB__R
Bit 5 - led_msb_TOP
Sourcepub fn led_rgb_mode(&self) -> LED_RGB_MODE_R
pub fn led_rgb_mode(&self) -> LED_RGB_MODE_R
Bits 6:8
Sourcepub fn reset_led_en(&self) -> RESET_LED_EN_R
pub fn reset_led_en(&self) -> RESET_LED_EN_R
Bit 10
Sourcepub fn total_data_length(&self) -> TOTAL_DATA_LENGTH_R
pub fn total_data_length(&self) -> TOTAL_DATA_LENGTH_R
Bits 16:28