Registers for UART, SPI and TWI
This week Dr Shawn has explained to me the internal registers of UART, SPI and TWI. Basically these modules has two registers: status register and data register. Status register, from its name we know that this register contains information about the state of the device. Data register contains the data to be stored or to be fetched. For each module, I need to implement flags to check the status of the device whether it is ready to perform data transmission Read more