Struct samd21g18a::gclk::genctrl::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn id(&mut self) -> _IDW
[src]
pub fn id(&mut self) -> _IDW
Bits 0:3 - Generic Clock Generator Selection
pub fn src(&mut self) -> _SRCW
[src]
pub fn src(&mut self) -> _SRCW
Bits 8:12 - Source Select
pub fn genen(&mut self) -> _GENENW
[src]
pub fn genen(&mut self) -> _GENENW
Bit 16 - Generic Clock Generator Enable
pub fn idc(&mut self) -> _IDCW
[src]
pub fn idc(&mut self) -> _IDCW
Bit 17 - Improve Duty Cycle
pub fn oov(&mut self) -> _OOVW
[src]
pub fn oov(&mut self) -> _OOVW
Bit 18 - Output Off Value
pub fn oe(&mut self) -> _OEW
[src]
pub fn oe(&mut self) -> _OEW
Bit 19 - Output Enable
pub fn divsel(&mut self) -> _DIVSELW
[src]
pub fn divsel(&mut self) -> _DIVSELW
Bit 20 - Divide Selection
pub fn runstdby(&mut self) -> _RUNSTDBYW
[src]
pub fn runstdby(&mut self) -> _RUNSTDBYW
Bit 21 - Run in Standby