All public logs

Jump to navigation Jump to search

Combined display of all available logs of Bare metal micro:bit. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 18:20, 7 October 2024 Mike talk contribs created page Hardware register access (Created page with "With the programming conventions used in the book, including the header file @hardware.h@ allows fixed peripheral registers to be referenced using a notation like @TIMER0.MODE@. In a driver that can use one of several timers, we might also wish to use the notation @TIMER[i]->MODE@ to refer to the @MODE@ register of the timer peripheral with index @i@. How do these notations come to refer to a device register at a fixed address? In @hardware.h@, a C structure @_timer@...")