WPILibC++ 2024.3.2
hal::DIOSetProxy Struct Reference

Proxy class for directly manipulating the DIO pins. More...

#include <hal/cpp/UnsafeDIO.h>

Public Member Functions

 DIOSetProxy (tDIO::tOutputEnable setOutputDirReg, tDIO::tOutputEnable unsetOutputDirReg, tDIO::tDO setOutputStateReg, tDIO::tDO unsetOutputStateReg, tDIO *dio)
 
 DIOSetProxy (const DIOSetProxy &)=delete
 
 DIOSetProxy (DIOSetProxy &&)=delete
 
DIOSetProxyoperator= (const DIOSetProxy &)=delete
 
DIOSetProxyoperator= (DIOSetProxy &&)=delete
 
void SetOutputMode (int32_t *status)
 
void SetInputMode (int32_t *status)
 
void SetOutputTrue (int32_t *status)
 
void SetOutputFalse (int32_t *status)
 

Public Attributes

tDIO::tOutputEnable m_setOutputDirReg
 
tDIO::tOutputEnable m_unsetOutputDirReg
 
tDIO::tDO m_setOutputStateReg
 
tDIO::tDO m_unsetOutputStateReg
 
tDIO * m_dio
 

Detailed Description

Proxy class for directly manipulating the DIO pins.

This class is not copyable or movable, and should never be used outside of the UnsafeManipulateDIO callback.

Constructor & Destructor Documentation

◆ DIOSetProxy() [1/3]

hal::DIOSetProxy::DIOSetProxy ( tDIO::tOutputEnable  setOutputDirReg,
tDIO::tOutputEnable  unsetOutputDirReg,
tDIO::tDO  setOutputStateReg,
tDIO::tDO  unsetOutputStateReg,
tDIO *  dio 
)
inline

◆ DIOSetProxy() [2/3]

hal::DIOSetProxy::DIOSetProxy ( const DIOSetProxy )
delete

◆ DIOSetProxy() [3/3]

hal::DIOSetProxy::DIOSetProxy ( DIOSetProxy &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

DIOSetProxy & hal::DIOSetProxy::operator= ( const DIOSetProxy )
delete

◆ operator=() [2/2]

DIOSetProxy & hal::DIOSetProxy::operator= ( DIOSetProxy &&  )
delete

◆ SetInputMode()

void hal::DIOSetProxy::SetInputMode ( int32_t *  status)
inline

◆ SetOutputFalse()

void hal::DIOSetProxy::SetOutputFalse ( int32_t *  status)
inline

◆ SetOutputMode()

void hal::DIOSetProxy::SetOutputMode ( int32_t *  status)
inline

◆ SetOutputTrue()

void hal::DIOSetProxy::SetOutputTrue ( int32_t *  status)
inline

Member Data Documentation

◆ m_dio

tDIO* hal::DIOSetProxy::m_dio

◆ m_setOutputDirReg

tDIO::tOutputEnable hal::DIOSetProxy::m_setOutputDirReg

◆ m_setOutputStateReg

tDIO::tDO hal::DIOSetProxy::m_setOutputStateReg

◆ m_unsetOutputDirReg

tDIO::tOutputEnable hal::DIOSetProxy::m_unsetOutputDirReg

◆ m_unsetOutputStateReg

tDIO::tDO hal::DIOSetProxy::m_unsetOutputStateReg

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