scaffold_driver
Scaffold a device driver for one external peripheral chip (header, source and register map) on top of the project's HAL, with every register, address and bus setting taken from the part's datasheet and the board's schematic, and record it in the twin. Use when the user asks to write, start or scaffold a driver for a sensor, display, radio or other chip on SPI, I2C, UART or a parallel bus, or asks for a register map for a part on their board.
Pinned to revision 310828c6bedb, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.