Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. C/C++
  4. Pw_spi
  5. pw::spi::BitsPerWord Class 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: