altos/stmf0: Allow SPI to be powered down when idle if desired
authorKeith Packard <keithp@keithp.com>
Tue, 16 Jul 2019 18:07:27 +0000 (11:07 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 16 Jul 2019 18:09:01 +0000 (11:09 -0700)
commit40624256be70088d7608742b71e1241d95a7fcdf
tree01545407d7181d4bc9c68c63ecd0d95ef0d0fdb9
parentbdcb3653bd9fb97f98773ac3bc1f87a6f52b1121
altos/stmf0: Allow SPI to be powered down when idle if desired

Set SPI_1_POWER_MANAGE and/or SPI_2_POWER_MANAGE to have the spi
blocks powered down when not in use.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/ao_spi_stm.c