10 namespace as3935_spi {
15 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
16 spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_2MHZ> {
18 void setup()
override;
22 void write_register(uint8_t reg, uint8_t mask, uint8_t bits, uint8_t start_position)
override;
void dump_config() override
The SPIDevice is what components using the SPI will create.
uint8_t read_register(uint8_t reg) override
void write_register(uint8_t reg, uint8_t mask, uint8_t bits, uint8_t start_position) override
Implementation of SPI Controller mode.