|
DevLab_ICM20948 1.0.0
Driver para sensor ICM-20948
|
#include <7Semi_Interface.h>
Public Member Functions | |
| virtual | ~Interface_7Semi () |
| virtual bool | beginI2C (uint8_t address, TwoWire &wire, uint32_t speed, uint8_t sda=255, uint8_t scl=255)=0 |
| virtual bool | beginSPI (uint8_t cs_pin, SPIClass &wire, uint32_t speed, uint8_t csk=255, uint8_t miso=255, uint8_t mosi=255)=0 |
| virtual int8_t | read (uint8_t reg, uint8_t *data, uint32_t len)=0 |
| virtual int8_t | write (uint8_t reg, const uint8_t *data, uint32_t len)=0 |
Static Protected Member Functions | |
| static void | delay_us (uint32_t us) |
7Semi Universal Interface Layer
Definition at line 15 of file 7Semi_Interface.h.
|
inlinevirtual |
Definition at line 18 of file 7Semi_Interface.h.
|
pure virtual |
Returns:
Implemented in I2C_Interface, and SPI_Interface.
|
pure virtual |
Implemented in I2C_Interface, and SPI_Interface.
|
inlinestaticprotected |
Delay wrapper
Definition at line 82 of file 7Semi_Interface.h.
|
pure virtual |
Parameters:
Returns:
Implemented in I2C_Interface, and SPI_Interface.
|
pure virtual |
Returns:
Implemented in I2C_Interface, and SPI_Interface.