Prusa MINI Firmware overview
MAX3421e Class Reference

#include <usbhost.h>

Inheritance diagram for MAX3421e:

Public Member Functions

bool start ()
 
void regWr (uint8_t reg, uint8_t data)
 
uint8_tbytesWr (uint8_t reg, uint8_t nbytes, uint8_t *data_p)
 
void gpioWr (uint8_t data)
 
uint8_t regRd (uint8_t reg)
 
uint8_tbytesRd (uint8_t reg, uint8_t nbytes, uint8_t *data_p)
 
uint8_t gpioRd ()
 
bool reset ()
 
uint8_t getVbusState ()
 
void busprobe ()
 
uint8_t Task ()
 

Member Function Documentation

◆ start()

bool MAX3421e::start ( )

◆ regWr()

void MAX3421e::regWr ( uint8_t  reg,
uint8_t  data 
)

◆ bytesWr()

uint8_t* MAX3421e::bytesWr ( uint8_t  reg,
uint8_t  nbytes,
uint8_t data_p 
)

◆ gpioWr()

void MAX3421e::gpioWr ( uint8_t  data)

◆ regRd()

uint8_t MAX3421e::regRd ( uint8_t  reg)

◆ bytesRd()

uint8_t* MAX3421e::bytesRd ( uint8_t  reg,
uint8_t  nbytes,
uint8_t data_p 
)

◆ gpioRd()

uint8_t MAX3421e::gpioRd ( )

◆ reset()

bool MAX3421e::reset ( )

◆ getVbusState()

uint8_t MAX3421e::getVbusState ( )

◆ busprobe()

void MAX3421e::busprobe ( )

◆ Task()

uint8_t MAX3421e::Task ( )