WPILib 2012
WPILibRoboticsLibraryforFRC
|
Classes | |
union | tChannels |
union | tConfig |
union | tStatus |
Public Types | |
enum | tIfaceConstants { kNumSystems = 1 } |
enum | tStatus_IfaceConstants |
enum | tReadReceivedData_IfaceConstants |
enum | tConfig_IfaceConstants |
enum | tReceivedData_IfaceConstants |
enum | tDataToLoad_IfaceConstants |
enum | tReset_IfaceConstants |
enum | tChannels_IfaceConstants |
enum | tClearReceivedData_IfaceConstants |
enum | tReceivedElements_IfaceConstants |
enum | tLoad_IfaceConstants |
enum | tAvailableToLoad_IfaceConstants |
Public Member Functions | |
virtual tSystemInterface * | getSystemInterface ()=0 |
virtual tStatus | readStatus (tRioStatusCode *status)=0 |
virtual bool | readStatus_ReceivedDataOverflow (tRioStatusCode *status)=0 |
virtual bool | readStatus_Idle (tRioStatusCode *status)=0 |
virtual void | strobeReadReceivedData (tRioStatusCode *status)=0 |
virtual void | writeConfig (tConfig value, tRioStatusCode *status)=0 |
virtual void | writeConfig_BusBitWidth (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeConfig_ClockHalfPeriodDelay (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeConfig_MSBfirst (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_DataOnFalling (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_LatchFirst (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_LatchLast (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_FramePolarity (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_WriteOnly (bool value, tRioStatusCode *status)=0 |
virtual void | writeConfig_ClockPolarity (bool value, tRioStatusCode *status)=0 |
virtual tConfig | readConfig (tRioStatusCode *status)=0 |
virtual unsigned char | readConfig_BusBitWidth (tRioStatusCode *status)=0 |
virtual unsigned char | readConfig_ClockHalfPeriodDelay (tRioStatusCode *status)=0 |
virtual bool | readConfig_MSBfirst (tRioStatusCode *status)=0 |
virtual bool | readConfig_DataOnFalling (tRioStatusCode *status)=0 |
virtual bool | readConfig_LatchFirst (tRioStatusCode *status)=0 |
virtual bool | readConfig_LatchLast (tRioStatusCode *status)=0 |
virtual bool | readConfig_FramePolarity (tRioStatusCode *status)=0 |
virtual bool | readConfig_WriteOnly (tRioStatusCode *status)=0 |
virtual bool | readConfig_ClockPolarity (tRioStatusCode *status)=0 |
virtual unsigned int | readReceivedData (tRioStatusCode *status)=0 |
virtual void | writeDataToLoad (unsigned int value, tRioStatusCode *status)=0 |
virtual unsigned int | readDataToLoad (tRioStatusCode *status)=0 |
virtual void | strobeReset (tRioStatusCode *status)=0 |
virtual void | writeChannels (tChannels value, tRioStatusCode *status)=0 |
virtual void | writeChannels_SCLK_Channel (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_SCLK_Module (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_MOSI_Channel (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_MOSI_Module (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_MISO_Channel (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_MISO_Module (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_SS_Channel (unsigned char value, tRioStatusCode *status)=0 |
virtual void | writeChannels_SS_Module (unsigned char value, tRioStatusCode *status)=0 |
virtual tChannels | readChannels (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_SCLK_Channel (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_SCLK_Module (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_MOSI_Channel (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_MOSI_Module (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_MISO_Channel (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_MISO_Module (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_SS_Channel (tRioStatusCode *status)=0 |
virtual unsigned char | readChannels_SS_Module (tRioStatusCode *status)=0 |
virtual void | strobeClearReceivedData (tRioStatusCode *status)=0 |
virtual unsigned short | readReceivedElements (tRioStatusCode *status)=0 |
virtual void | strobeLoad (tRioStatusCode *status)=0 |
virtual unsigned short | readAvailableToLoad (tRioStatusCode *status)=0 |
Static Public Member Functions | |
static tSPI * | create (tRioStatusCode *status) |