WPILib 2012
WPILibRoboticsLibraryforFRC
Classes | Public Types | Public Member Functions | Static Public Member Functions
nFPGA::nFRC_2012_1_6_4::tDIO Class Reference

List of all members.

Classes

union  tDO_PWMConfig
union  tI2CConfig
union  tI2CStatus
union  tPWMConfig
union  tSlowValue

Public Types

enum  tIfaceConstants { kNumSystems = 2 }
enum  tI2CDataToSend_IfaceConstants
enum  tDO_IfaceConstants
enum  tFilterSelect_IfaceConstants { kNumFilterSelectElements = 16 }
enum  tFilterPeriod_IfaceConstants { kNumFilterPeriodElements = 3 }
enum  tOutputEnable_IfaceConstants
enum  tSlowValue_IfaceConstants
enum  tI2CStatus_IfaceConstants
enum  tI2CDataReceived_IfaceConstants
enum  tDI_IfaceConstants
enum  tPulse_IfaceConstants
enum  tPWMPeriodScale_IfaceConstants { kNumPWMPeriodScaleElements = 10 }
enum  tDO_PWMDutyCycle_IfaceConstants { kNumDO_PWMDutyCycleElements = 4 }
enum  tBFL_IfaceConstants
enum  tI2CStart_IfaceConstants
enum  tDO_PWMConfig_IfaceConstants
enum  tPulseLength_IfaceConstants
enum  tI2CConfig_IfaceConstants
enum  tLoopTiming_IfaceConstants
enum  tPWMConfig_IfaceConstants
enum  tPWMValue_IfaceConstants { kNumPWMValueRegisters = 10 }

Public Member Functions

virtual tSystemInterfacegetSystemInterface ()=0
virtual unsigned char getSystemIndex ()=0
virtual void writeI2CDataToSend (unsigned int value, tRioStatusCode *status)=0
virtual unsigned int readI2CDataToSend (tRioStatusCode *status)=0
virtual void writeDO (unsigned short value, tRioStatusCode *status)=0
virtual unsigned short readDO (tRioStatusCode *status)=0
virtual void writeFilterSelect (unsigned char bitfield_index, unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readFilterSelect (unsigned char bitfield_index, tRioStatusCode *status)=0
virtual void writeFilterPeriod (unsigned char bitfield_index, unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readFilterPeriod (unsigned char bitfield_index, tRioStatusCode *status)=0
virtual void writeOutputEnable (unsigned short value, tRioStatusCode *status)=0
virtual unsigned short readOutputEnable (tRioStatusCode *status)=0
virtual void writeSlowValue (tSlowValue value, tRioStatusCode *status)=0
virtual void writeSlowValue_RelayFwd (unsigned char value, tRioStatusCode *status)=0
virtual void writeSlowValue_RelayRev (unsigned char value, tRioStatusCode *status)=0
virtual void writeSlowValue_I2CHeader (unsigned char value, tRioStatusCode *status)=0
virtual tSlowValue readSlowValue (tRioStatusCode *status)=0
virtual unsigned char readSlowValue_RelayFwd (tRioStatusCode *status)=0
virtual unsigned char readSlowValue_RelayRev (tRioStatusCode *status)=0
virtual unsigned char readSlowValue_I2CHeader (tRioStatusCode *status)=0
virtual tI2CStatus readI2CStatus (tRioStatusCode *status)=0
virtual unsigned char readI2CStatus_Transaction (tRioStatusCode *status)=0
virtual bool readI2CStatus_Done (tRioStatusCode *status)=0
virtual bool readI2CStatus_Aborted (tRioStatusCode *status)=0
virtual unsigned int readI2CStatus_DataReceivedHigh (tRioStatusCode *status)=0
virtual unsigned int readI2CDataReceived (tRioStatusCode *status)=0
virtual unsigned short readDI (tRioStatusCode *status)=0
virtual void writePulse (unsigned short value, tRioStatusCode *status)=0
virtual unsigned short readPulse (tRioStatusCode *status)=0
virtual void writePWMPeriodScale (unsigned char bitfield_index, unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readPWMPeriodScale (unsigned char bitfield_index, tRioStatusCode *status)=0
virtual void writeDO_PWMDutyCycle (unsigned char bitfield_index, unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readDO_PWMDutyCycle (unsigned char bitfield_index, tRioStatusCode *status)=0
virtual void writeBFL (bool value, tRioStatusCode *status)=0
virtual bool readBFL (tRioStatusCode *status)=0
virtual void strobeI2CStart (tRioStatusCode *status)=0
virtual void writeDO_PWMConfig (tDO_PWMConfig value, tRioStatusCode *status)=0
virtual void writeDO_PWMConfig_PeriodPower (unsigned char value, tRioStatusCode *status)=0
virtual void writeDO_PWMConfig_OutputSelect_0 (unsigned char value, tRioStatusCode *status)=0
virtual void writeDO_PWMConfig_OutputSelect_1 (unsigned char value, tRioStatusCode *status)=0
virtual void writeDO_PWMConfig_OutputSelect_2 (unsigned char value, tRioStatusCode *status)=0
virtual void writeDO_PWMConfig_OutputSelect_3 (unsigned char value, tRioStatusCode *status)=0
virtual tDO_PWMConfig readDO_PWMConfig (tRioStatusCode *status)=0
virtual unsigned char readDO_PWMConfig_PeriodPower (tRioStatusCode *status)=0
virtual unsigned char readDO_PWMConfig_OutputSelect_0 (tRioStatusCode *status)=0
virtual unsigned char readDO_PWMConfig_OutputSelect_1 (tRioStatusCode *status)=0
virtual unsigned char readDO_PWMConfig_OutputSelect_2 (tRioStatusCode *status)=0
virtual unsigned char readDO_PWMConfig_OutputSelect_3 (tRioStatusCode *status)=0
virtual void writePulseLength (unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readPulseLength (tRioStatusCode *status)=0
virtual void writeI2CConfig (tI2CConfig value, tRioStatusCode *status)=0
virtual void writeI2CConfig_Address (unsigned char value, tRioStatusCode *status)=0
virtual void writeI2CConfig_BytesToRead (unsigned char value, tRioStatusCode *status)=0
virtual void writeI2CConfig_BytesToWrite (unsigned char value, tRioStatusCode *status)=0
virtual void writeI2CConfig_DataToSendHigh (unsigned short value, tRioStatusCode *status)=0
virtual void writeI2CConfig_BitwiseHandshake (bool value, tRioStatusCode *status)=0
virtual tI2CConfig readI2CConfig (tRioStatusCode *status)=0
virtual unsigned char readI2CConfig_Address (tRioStatusCode *status)=0
virtual unsigned char readI2CConfig_BytesToRead (tRioStatusCode *status)=0
virtual unsigned char readI2CConfig_BytesToWrite (tRioStatusCode *status)=0
virtual unsigned short readI2CConfig_DataToSendHigh (tRioStatusCode *status)=0
virtual bool readI2CConfig_BitwiseHandshake (tRioStatusCode *status)=0
virtual unsigned short readLoopTiming (tRioStatusCode *status)=0
virtual void writePWMConfig (tPWMConfig value, tRioStatusCode *status)=0
virtual void writePWMConfig_Period (unsigned short value, tRioStatusCode *status)=0
virtual void writePWMConfig_MinHigh (unsigned short value, tRioStatusCode *status)=0
virtual tPWMConfig readPWMConfig (tRioStatusCode *status)=0
virtual unsigned short readPWMConfig_Period (tRioStatusCode *status)=0
virtual unsigned short readPWMConfig_MinHigh (tRioStatusCode *status)=0
virtual void writePWMValue (unsigned char reg_index, unsigned char value, tRioStatusCode *status)=0
virtual unsigned char readPWMValue (unsigned char reg_index, tRioStatusCode *status)=0

Static Public Member Functions

static tDIOcreate (unsigned char sys_index, tRioStatusCode *status)

The documentation for this class was generated from the following file:
 All Classes Functions Variables