I2C clock: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Created page with "{{Port |Number=$3B10 |ShortDesc=Sets and reads the I2C SCL line. |Readable=No |Writable=No }}"
 
Ped7g (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Port
{{Port
|Number=$3B10
|Number=$103B
|NumberDec=4155
|PortMask=%0001 0000 0011 1011 ??
|ShortDesc=Sets and reads the I2C SCL line.
|ShortDesc=Sets and reads the I2C SCL line.
|Readable=No
|Readable=Yes
|Writable=No
|Writable=Yes
|Subsystem=I2C
}}
}}
When write, it sets the SCL line, D0 --> SCL
When read, it reads the SCL line, SCL --> 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:01, 4 May 2020

Number PortNumber::$103B
Decimal NumberDec::4155
Short desc. ShortDesc::Sets and reads the I2C SCL line.
Bit Mask [[PortMask::%0001 0000 0011 1011 ??]]
Readable Readable::Yes
Writable Writable::Yes
Subsystem Subsystem::I2C

When write, it sets the SCL line, D0 --> SCL When read, it reads the SCL line, SCL --> 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.