#include <Device.h>
Inherited by BMP280_DEV.
◆ Device() [1/5]
Device::Device |
( |
TwoWire & | twoWire | ) |
|
◆ Device() [2/5]
Device::Device |
( |
uint8_t | sda, |
|
|
uint8_t | scl, |
|
|
TwoWire & | twoWire ) |
◆ Device() [3/5]
Device::Device |
( |
uint8_t | cs | ) |
|
◆ Device() [4/5]
Device::Device |
( |
uint8_t | sda, |
|
|
uint8_t | scl, |
|
|
TwoWire & | twoWire ) |
◆ Device() [5/5]
Device::Device |
( |
uint8_t | cs, |
|
|
uint8_t | spiPort, |
|
|
SPIClass & | spiClass ) |
◆ initialise()
void Device::initialise |
( |
| ) |
|
|
protected |
◆ readByte()
uint8_t Device::readByte |
( |
uint8_t | subAddress | ) |
|
|
protected |
◆ readBytes()
void Device::readBytes |
( |
uint8_t | subAddress, |
|
|
uint8_t * | dest, |
|
|
uint16_t | count ) |
|
protected |
◆ setClock()
void Device::setClock |
( |
uint32_t | clockSpeed | ) |
|
◆ setI2CAddress()
void Device::setI2CAddress |
( |
uint8_t | addr | ) |
|
|
protected |
◆ writeByte()
void Device::writeByte |
( |
uint8_t | subAddress, |
|
|
uint8_t | data ) |
|
protected |
◆ address
◆ comms
◆ cs
◆ i2c
◆ READ_MASK
const uint8_t Device::READ_MASK = 0x80 |
|
private |
◆ scl
◆ sda
◆ spi
◆ spiClockSpeed
uint32_t Device::spiClockSpeed |
|
private |
◆ spiPort
◆ WRITE_MASK
const uint8_t Device::WRITE_MASK = 0x7F |
|
private |
The documentation for this class was generated from the following files: