Show / Hide Table of Contents

Interface ICounter

Namespace: Hal.Natives
Assembly: FRC.Hal.dll
Syntax
[StatusCheckedBy(typeof(StatusHandling), null)]
public interface ICounter

Methods

| Improve this Doc View Source

HAL_ClearCounterDownSource(Int32)

Declaration
void HAL_ClearCounterDownSource(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_ClearCounterUpSource(Int32)

Declaration
void HAL_ClearCounterUpSource(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_FreeCounter(Int32)

Declaration
void HAL_FreeCounter(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_GetCounter(Int32)

Declaration
int HAL_GetCounter(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetCounterDirection(Int32)

Declaration
int HAL_GetCounterDirection(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetCounterPeriod(Int32)

Declaration
double HAL_GetCounterPeriod(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
Returns
Type Description
Double
| Improve this Doc View Source

HAL_GetCounterSamplesToAverage(Int32)

Declaration
int HAL_GetCounterSamplesToAverage(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_GetCounterStopped(Int32)

Declaration
int HAL_GetCounterStopped(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_InitializeCounter(CounterMode, Int32*)

Declaration
[StatusCheckedBy(typeof(StatusHandling), "StatusCheckForce")]
int HAL_InitializeCounter(CounterMode mode, int *index)
Parameters
Type Name Description
CounterMode mode
Int32* index
Returns
Type Description
Int32
| Improve this Doc View Source

HAL_ResetCounter(Int32)

Declaration
void HAL_ResetCounter(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_SetCounterAverageSize(Int32, Int32)

Declaration
void HAL_SetCounterAverageSize(int counterHandle, int size)
Parameters
Type Name Description
Int32 counterHandle
Int32 size
| Improve this Doc View Source

HAL_SetCounterDownSource(Int32, Int32, AnalogTriggerType)

Declaration
void HAL_SetCounterDownSource(int counterHandle, int digitalSourceHandle, AnalogTriggerType analogTriggerType)
Parameters
Type Name Description
Int32 counterHandle
Int32 digitalSourceHandle
AnalogTriggerType analogTriggerType
| Improve this Doc View Source

HAL_SetCounterDownSourceEdge(Int32, Int32, Int32)

Declaration
void HAL_SetCounterDownSourceEdge(int counterHandle, int risingEdge, int fallingEdge)
Parameters
Type Name Description
Int32 counterHandle
Int32 risingEdge
Int32 fallingEdge
| Improve this Doc View Source

HAL_SetCounterExternalDirectionMode(Int32)

Declaration
void HAL_SetCounterExternalDirectionMode(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_SetCounterMaxPeriod(Int32, Double)

Declaration
void HAL_SetCounterMaxPeriod(int counterHandle, double maxPeriod)
Parameters
Type Name Description
Int32 counterHandle
Double maxPeriod
| Improve this Doc View Source

HAL_SetCounterPulseLengthMode(Int32, Double)

Declaration
void HAL_SetCounterPulseLengthMode(int counterHandle, double threshold)
Parameters
Type Name Description
Int32 counterHandle
Double threshold
| Improve this Doc View Source

HAL_SetCounterReverseDirection(Int32, Int32)

Declaration
void HAL_SetCounterReverseDirection(int counterHandle, int reverseDirection)
Parameters
Type Name Description
Int32 counterHandle
Int32 reverseDirection
| Improve this Doc View Source

HAL_SetCounterSamplesToAverage(Int32, Int32)

Declaration
void HAL_SetCounterSamplesToAverage(int counterHandle, int samplesToAverage)
Parameters
Type Name Description
Int32 counterHandle
Int32 samplesToAverage
| Improve this Doc View Source

HAL_SetCounterSemiPeriodMode(Int32, Int32)

Declaration
void HAL_SetCounterSemiPeriodMode(int counterHandle, int highSemiPeriod)
Parameters
Type Name Description
Int32 counterHandle
Int32 highSemiPeriod
| Improve this Doc View Source

HAL_SetCounterUpdateWhenEmpty(Int32, Int32)

Declaration
void HAL_SetCounterUpdateWhenEmpty(int counterHandle, int enabled)
Parameters
Type Name Description
Int32 counterHandle
Int32 enabled
| Improve this Doc View Source

HAL_SetCounterUpDownMode(Int32)

Declaration
void HAL_SetCounterUpDownMode(int counterHandle)
Parameters
Type Name Description
Int32 counterHandle
| Improve this Doc View Source

HAL_SetCounterUpSource(Int32, Int32, AnalogTriggerType)

Declaration
void HAL_SetCounterUpSource(int counterHandle, int digitalSourceHandle, AnalogTriggerType analogTriggerType)
Parameters
Type Name Description
Int32 counterHandle
Int32 digitalSourceHandle
AnalogTriggerType analogTriggerType
| Improve this Doc View Source

HAL_SetCounterUpSourceEdge(Int32, Int32, Int32)

Declaration
void HAL_SetCounterUpSourceEdge(int counterHandle, int risingEdge, int fallingEdge)
Parameters
Type Name Description
Int32 counterHandle
Int32 risingEdge
Int32 fallingEdge
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet