MCC MIIC-203 Guía de usuario Pagina 63

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 77
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 62
54
S = Send Start
~xx = Send Byte (xx = 00...FF)(response = A or N)
R = Read Byte with Ack (response = ~xx)
r = Read Byte with Nak (response = ~xx)
P = Send Stop
Mid Level Sub-Commands:
0 = Send 0 Bit
1 = Send 1 Bit
? = Read Bit (response = 0 or 1)
Low Level Sub-Commands:
D = Set SDA High
d = Set SDA Low
C = Set SCL High
c = Set SCL Low
L = Read SCL (response = 0 or 1)
A = Read SDA (response = 0 or 1)
Miscellaneous Sub-Commands:
space = no action
"comment" = no action
Examples:
Master transmit three bytes to slave address 0x4e using high level, mid level, and
low level sub-commands.
High Level Command:/X S ~4e ~01 ~02 ~03 P [CR]
High Level Response: /XCCAAAA[CR]
Mid Level Command:/X S 01001110 ? 00000001 ? 00000010 ? 00000011 ? P [CR]
Mid Level Response: /XCC0000[CR]
Low Level Command:/X dc dCcDCcdCcdCcDCcDCcDCcdCc DCAc
dCcdCcdCcdCcdCcdCcdCcDCc DCAcdCcdCcdCcdCcdCcdCcDCcdCc DCAc
dCcdCcdCcdCcdCcdCcdCcDCc DCAc dCD[CR]
Vista de pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 76 77

Comentarios a estos manuales

Sin comentarios