file
adi.hppContents
- Reference
Contains prototypes for interfacing with the ADI.
This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:/
Namespaces
Classes
- class pros::adi::Port
- class pros::adi::AnalogIn
- class pros::adi::AnalogOut
- class pros::adi::DigitalOut
- class pros::adi::DigitalIn
- class pros::adi::Motor
- class pros::adi::Encoder
- class pros::adi::Ultrasonic
- class pros::adi::Gyro
- class pros::adi::Potentiometer
- class pros::adi::Led
- class pros::adi::Pneumatics
Functions
-
LEGACY_TYPEDEF(ADIPort,
pros::
adi:: Port) -
LEGACY_TYPEDEF(ADIAnalogIn,
pros::
adi:: AnalogIn) -
LEGACY_TYPEDEF(ADIAnalogOut,
pros::
adi:: AnalogOut) -
LEGACY_TYPEDEF(ADIDigitalIn,
pros::
adi:: DigitalIn) -
LEGACY_TYPEDEF(ADIDigitalOut,
pros::
adi:: DigitalOut) -
LEGACY_TYPEDEF(ADIMotor,
pros::
adi:: Motor) -
LEGACY_TYPEDEF(ADIGyro,
pros::
adi:: Gyro) -
LEGACY_TYPEDEF(ADIEncoder,
pros::
adi:: Encoder) -
LEGACY_TYPEDEF(ADIUltrasonic,
pros::
adi:: Ultrasonic) -
LEGACY_TYPEDEF(LED,
pros::
adi:: Led) -
LEGACY_TYPEDEF(ADIPotentiometer,
pros::
adi:: Potentiometer) -
LEGACY_TYPEDEF(ADILineSensor,
pros::
adi:: LineSensor) -
LEGACY_TYPEDEF(ADILightSensor,
pros::
adi:: LightSensor) -
LEGACY_TYPEDEF(ADIAccelerometer,
pros::
adi:: Accelerometer) -
LEGACY_TYPEDEF(ADIButton,
pros::
adi:: Button) -
LEGACY_TYPEDEF(ADIPneumatics,
pros::
adi:: Pneumatics) -
LEGACY_TYPEDEF(ADILED,
pros::
adi:: Led) -
LEGACY_TYPEDEF(ADILed,
pros::
adi:: Led)
Typedefs
- using ext_adi_port_pair_t = std::pair<std::uint8_t, std::uint8_t>
- type definition for the pair of smart port and adi port for the basic adi devices
- using ext_adi_port_tuple_t = std::tuple<std::uint8_t, std::uint8_t, std::uint8_t>
- type definition for the triplet of smart port and two adi ports for the two wire adi devices
- using LineSensor = AnalogIn
- using LightSensor = AnalogIn
- using Accelerometer = AnalogIn
- using Button = DigitalIn
- using LED = Led
- Alias for ADILed.
Defines
- #define LEGACY_TYPEDEF(old_name, new_name)