Skip to main content

CHIP_MODE

Constant CHIP_MODE 

Source
const CHIP_MODE: u8 = 0x00;
Expand description

Value of byte 19, ChipMode.

Layout:

  • bit 0 : I2C_Extra = 0 (extra I2C address feature disabled)
  • bit 1 : TTL_Enable = 0 (fixed Vcc reference)
  • bit 2 : Watchdog_Long = 0 (short watchdog, about 1.3 s)
  • bits 3-7 : Clock_Divider = 0 (M0, maximum speed)

All zero gives us M0 mode with the short watchdog.