[][src]Type Definition fomu_pac::rgb::ctrl::W

type W = W<u8, CTRL>;

Writer for register CTRL

Methods

impl W[src]

pub fn exe(&mut self) -> EXE_W[src]

Bit 0 - Connected to SB_LEDDA_IP.LEDDEXE. Set this to 1 to enable the fading pattern.

pub fn curren(&mut self) -> CURREN_W[src]

Bit 1 - Connected to SB_RGBA_DRV.CURREN. Set this to 1 to enable the current source.

pub fn rgbleden(&mut self) -> RGBLEDEN_W[src]

Bit 2 - Connected to SB_RGBA_DRV.RGBLEDEN. Set this to 1 to enable the RGB PWM control logic.

pub fn rraw(&mut self) -> RRAW_W[src]

Bit 3 - Set this to 1 to enable raw control of the red LED via the RAW.R register.

pub fn graw(&mut self) -> GRAW_W[src]

Bit 4 - Set this to 1 to enable raw control of the green LED via the RAW.G register.

pub fn braw(&mut self) -> BRAW_W[src]

Bit 5 - Set this to 1 to enable raw control of the blue LED via the RAW.B register.