mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Use names for I2C-controller registers
This commit is contained in:
@@ -52,6 +52,14 @@
|
||||
// Configures IO direction for bank a
|
||||
|
||||
#define RTL837X_REG_GPIO_EXT 0x63e8
|
||||
|
||||
/*
|
||||
* I2C controller
|
||||
*/
|
||||
#define RTL837X_REG_I2C_CTRL 0x0418
|
||||
#define RTL837X_REG_I2C_IN 0x0420
|
||||
#define RTL837X_REG_I2C_OUT 0x0424
|
||||
|
||||
/*
|
||||
* NIC Related registers
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user