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 ()
 

Detailed Description

template<typename SS, typename INTR>
class MAX3421e< SS, INTR >

Definition at line 55 of file usbhost.h.

Constructor & Destructor Documentation

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

Definition at line 83 of file usbhost.h.

Member Function Documentation

template<typename SS , typename INTR >
void MAX3421e< SS, INTR >::regWr ( uint8_t  reg,
uint8_t  data 
)

Definition at line 102 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t * MAX3421e< SS, INTR >::bytesWr ( uint8_t  reg,
uint8_t  nbytes,
uint8_t *  data_p 
)

Definition at line 115 of file usbhost.h.

template<typename SS , typename INTR >
void MAX3421e< SS, INTR >::gpioWr ( uint8_t  data)

Definition at line 132 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::regRd ( uint8_t  reg)

Definition at line 141 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t * MAX3421e< SS, INTR >::bytesRd ( uint8_t  reg,
uint8_t  nbytes,
uint8_t *  data_p 
)

Definition at line 154 of file usbhost.h.

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

Definition at line 172 of file usbhost.h.

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

Definition at line 183 of file usbhost.h.

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 */

Definition at line 208 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::getVbusState ( void  )
inline

Definition at line 69 of file usbhost.h.

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

Definition at line 229 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::GpxHandler ( )
template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::IntHandler ( )

Definition at line 283 of file usbhost.h.

template<typename SS , typename INTR >
uint8_t MAX3421e< SS, INTR >::Task ( void  )

Definition at line 264 of file usbhost.h.


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