diff options
author | Keith Packard <keithp@keithp.com> | 2016-04-05 22:03:37 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-04-13 06:19:28 -0700 |
commit | cfb91ec7ef6ef485d813af96a0f206bb7a2204dd (patch) | |
tree | 47656520f5e31dbab359ac980c6088402371cf9d /src/detherm/ao_pins.h | |
parent | 8da29480a2fdf890d553b30eab58fc884210c1a5 (diff) |
altos/detherm: Add ms5607 to detherm
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/detherm/ao_pins.h')
-rw-r--r-- | src/detherm/ao_pins.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/detherm/ao_pins.h b/src/detherm/ao_pins.h index 9b623627..8cd4a9c4 100644 --- a/src/detherm/ao_pins.h +++ b/src/detherm/ao_pins.h @@ -72,11 +72,13 @@ /* MS5607 */ #define HAS_MS5607 1 -#define AO_MS5607_CS_PORT (&stm_gpiob) -#define AO_MS5607_CS_PIN 6 +#define AO_MS5607_CS_PORT (&stm_gpioa) +#define AO_MS5607_CS_PIN 0 #define AO_MS5607_SPI_INDEX AO_SPI_1_PB3_PB4_PB5 #define AO_MS5607_MISO_PORT (&stm_gpiob) #define AO_MS5607_MISO_PIN 4 +#define AO_MS5607_PRIVATE_PINS 1 +#define AO_MS5607_SPI_SPEED AO_SPI_SPEED_6MHz /* Flash */ |