|
|
@ -54,7 +54,7 @@ static constexpr uint8_t Bit5 = (1 << 5); |
|
|
|
static constexpr uint8_t Bit6 = (1 << 6); |
|
|
|
static constexpr uint8_t Bit6 = (1 << 6); |
|
|
|
static constexpr uint8_t Bit7 = (1 << 7); |
|
|
|
static constexpr uint8_t Bit7 = (1 << 7); |
|
|
|
|
|
|
|
|
|
|
|
static constexpr uint32_t SPI_SPEED = 12 * 1000 * 1000; // 24 MHz SPI
|
|
|
|
static constexpr uint32_t SPI_SPEED = 24 * 1000 * 1000; // 24 MHz SPI
|
|
|
|
static constexpr uint8_t DIR_READ = 0x80; |
|
|
|
static constexpr uint8_t DIR_READ = 0x80; |
|
|
|
|
|
|
|
|
|
|
|
static constexpr uint8_t WHOAMI = 0x67; |
|
|
|
static constexpr uint8_t WHOAMI = 0x67; |
|
|
|