C/C++ API Reference
Loading...
Searching...
No Matches
pw::spi::MockChipSelector Class Reference
Inheritance diagram for pw::spi::MockChipSelector:
pw::spi::ChipSelector

Public Member Functions

bool is_active ()
 
- Public Member Functions inherited from pw::spi::ChipSelector
virtual Status SetActive (bool active)=0
 
Status Activate ()
 
Status Deactivate ()
 

Private Member Functions

Status SetActive (bool active) override
 

Member Function Documentation

◆ 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: