Skip to content

File spi.hpp

FileList > include > libhal-mock > spi.hpp

Go to the source code of this file

  • #include "testing.hpp"
  • #include <libhal/spi.hpp>
  • #include <libhal/units.hpp>

Namespaces

Type Name
namespace hal
The foundation of libhal containing, interfaces, utilities and soft drivers.
namespace mock

Classes

Type Name
struct write_only_spi
Mock spi implementation for use in unit tests and simulations with a spy functions for configure() and a record for thetransfer() out data. The record ignores the in buffer and just stores the data being sent so it can be inspected later.

The documentation for this class was generated from the following file libraries/include/libhal-mock/spi.hpp