I2C data: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 7: Line 7:
|PortMask=%0001 0001 0011 1011 ??
|PortMask=%0001 0001 0011 1011 ??
}}
}}
 
[[Category:Port]]
When write, it sets the SDA line, D0 --> SDA
When write, it sets the SDA line, D0 --> SDA
When read, it reads the SDA line, SDA --> D0
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.
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.

Revision as of 12:43, 15 April 2019

Number PortNumber::$113B
Decimal NumberDec::
Short desc. ShortDesc::Sets and reads the I2C SDA line
Bit Mask [[PortMask::%0001 0001 0011 1011 ??]]
Readable Readable::Yes
Writable Writable::Yes
Subsystem 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.