[][src]Type Definition betrusted_pac::i2c::PRESCALE1

type PRESCALE1 = Reg<u32, _PRESCALE1>;

Bits 8-15 of I2C_PRESCALE. Prescaler value. Set to (module clock / (5 * I2C freq) - 1). Example: if module clock is equal to sysclk; syclk is 100MHz; and I2C freq is 100kHz, then prescaler is (100MHz / (5 * 100kHz) - 1) = 199. Reset value: 0xFFFF

This register you can read, reset, write, write_with_zero, modify. See API.

For information about available fields see prescale1 module

Trait Implementations

impl Readable for PRESCALE1[src]

read() method returns prescale1::R reader structure

impl ResetValue for PRESCALE1[src]

Register PRESCALE1 reset()'s with value 0x7f

type Type = u32

Register size

impl Writable for PRESCALE1[src]

write(|w| ..) method takes prescale1::W writer structure