Type Alias avr_device::attiny85::wdt::wdtcr::WDPL_W

source ·
pub type WDPL_W<'a, const O: u8> = FieldWriterSafe<'a, u8, WDTCR_SPEC, u8, WDPL_A, 3, O>;
Expand description

Field WDPL writer - Watchdog Timer Prescaler - Low Bits

Aliased Type§

struct WDPL_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

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

source

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

  • 2048 cycles, ~16ms/512K (524288) cycles, ~4s if WDPH is set
source

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

  • 4096 cycles, ~32ms/1024K (1048576) cycles, ~8s if WDPH is set
source

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

  • 8192 cycles, ~64ms
source

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

  • 16K (16384) cycles, ~0.125s
source

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

  • 32K (32768) cycles, ~0.25s
source

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

  • 64K (65536) cycles, ~0.5s
source

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

  • 128K (131072) cycles, ~1s
source

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

  • 256K (262144) cycles, ~2s