Add DMA support to HAL and WPILibC (#2080)

This commit is contained in:
Thad House
2019-11-14 22:52:34 -08:00
committed by Peter Johnson
parent 8280b7e3af
commit 82b2170feb
22 changed files with 1672 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ namespace frc {
class DigitalGlitchFilter;
class SendableBuilder;
class DMA;
class DMASample;
/**
* Class for counting the number of ticks on a digital input channel.
@@ -36,6 +38,9 @@ class Counter : public ErrorBase,
public CounterBase,
public Sendable,
public SendableHelper<Counter> {
friend class DMA;
friend class DMASample;
public:
enum Mode {
kTwoPulse = 0,