OpenMPTL - STM32F10X
C++ Microprocessor Template Library
Public Types | List of all members
mptl::adc< adc_no >::external_trigger_conversion Struct Reference

External event select for regular group. More...

#include <adc.hpp>

Public Types

using software_start = regval< typename ADCx::CR2::EXTSEL, 7 >
 SWSTART. More...
 
template<unsigned timer, unsigned cc>
using capture_compare = typename capture_compare_impl< timer, cc >::type
 CCx. More...
 
template<unsigned timer>
using trigger_output = typename trigger_output_impl< timer >::type
 
using exti_line11 = typename std::enable_if<(adc_no< 3), regval< typename ADCx::CR2::EXTSEL, 6 > >::type
 

Detailed Description

template<unsigned adc_no>
struct mptl::adc< adc_no >::external_trigger_conversion

Select the external event used to trigger the start of conversion of a regular group:

Member Typedef Documentation

◆ capture_compare

template<unsigned adc_no>
template<unsigned timer, unsigned cc>
using mptl::adc< adc_no >::external_trigger_conversion::capture_compare = typename capture_compare_impl< timer, cc >::type

◆ exti_line11

template<unsigned adc_no>
using mptl::adc< adc_no >::external_trigger_conversion::exti_line11 = typename std::enable_if< (adc_no < 3), regval< typename ADCx::CR2::EXTSEL, 6 > >::type

◆ software_start

template<unsigned adc_no>
using mptl::adc< adc_no >::external_trigger_conversion::software_start = regval< typename ADCx::CR2::EXTSEL, 7 >

◆ trigger_output

template<unsigned adc_no>
template<unsigned timer>
using mptl::adc< adc_no >::external_trigger_conversion::trigger_output = typename trigger_output_impl< timer >::type

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