Gyro and Flash documentation
This commit is contained in:
parent
806a80ebe0
commit
206c99f866
BIN
Datasheets/M25P16.pdf
Normal file
BIN
Datasheets/M25P16.pdf
Normal file
Binary file not shown.
Binary file not shown.
BIN
Datasheets/MPU-6000-Register-Map.pdf
Normal file
BIN
Datasheets/MPU-6000-Register-Map.pdf
Normal file
Binary file not shown.
@ -7,23 +7,40 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
namespace targets {
|
||||
namespace revo_f4 {
|
||||
|
||||
typedef enum
|
||||
{
|
||||
ledBlue = PB_5,
|
||||
ledOrange = PB_4,
|
||||
sensV = PC_2,
|
||||
sensC = PC_1,
|
||||
// Onboard leds
|
||||
PIN_BLUE_LED = PB_5,
|
||||
PIN_ORANGE_LED = PB_4,
|
||||
|
||||
MPU_MOSI = PA_7,
|
||||
MPU_MISO = PA_6,
|
||||
MPU_SCLK = PA_5,
|
||||
MPU_NSS = PA_4,
|
||||
// Analog sensors
|
||||
PIN_VOLTAGE_SENSOR = PC_2,
|
||||
PIN_CURRENT_SENSOR = PC_1,
|
||||
|
||||
COMPASS_SCL = PB_8,
|
||||
COMPASS_SDA = PB_9,
|
||||
// MPU SPI pins
|
||||
PIN_MPU_MOSI = PA_7,
|
||||
PIN_MPU_MISO = PA_6,
|
||||
PIN_MPU_SCLK = PA_5,
|
||||
PIN_MPU_NSS = PA_4,
|
||||
|
||||
// Flash SPI pins
|
||||
PIN_FLASH_MOSI = PC_12,
|
||||
PIN_FLASH_MISO = PC_11,
|
||||
PIN_FLASH_SCLK = PC_10,
|
||||
PIN_FLASH_NSS = PA_15,
|
||||
|
||||
// Compass i2c pins
|
||||
PIN_COMPASS_SCL = PB_8,
|
||||
PIN_COMPASS_SDA = PB_9,
|
||||
|
||||
} PinMap;
|
||||
|
||||
} // namespace revo_f4
|
||||
} // namespace targets
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user