R

Type Alias R 

Source
pub type R = R<LEDC_CTRL_SPEC>;
Expand description

Register ledc_ctrl reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ledc_en(&self) -> LEDC_EN_R

Bit 0

Source

pub fn ledc_soft_reset(&self) -> LEDC_SOFT_RESET_R

Bit 1

Source

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

Source

pub fn led_msb_b(&self) -> LED_MSB__R

Bit 2 - led_msb_B

Source

pub fn led_msb_r(&self) -> LED_MSB__R

Bit 3 - led_msb_R

Source

pub fn led_msb_g(&self) -> LED_MSB__R

Bit 4 - led_msb_G

Source

pub fn led_msb_top(&self) -> LED_MSB__R

Bit 5 - led_msb_TOP

Source

pub fn led_rgb_mode(&self) -> LED_RGB_MODE_R

Bits 6:8

Source

pub fn reset_led_en(&self) -> RESET_LED_EN_R

Bit 10

Source

pub fn total_data_length(&self) -> TOTAL_DATA_LENGTH_R

Bits 16:28