A clock generator (Si5351) controlled by an ATmega328p.
finga
99175efc8c
To support basic TWI support some defines are created to keep track of port, pins and address. Fundamental procedures such as: - `twi_error()` - `twi_start()` - `twi_transmit()` - `twi_receive()` - `twi_stop()` are created. Those procedures are used in `twi_read_register()` and `twi_write_register()` which read and write data from and to registers respectively. Lastly the TWI bit rate is set to 200kHz. |
||
---|---|---|
firmware/src | ||
.gitignore |