![]() |
PIDUINO
|
Broche de chip select d'un bus SPI. More...
#include <spidev.h>
Public Member Functions | |
Cs () | |
int | id () const |
Pin * | pin () const |
Pin::Mode | mode () const |
bool | driverControl () const |
bool | activeLevel () const |
bool | setDriverControl (bool enable=false, bool activeLevel=false) |
bool | get () const |
void | set (bool value) |
Protected Member Functions | |
void | setId (int value) |
void | setPin (Pin *value) |
void | setMode (Pin::Mode value) |
Private Attributes | |
int | _id |
Pin * | _pin |
Pin::Mode | _mode |
bool | _driverControl |
bool | _activeLevel |
|
inline |
Definition at line 100 of file spidev.h.
References _activeLevel.
|
inline |
Definition at line 96 of file spidev.h.
References _driverControl.
bool Piduino::SpiDev::Cs::get | ( | ) | const |
|
inline |
|
inline |
|
inline |
void Piduino::SpiDev::Cs::set | ( | bool | value | ) |
bool Piduino::SpiDev::Cs::setDriverControl | ( | bool | enable = false , |
bool | activeLevel = false |
||
) |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
private |
Definition at line 124 of file spidev.h.
Referenced by activeLevel().
|
private |
Definition at line 123 of file spidev.h.
Referenced by driverControl().
|
private |
|
private |