USB_Host_Shield_2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
MAX3421e< SS, INTR > Class Template Reference

#include <usbhost.h>

Inheritance diagram for MAX3421e< SS, INTR >:
Inheritance graph
[legend]

Public Member Functions

 MAX3421e ()
 
void regWr (uint8_t reg, uint8_t data)
 
uint8_t * bytesWr (uint8_t reg, uint8_t nbytes, uint8_t *data_p)
 
void gpioWr (uint8_t data)
 
uint8_t regRd (uint8_t reg)
 
uint8_t * bytesRd (uint8_t reg, uint8_t nbytes, uint8_t *data_p)
 
uint8_t gpioRd ()
 
uint16_t reset ()
 
int8_t Init ()
 
uint8_t getVbusState (void)
 
void busprobe ()
 
uint8_t GpxHandler ()
 
uint8_t IntHandler ()
 
uint8_t Task ()
 

Constructor & Destructor Documentation

template<typename SS , typename INTR >
MAX3421e< SS, INTR >::MAX3421e ( )

Member Function Documentation

template<typename SS , typename INTR >
void MAX3421e< SS, INTR >::busprobe ( )
template<typename SS , typename INTR >
uint8_t * MAX3421e< SS, INTR >::bytesRd ( uint8_t  reg,
uint8_t  nbytes,
uint8_t *  data_p 
)
template<typename SS , typename INTR >
uint8_t * MAX3421e< SS, INTR >::bytesWr ( uint8_t  reg,
uint8_t  nbytes,
uint8_t *  data_p 
)
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::getVbusState ( void  )
inline
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::gpioRd ( )
template<typename SS , typename INTR >
void MAX3421e< SS, INTR >::gpioWr ( uint8_t  data)
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::GpxHandler ( )
template<typename SS , typename INTR >
int8_t MAX3421e< SS, INTR >::Init ( )
  • initialize MAX3421E. Set Host mode, pullups, and stuff. Returns 0 if success, -1 if not */
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::IntHandler ( )
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::regRd ( uint8_t  reg)
template<typename SS , typename INTR >
void MAX3421e< SS, INTR >::regWr ( uint8_t  reg,
uint8_t  data 
)
template<typename SS , typename INTR >
uint16_t MAX3421e< SS, INTR >::reset ( )
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::Task ( void  )

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