USB Host Shield 2.0
Public Member Functions | List of all members
MAX3421e< SPI_SS, INTR > Class Template Reference

#include <usbhost.h>

Inheritance diagram for MAX3421e< SPI_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 ()
 
int8_t Init (int mseconds)
 
void vbusPower (VBUS_t state)
 
uint8_t getVbusState (void)
 
void busprobe ()
 
uint8_t GpxHandler ()
 
uint8_t IntHandler ()
 
uint8_t Task ()
 

Detailed Description

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

Definition at line 132 of file usbhost.h.

Constructor & Destructor Documentation

◆ MAX3421e()

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

Definition at line 165 of file usbhost.h.

Member Function Documentation

◆ regWr()

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

Definition at line 176 of file usbhost.h.

◆ bytesWr()

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

Definition at line 219 of file usbhost.h.

◆ gpioWr()

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

Definition at line 273 of file usbhost.h.

◆ regRd()

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

Definition at line 282 of file usbhost.h.

◆ bytesRd()

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

Definition at line 321 of file usbhost.h.

◆ gpioRd()

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

Definition at line 384 of file usbhost.h.

◆ reset()

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

Definition at line 395 of file usbhost.h.

◆ Init() [1/2]

template<typename SPI_SS , typename INTR >
int8_t MAX3421e< SPI_SS, INTR >::Init ( )

Definition at line 409 of file usbhost.h.

◆ Init() [2/2]

template<typename SPI_SS , typename INTR >
int8_t MAX3421e< SPI_SS, INTR >::Init ( int  mseconds)

Definition at line 446 of file usbhost.h.

◆ vbusPower()

template<typename SPI_SS , typename INTR >
void MAX3421e< SPI_SS, INTR >::vbusPower ( VBUS_t  state)
inline

Definition at line 147 of file usbhost.h.

◆ getVbusState()

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

Definition at line 151 of file usbhost.h.

◆ busprobe()

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

Definition at line 490 of file usbhost.h.

◆ GpxHandler()

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

◆ IntHandler()

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

Definition at line 544 of file usbhost.h.

◆ Task()

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

Definition at line 525 of file usbhost.h.


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