Difference between revisions of "I2C clock"
From SpecNext official Wiki
m |
|||
Line 1: | Line 1: | ||
{{Port | {{Port | ||
|Number=$103B | |Number=$103B | ||
+ | |ShortDesc=Sets and reads the I2C SCL line. | ||
+ | |Readable=Yes | ||
+ | |Writable=Yes | ||
+ | |Subsystem=I2C | ||
|PortMask=%0001 0000 0011 1011 ?? | |PortMask=%0001 0000 0011 1011 ?? | ||
− | |||
− | |||
− | |||
}} | }} | ||
+ | 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. |
Revision as of 16:04, 6 December 2017
Number | $103B |
---|---|
Decimal | |
Short desc. | Sets and reads the I2C SCL line. |
Bit Mask | %0001 0000 0011 1011 ?? |
Readable | Yes |
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.