◆ SetActive()
Status pw::spi::MockChipSelector::SetActive |
( |
bool |
active | ) |
|
|
inlineoverrideprivatevirtual |
SetActive sets the state of the chip-select signal to the value represented by the active
parameter. Passing a value of true
will activate the chip-select signal, and false
will deactivate the chip-select signal.
- Returns
embed:rst:leading-asterisk
*
* .. pw-status-codes::
*
* OK: Success.
*
* Returns other implementation-specific values on failure.
*
*
Implements pw::spi::ChipSelector.
The documentation for this class was generated from the following file: