WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
PDP Class Reference
Inheritance diagram for PDP:
CtreCanNode

Public Member Functions

 PDP (UINT8 deviceNumber=0)
 
CTR_Code GetChannelCurrent (UINT8 idx, double &status)
 
CTR_Code GetVoltage (double &status)
 
CTR_Code GetTemperature (double &status)
 
CTR_Code GetTotalCurrent (double &currentAmps)
 
CTR_Code GetTotalPower (double &powerWatts)
 
CTR_Code GetTotalEnergy (double &energyJoules)
 
CTR_Code ClearStickyFaults ()
 
CTR_Code ResetEnergy ()
 
- Public Member Functions inherited from CtreCanNode
 CtreCanNode (UINT8 deviceNumber)
 
UINT8 GetDeviceNumber ()
 

Additional Inherited Members

- Protected Member Functions inherited from CtreCanNode
void RegisterRx (uint32_t arbId)
 
void RegisterTx (uint32_t arbId, uint32_t periodMs)
 Schedule a CAN Frame for periodic transmit. More...
 
void RegisterTx (uint32_t arbId, uint32_t periodMs, uint32_t dlc, const uint8_t *initialFrame)
 Schedule a CAN Frame for periodic transmit. More...
 
void UnregisterTx (uint32_t arbId)
 
CTR_Code GetRx (uint32_t arbId, uint8_t *dataBytes, uint32_t timeoutMs)
 
void FlushTx (uint32_t arbId)
 
bool ChangeTxPeriod (uint32_t arbId, uint32_t periodMs)
 
template<typename T >
txTask< T > GetTx (uint32_t arbId)
 
template<class T >
void FlushTx (T &par)
 
template<class T >
recMsg< T > GetRx (uint32_t arbId, uint32_t timeoutMs)
 
- Protected Attributes inherited from CtreCanNode
UINT8 _deviceNumber
 

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