allanparthore·4년 전·discussConfiguring pins and peripherals with code is a chore, I use graphical tools for that.But C has no problems abstracting away peripherals, just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc.
But C has no problems abstracting away peripherals, just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc.