Exception for I2C bus initialization failure.
More...
#include <HAL.hpp>
|
| | i2c_error (int sda, int scl, int bus) |
| | Unable to initialize the I2C bus exception.
|
| |
| | i2c_error (uint8_t address) |
| | Invalid I2C address exception.
|
| |
Exception for I2C bus initialization failure.
Definition at line 78 of file HAL.hpp.
◆ i2c_error() [1/2]
| i2c_error::i2c_error |
( |
int | sda, |
|
|
int | scl, |
|
|
int | bus ) |
|
inline |
Unable to initialize the I2C bus exception.
- Parameters
-
| sda | SDA pin number |
| scl | SCL pin number |
| bus | I2C bus |
Definition at line 88 of file HAL.hpp.
◆ i2c_error() [2/2]
| i2c_error::i2c_error |
( |
uint8_t | address | ) |
|
|
inline |
Invalid I2C address exception.
- Parameters
-
Definition at line 103 of file HAL.hpp.
◆ ~i2c_error()
| virtual i2c_error::~i2c_error |
( |
| ) |
|
|
inlinevirtualnoexcept |
The documentation for this class was generated from the following file:
- /github/workspace/src/include/HAL.hpp