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" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
namespace targets {
|
||||||
|
namespace revo_f4 {
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
ledBlue = PB_5,
|
// Onboard leds
|
||||||
ledOrange = PB_4,
|
PIN_BLUE_LED = PB_5,
|
||||||
sensV = PC_2,
|
PIN_ORANGE_LED = PB_4,
|
||||||
sensC = PC_1,
|
|
||||||
|
|
||||||
MPU_MOSI = PA_7,
|
// Analog sensors
|
||||||
MPU_MISO = PA_6,
|
PIN_VOLTAGE_SENSOR = PC_2,
|
||||||
MPU_SCLK = PA_5,
|
PIN_CURRENT_SENSOR = PC_1,
|
||||||
MPU_NSS = PA_4,
|
|
||||||
|
|
||||||
COMPASS_SCL = PB_8,
|
// MPU SPI pins
|
||||||
COMPASS_SDA = PB_9,
|
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;
|
} PinMap;
|
||||||
|
|
||||||
|
} // namespace revo_f4
|
||||||
|
} // namespace targets
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user