SPI Peripheral Driver. More...
#include <spi.h>
Inherits Sink< Request >.
Classes | |
| struct | Conf |
| peripheral configuration More... | |
Public Member Functions | |
| HW (const Conf &conf) | |
| init peripheral with given Conf | |
| bool | full () override |
| check if sink is full | |
| virtual void | push (const Request &t) |
| copy semantics does not check for space. guard by using 'if (!full) { ... }' | |
| virtual void | push (Request &&)=0 |
| move semantics does not check for space. guard by using 'if (!full) { ... }' | |
| void | trypush (Request &&t) |
| use this if you don't care if it's going to be successful. data gets discarded if sink is full. | |
SPI Peripheral Driver.
| struct SPI::HW::Conf |