name: PCF8574
alias: PCF8574A
variations: P, T, TS
description: 8-bit I/O expander for I²C-bus with interrupt
datasheet: https://www.nxp.com/docs/en/data-sheet/PCF8574_PCF8574A.pdf

pinout@P:
  A:
    A0: 1
    A1: 2
    A2: 3
  P:
    P0: 4
    P1: 5
    P2: 6
    P3: 7
    P4: 9
    P5: 10
    P6: 11
    P7: 12
  INT: 13
  I2C:
    SCL: 14
    SDA: 15
  VSS: 8
  VDD: 16

pinout@T:
  A:
    A0: 1
    A1: 2
    A2: 3
  P:
    P0: 4
    P1: 5
    P2: 6
    P3: 7
    P4: 9
    P5: 10
    P6: 11
    P7: 12
  INT: 13
  I2C:
    SCL: 14
    SDA: 15
  VSS: 8
  VDD: 16

pinout@TS:
  A:
    A0: 6
    A1: 7
    A2: 9
  P:
    P0: 10
    P1: 11
    P2: 12
    P3: 14
    P4: 16
    P5: 17
    P6: 19
    P7: 20
  INT: 1
  I2C:
    SCL: 2
    SDA: 4
  VSS: 15
  VDD: 5

properties:
  in: A, SCL
  bidir: P, SDA
  out: INT
  power: VDD
  ground: VSS

schematic: 
  symbol: IC
  left: I2C, INT, A
  right: P
  top: VDD
  bottom: VSS


housing@P:
  pattern: DIP
  leadCount: 16
  pitch: 2.54 # e
  bodyWidth: 6.20-6.48 # E
  bodyLength: 18.55-19.20 # D
  leadWidth: 0.38-0.53 # b1
  leadLength: 3.05-3.60 # L
  leadHeight: 0.23-0.36 # c
  leadSpan: 7.80-8.25 # ME

housing@T:
  outline: JEDEC MS-013 AA

housing@TS:
  pattern: SOP
  height: 1.5
  leadCount: 20
  pitch: 0.65 # e
  bodyWidth: 4.3-4.5 # E
  bodyLength: 6.4-6.6 # D
  leadWidth: 0.20-0.32 # bp
  leadLength: 0.45-0.75 # Lp
  leadSpan: 6.2-6.6 # HE
