WPILibC++ 2023.4.3
frc::DMA Class Reference

#include <frc/DMA.h>

Public Member Functions

 DMA ()
 
 ~DMA ()
 
DMAoperator= (DMA &&other)=default
 
 DMA (DMA &&other)=default
 
void SetPause (bool pause)
 
void SetTimedTrigger (units::second_t seconds)
 
void SetTimedTriggerCycles (int cycles)
 
void AddEncoder (const Encoder *encoder)
 
void AddEncoderPeriod (const Encoder *encoder)
 
void AddCounter (const Counter *counter)
 
void AddCounterPeriod (const Counter *counter)
 
void AddDigitalSource (const DigitalSource *digitalSource)
 
void AddDutyCycle (const DutyCycle *digitalSource)
 
void AddAnalogInput (const AnalogInput *analogInput)
 
void AddAveragedAnalogInput (const AnalogInput *analogInput)
 
void AddAnalogAccumulator (const AnalogInput *analogInput)
 
int SetExternalTrigger (DigitalSource *source, bool rising, bool falling)
 
int SetPwmEdgeTrigger (PWM *pwm, bool rising, bool falling)
 
int SetPwmEdgeTrigger (PWMMotorController *pwm, bool rising, bool falling)
 
void ClearSensors ()
 
void ClearExternalTriggers ()
 
void Start (int queueDepth)
 
void Stop ()
 

Friends

class DMASample
 

Constructor & Destructor Documentation

◆ DMA() [1/2]

frc::DMA::DMA ( )

◆ ~DMA()

frc::DMA::~DMA ( )

◆ DMA() [2/2]

frc::DMA::DMA ( DMA &&  other)
default

Member Function Documentation

◆ AddAnalogAccumulator()

void frc::DMA::AddAnalogAccumulator ( const AnalogInput analogInput)

◆ AddAnalogInput()

void frc::DMA::AddAnalogInput ( const AnalogInput analogInput)

◆ AddAveragedAnalogInput()

void frc::DMA::AddAveragedAnalogInput ( const AnalogInput analogInput)

◆ AddCounter()

void frc::DMA::AddCounter ( const Counter counter)

◆ AddCounterPeriod()

void frc::DMA::AddCounterPeriod ( const Counter counter)

◆ AddDigitalSource()

void frc::DMA::AddDigitalSource ( const DigitalSource digitalSource)

◆ AddDutyCycle()

void frc::DMA::AddDutyCycle ( const DutyCycle digitalSource)

◆ AddEncoder()

void frc::DMA::AddEncoder ( const Encoder encoder)

◆ AddEncoderPeriod()

void frc::DMA::AddEncoderPeriod ( const Encoder encoder)

◆ ClearExternalTriggers()

void frc::DMA::ClearExternalTriggers ( )

◆ ClearSensors()

void frc::DMA::ClearSensors ( )

◆ operator=()

DMA & frc::DMA::operator= ( DMA &&  other)
default

◆ SetExternalTrigger()

int frc::DMA::SetExternalTrigger ( DigitalSource source,
bool  rising,
bool  falling 
)

◆ SetPause()

void frc::DMA::SetPause ( bool  pause)

◆ SetPwmEdgeTrigger() [1/2]

int frc::DMA::SetPwmEdgeTrigger ( PWM pwm,
bool  rising,
bool  falling 
)

◆ SetPwmEdgeTrigger() [2/2]

int frc::DMA::SetPwmEdgeTrigger ( PWMMotorController pwm,
bool  rising,
bool  falling 
)

◆ SetTimedTrigger()

void frc::DMA::SetTimedTrigger ( units::second_t  seconds)

◆ SetTimedTriggerCycles()

void frc::DMA::SetTimedTriggerCycles ( int  cycles)

◆ Start()

void frc::DMA::Start ( int  queueDepth)

◆ Stop()

void frc::DMA::Stop ( )

Friends And Related Function Documentation

◆ DMASample

friend class DMASample
friend

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