C/C++ API Reference
Loading...
Searching...
No Matches
pw::spi::BitsPerWord Class Reference

Overview

Configuration object used to represent the number of bits in a SPI data word. Devices typically use 8-bit words, although values of 3-32 are sometimes specified for bus-level optimizations. Values outside this range are considered an error.

Public Member Functions

constexpr BitsPerWord (uint8_t data_bits)
 
constexpr uint8_t operator() () const
 

The documentation for this class was generated from the following file: