APM:Libraries
|
Stores STM32-specific information related to a given Maple pin. More...
#include <boards.h>
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 |
Stores STM32-specific information related to a given Maple pin.
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().
const adc_dev* const stm32_pin_info::adc_device |
uint8_t stm32_pin_info::gpio_bit |
Pin's GPIO port bit.
Definition at line 92 of file boards.h.
Referenced by __attribute__(), F4Light::GPIO::_attach_interrupt(), F4Light::GPIO::_pinMode(), F4Light::GPIO::_read(), F4Light::GPIO::_setSpeed(), F4Light::GPIO::_toggle(), F4Light::GPIO::_write(), F4Light::UARTDriver::begin(), boardInit(), F4Light::GPIO::get_channel(), i2c_bus_reset(), i2c_lowLevel_deinit(), i2c_lowLevel_init(), i2c_master_release_bus(), F4Light::I2CDevice::init(), F4Light::SPIDevice::init(), pwmInitializeInput(), F4Light::AnalogSource::setup_read(), F4Light::AnalogSource::stop_read(), and usb_init().
const gpio_dev* const stm32_pin_info::gpio_device |
Maple pin's GPIO device
Definition at line 89 of file boards.h.
Referenced by __attribute__(), F4Light::GPIO::_attach_interrupt(), F4Light::GPIO::_pinMode(), F4Light::GPIO::_read(), F4Light::GPIO::_setSpeed(), F4Light::GPIO::_toggle(), F4Light::GPIO::_write(), F4Light::UARTDriver::begin(), boardInit(), F4Light::GPIO::get_channel(), i2c_bus_reset(), i2c_lowLevel_deinit(), i2c_lowLevel_init(), i2c_master_release_bus(), F4Light::I2CDevice::init(), F4Light::SPIDevice::init(), pwmInitializeInput(), F4Light::AnalogSource::setup_read(), F4Light::AnalogSource::stop_read(), and usb_init().
timer_Channel stm32_pin_info::timer_channel |
Timer channel, or 0 if none.
Definition at line 93 of file boards.h.
Referenced by F4Light::GPIO::_pinMode(), F4Light::RCOutput::init_channel(), F4Light::RCOutput::push(), pwmInitializeInput(), pwmIRQHandler(), F4Light::RCOutput::set_pwm(), and F4Light::GPIO::write().
const timer_dev* const stm32_pin_info::timer_device |
Pin's timer device, if any.
Definition at line 90 of file boards.h.
Referenced by F4Light::GPIO::_pinMode(), F4Light::RCOutput::_set_output_mode(), F4Light::RCOutput::_set_pin_output_mode(), F4Light::RCOutput::enable_ch(), F4Light::RCOutput::fill_timers(), F4Light::RCOutput::get_freq(), F4Light::RCOutput::init_channel(), F4Light::RCOutput::push(), pwmInitializeInput(), pwmIRQHandler(), F4Light::RCOutput::set_freq(), F4Light::RCOutput::set_pwm(), and F4Light::GPIO::write().