#include <gpio.hpp>
|
using | input = regval< typename GPIOx::template CRx< pin_no >::MODE, 0 > |
| Input mode. More...
|
|
template<freq_t speed> |
using | output = typename std::enable_if< speed==mhz(2)||speed==mhz(10)||speed==mhz(50), regval< typename GPIOx::template CRx< pin_no >::MODE, speed==mhz(10) ? 1 :speed==mhz(2) ? 2 :speed==mhz(50) ? 3 :0xff > >::type |
| Output mode. More...
|
|
◆ input
template<char port, int pin_no>
◆ output
template<char port, int pin_no>
template<freq_t speed>
using mptl::gpio< port, pin_no >::mode::output = typename std::enable_if< speed == mhz(2) || speed == mhz(10) || speed == mhz(50), regval< typename GPIOx::template CRx<pin_no>::MODE, speed == mhz(10) ? 1 : speed == mhz(2) ? 2 : speed == mhz(50) ? 3 : 0xff > >::type |
The documentation for this struct was generated from the following file:
- arch/arm/cortex/stm32/f1/include/arch/gpio.hpp