# i2c2.PIT — pi2csrv documentation

# i2c2.PIT

class `i2c2.``PIT`
  `ADR` = 16
  `OFFSET` = 3
  `RECSIZE` = 72
  `RECSIZE_NEW` = 140
  `VER` = 2
  class `cmd_new`
    `read` = 1
    `readall` = 0
    `write` = 2
  `fread`(register)
  `fwrite`(reg, val)
  class `masks`
    `en8_all` = 15
    `en_all` = 63
    `none` = 0
  class `registers`
    `anapot` = 2
    `commidflag` = 127
    `commithash` = 123
    `digipot` = 4
    `mon10i` = 87
    `mon10v` = 83
    `mon10v_0` = 91
    `mon10v_1` = 95
    `mon10v_2` = 99
    `mon10v_3` = 103
    `mon1i8ana` = 111
    `mon1i8digi` = 119
    `mon1v8ana` = 107
    `mon1v8digi` = 115
    `mon48i` = 79
    `mon48v` = 75
    `offmask` = 1
    `onmask` = 0
    `sampleTicks` = 66
    `temp` = 67
    `uuid` = 128
  `rread`(register)
  `rx`(version=1, reg=0, bytes_to_read=72, proctime=0.1)
  `tx`(version=1, data=[0, 0])