OpenMPTL - STM32 (common)
C++ Microprocessor Template Library
Public Types | List of all members
mptl::spi_stm32_common< _spi_no, system_clock_type >::clock_polarity Struct Reference

#include <spi.hpp>

Public Types

using low = regval< typename SPIx::CR1::CPOL, 0 >
 
using high = regval< typename SPIx::CR1::CPOL, 1 >
 

Member Typedef Documentation

◆ high

template<unsigned _spi_no, typename system_clock_type >
using mptl::spi_stm32_common< _spi_no, system_clock_type >::clock_polarity::high = regval< typename SPIx::CR1::CPOL, 1 >

◆ low

template<unsigned _spi_no, typename system_clock_type >
using mptl::spi_stm32_common< _spi_no, system_clock_type >::clock_polarity::low = regval< typename SPIx::CR1::CPOL, 0 >

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