What are the key considerations when reading hardware datasheets and configuring microcontroller peripherals?