Commit graph

14 commits

Author SHA1 Message Date
Phillip Burgess
4cbf99aa54 Fix clang-format detail 2020-04-30 15:35:13 -07:00
Phillip Burgess
a51676db5e clang-format the lot 2020-04-30 15:30:24 -07:00
Phillip Burgess
8968259c14 Doxygenate 2020-04-30 13:53:15 -07:00
Phillip Burgess
9f71088d2c Update core.c 2020-04-30 10:00:07 -07:00
41a92d7731 Allow GPIO registers to have a size _other than_ 32 bits, for stm32
stm32's GPIO set/clear registers are effectively 16 bits big,
unlike other platforms encountered so far.

Introduce macros to set/clear registers, and use them.

Later, stm32 will introduce its own definition of the _PM_PORT_TYPE macro
as uint16_t.

Testing performed: compile-tested on nRF.
2020-04-30 08:55:53 -05:00
7f448357d0 Merge remote-tracking branch 'origin/master' into circuitpython 2020-03-20 10:04:21 -05:00
969672dff1 Adapt to CircuitPython / samd51 2020-03-20 10:02:57 -05:00
Phillip Burgess
831a253898 nRF, initial GPIO stuff, very WIP 2020-03-16 15:49:58 -07:00
Phillip Burgess
ffc2ec1d02 Handle word & long PORT bit arrangements, parallel matrices 2020-03-13 17:58:57 -07:00
Phillip Burgess
5fa340b874 Some cleanup and notes-to-future-self 2020-03-06 10:21:22 -08:00
Phillip Burgess
20d8bc80b6 Add notes, tweak doublebuffer example, move convert565 to arch.h 2020-03-05 22:14:54 -08:00
Phillip Burgess
36ff73e2e6 Some Arduino progress! 2020-03-04 14:07:56 -08:00
Phillip Burgess
1cb7eee459 Some documentation and Arduino WIP 2020-03-04 09:15:59 -08:00
Phillip Burgess
fc41d776f7 Compiles but probably not working yet 2020-03-03 22:52:45 -08:00