[][src]Type Definition esp8266::timer::frc2_ctrl::W

type W = W<u32, FRC2_CTRL>;

Writer for register FRC2_CTRL

Methods

impl W[src]

pub fn frc2_int(&mut self) -> FRC2_INT_W[src]

Bit 8 - the status of the interrupt, when the count is equal tothe alarm value

pub fn frc2_ctrl(&mut self) -> FRC2_CTRL_W[src]

Bits 0:7 - bit[7]: timer enable, bit[6]: automatically reload, when the counter isequal to zero, bit[3:2]: prescale-divider, 0: divided by 1, 1: dividedby 16, 2 or 3: divided by 256, bit[0]: interrupt type, 0:edge, 1:level