2 karma · joined May 4, 2022 (4y ago) · 1 submissions
comment 4y ago · link · parent
But C has no problems abstracting away peripherals, just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc.