|
bool | addI2C (PinFunction function, GpioPin scl, GpioPin sda, int port=-1, uint32_t frequency=100000, TwoWire &wire=Wire) |
|
bool | addI2C (PinsI2C pin) |
|
bool | addI2S (PinFunction function, GpioPin mclk, GpioPin bck, GpioPin ws, GpioPin data_out, GpioPin data_in=-1, int port=0) |
|
bool | addI2S (PinsI2S pin) |
|
bool | addPin (PinFunction function, GpioPin pinNo, PinLogic logic, int index=0) |
|
bool | addPin (PinsFunction pin) |
|
bool | addSPI (PinFunction function, GpioPin clk, GpioPin miso, GpioPin mosi, GpioPin cs, SPIClass &spi=SPI) |
|
bool | addSPI (PinsSPI pin) |
|
virtual bool | begin () |
| Sets up all pins e.g. by calling pinMode() More...
|
|
void | end () |
|
audio_driver_local::Optional< PinsI2C > | getI2CPins (PinFunction function) |
| Finds the I2C pin info with the help of the function. More...
|
|
audio_driver_local::Optional< PinsI2S > | getI2SPins (int port) |
| Finds the I2S pin info with the help of the port. More...
|
|
audio_driver_local::Optional< PinsI2S > | getI2SPins (PinFunction function=PinFunction::CODEC) |
| Finds the I2S pin info with the help of the function. More...
|
|
audio_driver_local::Optional< PinsFunction > | getPin (GpioPin pinId) |
| Get pin information by pin ID. More...
|
|
audio_driver_local::Optional< PinsFunction > | getPin (PinFunction function, int pos=0) |
| Get pin information by function. More...
|
|
GpioPin | getPinID (PinFunction function, int pos=0) |
|
audio_driver_local::Optional< PinsSPI > | getSPIPins (PinFunction function) |
| Finds the SPI pin info with the help of the function. More...
|
|
bool | hasPins () |
| Returns true if some function pins have been defined. More...
|
|
bool | isSPIActiveForSD () |
| Check if SPI for SD should be started automatically. More...
|
|
bool | setI2C (PinsI2C pin) |
| Updates the I2C pin information using the function as key. More...
|
|
bool | setI2S (PinsI2S pin) |
| Updates the I2S pin information using the function as key. More...
|
|
bool | setSPI (PinsSPI pin) |
| Updates the SPI pin information using the function as key. More...
|
|
void | setSPIActiveForSD (bool active) |
| Defines if SPI for SD should be started (by default true) More...
|
|
All pins for i2s, spi, i2c and other pins.
- Author
- Phil Schatzmann
- Copyright
- GPLv3