Difference between revisions of "I2C data"
From SpecNext official Wiki
(Created page with "{{Port |Number=$3B11 |ShortDesc=Sets and reads the I2C SDA line |Readable=Yes |Writable=Yes }}") |
m |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Port | {{Port | ||
− | |Number=$ | + | |Number=$113B |
+ | |NumberDec=4411 | ||
+ | |PortMask=%0001 0001 0011 1011 ?? | ||
|ShortDesc=Sets and reads the I2C SDA line | |ShortDesc=Sets and reads the I2C SDA line | ||
|Readable=Yes | |Readable=Yes | ||
|Writable=Yes | |Writable=Yes | ||
+ | |Subsystem=I2C | ||
}} | }} | ||
+ | When write, it sets the SDA line, D0 --> SDA | ||
+ | When read, it reads the SDA line, SDA --> D0 | ||
+ | |||
+ | Note that I2C uses open collector outputs, the idle, released state is '1'. So if you want to read the line, you have to set it to '1' first. | ||
+ | |||
+ | . |
Latest revision as of 11:02, 4 May 2020
Number | $113B |
---|---|
Decimal | 4411 |
Short desc. | Sets and reads the I2C SDA line |
Bit Mask | %0001 0001 0011 1011 ?? |
Readable | Yes |
Writable | Yes |
Subsystem | I2C |
When write, it sets the SDA line, D0 --> SDA When read, it reads the SDA line, SDA --> D0
Note that I2C uses open collector outputs, the idle, released state is '1'. So if you want to read the line, you have to set it to '1' first.
.