-
Notifications
You must be signed in to change notification settings - Fork 1
Automated library documents
The documentation for the library will ultimately be generated by Doxygen. For now:
The foundation currently auto-generates:
memory.h : Where all the peripherals sit in memory.
structures.h : All the structures for each peripheral, as simple structures. And all the subregisers, as listed in the 'registermap' tables in the documentation. The later is implemented as static members of a holding structure (needs a bit of cleanup). This structure disappears at compile time leaving controlled but well optimized access to sub registers without the need for bit banging the registers directly.
instances.h : Instanciates the peripherals.
busses.h : How busses connect to busses.
clktree.h : Code to retreave what active clock values.
lddefs.h : globals exported from the linker link script.
stm32F4_isrbt.c : the ISR branch table.
stm32F4_rt.h : c-runtime stuff.
Done by hand (not exhaustive) :
stm32F4_rt.c : c-runtime. (pre CRT0).
stm32F407.ld, sections.ld : linker scripts straight from gcc's example directory.
clock_helpers.h : meta code to compute PLL constants, at compile time.
stubs.cc : stubs for newlib for simple printf to console.
stubs_null.c : stubs for newlib for NO i/o.
clocks.h : system clock object.
gpio.h : GPIO healpers