Good practices.
- Read the data-sheet first. ...
- Keep ISR as short as possible. ...
- Use data-types according to what you are going to store: if you need to store an 8 bit value, don't use a uint32_t.
- Use of 32 bits values on 8 bits MCUs.
Good practices.