dc33-retro-tech-addon/firmware/retro_tech_fw/code
true f8a987a592 soft I2C implemented, LEDs are now lighting
copied over and modified for use my CH59x soft I2C.

CH32X GPIO does not have an open drain mode, so I have to implement this with RMW to the mode register. After doing this and adding missing functions needed for existing code, LED writes and EEPROM reads and writes.

using the AWU for system timing so the clock speed can change.

existing issues:
- changing clock speed divider in soft i2c routines causes the system to crash
- ADC seems to be reading, but result isn't being used
2025-07-24 06:19:24 -07:00
..
src soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
ch32x035_conf.h soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
ch32x035_it.c soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
ch32x035_it.h initial commit of in-progress port 2025-07-24 03:37:26 -07:00
global.h soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
main.c soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
system_ch32x035.c soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00
system_ch32x035.h soft I2C implemented, LEDs are now lighting 2025-07-24 06:19:24 -07:00