MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
Public Attributes | List of all members
MblMwGpioAnalogReadParameters Struct Reference

Additional parameters required for an enhanced analog read. More...

#include <gpio.h>

Public Attributes

uint8_t pullup_pin
 GPIO pin to be pulled up before the read, set to MBL_MW_GPIO_UNUSED_PIN if not used.
 
uint8_t pulldown_pin
 GPIO pin to be pulled down before the read, set to MBL_MW_GPIO_UNUSED_PIN if not used.
 
uint8_t virtual_pin
 GPIO pin the data identifies as, must match pin value for mbl_mw_gpio_get_analog_input_data_signal if used or set to MBL_MW_GPIO_UNUSED_PIN if not used.
 
uint16_t delay_us
 How long to wait before reading from the pin, between [0, 1020]us, set to 0 if not used.
 

Detailed Description

Additional parameters required for an enhanced analog read.

This struct is to be used with mbl_mw_datasignal_read_with_parameters

Author
Eric Tsai

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