mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-17 21:51:51 +08:00
bsps/beagle: update i2c section
This commit is contained in:
parent
4007591261
commit
6185f6e635
@ -61,9 +61,9 @@ Add the following to a file named uEnv.txt:
|
|||||||
I2C Driver
|
I2C Driver
|
||||||
----------
|
----------
|
||||||
|
|
||||||
For registering the `/dev/i2c-0` device, a wrapper function is provided,
|
The Beagle has the `i2c-0` device registered at initialization. For registering
|
||||||
``bbb_register_i2c_0()`` similarly ``bbb_register_i2c_1()`` and
|
`i2c-1` and `i2c-2` ``bbb_register_i2c_1()`` and
|
||||||
``bbb_register_i2c_2()`` are respectively used to register `i2c-1` and `i2c-2`.
|
``bbb_register_i2c_2()`` wrapper functions are respectively used.
|
||||||
|
|
||||||
For registering an I2C device with a custom path (say `/dev/i2c-3`) the
|
For registering an I2C device with a custom path (say `/dev/i2c-3`) the
|
||||||
function ``am335x_i2c_bus_register()`` has to be used.
|
function ``am335x_i2c_bus_register()`` has to be used.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user