pub type MODE_W<'a, const O: u8> = FieldWriter<'a, u32, DISPCTRL_SPEC, u8, MODE_A, 2, O>;
Expand description

Field MODE writer - Mode Setting

Implementations§

source§

impl<'a, const O: u8> MODE_W<'a, O>

source

pub fn noextcap(self) -> &'a mut W

No External Cap. Uses an internal current source to generate VLCD. Use CONTRAST[4:0] to control VLCD.

source

pub fn stepdown(self) -> &'a mut W

Use step down control with VLCD less than VDD. Use CONTRAST[5:0] to control VLCD level, and use SPEED to adjust VLCD drive strength.

source

pub fn cpintosc(self) -> &'a mut W

Charge pump used with internal oscillator. Use CONTRAST[5:0] to control VLCD level, and use SPEED to adjust oscillator frequency.