APM:Libraries
Public Attributes | List of all members
stm32_pin_info Struct Reference

Stores STM32-specific information related to a given Maple pin. More...

#include <boards.h>

Collaboration diagram for stm32_pin_info:
[legend]

Public Attributes

const gpio_dev *const gpio_device
 
const timer_dev *const timer_device
 
const adc_dev *const adc_device
 
uint8_t gpio_bit
 
timer_Channel timer_channel
 
uint8_t adc_channel
 

Detailed Description

Stores STM32-specific information related to a given Maple pin.

See also
PIN_MAP

Definition at line 88 of file boards.h.

Member Data Documentation

◆ adc_channel

uint8_t stm32_pin_info::adc_channel

Pin ADC channel, or nADC if none.

Definition at line 94 of file boards.h.

Referenced by F4Light::AnalogSource::setup_read().

◆ adc_device

const adc_dev* const stm32_pin_info::adc_device

ADC device, if any.

Definition at line 91 of file boards.h.

◆ gpio_bit

uint8_t stm32_pin_info::gpio_bit

◆ gpio_device

const gpio_dev* const stm32_pin_info::gpio_device

◆ timer_channel

timer_Channel stm32_pin_info::timer_channel

◆ timer_device

const timer_dev* const stm32_pin_info::timer_device

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