#include <Max3421e.h>
Public Member Functions | |
void | busprobe (void) |
char * | bytesRd (byte, byte, char *) |
char * | bytesWr (byte, byte, char *) |
byte | getVbusState (void) |
byte | gpioRd (void) |
byte | GpxHandler () |
byte | IntHandler () |
MAX3421E (void) | |
void | powerOn () |
byte | regRd (byte) |
boolean | reset () |
byte | Task () |
boolean | vbusPwr (boolean) |
Static Public Member Functions | |
static void | gpioWr (byte) |
static void | regWr (byte, byte) |
Static Private Member Functions | |
static void | pinInit (void) |
static uint8_t | readGPX (void) |
static uint8_t | readINT (void) |
static void | setRST (uint8_t val) |
static void | spi_init () |
Friends | |
class | Max_LCD |
Definition at line 40 of file Max3421e.h.
MAX3421E::MAX3421E | ( | void | ) |
Definition at line 85 of file Max3421e.cpp.
void MAX3421E::busprobe | ( | void | ) |
Definition at line 235 of file Max3421e.cpp.
char * MAX3421E::bytesRd | ( | byte | reg, |
byte | nbytes, | ||
char * | data | ||
) |
Definition at line 170 of file Max3421e.cpp.
char * MAX3421E::bytesWr | ( | byte | reg, |
byte | nbytes, | ||
char * | data | ||
) |
Definition at line 132 of file Max3421e.cpp.
byte MAX3421E::getVbusState | ( | void | ) |
Definition at line 91 of file Max3421e.cpp.
byte MAX3421E::gpioRd | ( | void | ) |
Definition at line 187 of file Max3421e.cpp.
void MAX3421E::gpioWr | ( | byte | val | ) | [static] |
Definition at line 148 of file Max3421e.cpp.
byte MAX3421E::GpxHandler | ( | ) |
Definition at line 323 of file Max3421e.cpp.
byte MAX3421E::IntHandler | ( | ) |
Definition at line 307 of file Max3421e.cpp.
void MAX3421E::pinInit | ( | void | ) | [static, private] |
Definition at line 75 of file Max3421e.cpp.
void MAX3421E::powerOn | ( | void | ) |
Definition at line 271 of file Max3421e.cpp.
uint8_t MAX3421E::readGPX | ( | void | ) | [static, private] |
Definition at line 68 of file Max3421e.cpp.
uint8_t MAX3421E::readINT | ( | void | ) | [static, private] |
Definition at line 63 of file Max3421e.cpp.
byte MAX3421E::regRd | ( | byte | reg | ) |
Definition at line 157 of file Max3421e.cpp.
void MAX3421E::regWr | ( | byte | reg, |
byte | val | ||
) | [static] |
Definition at line 120 of file Max3421e.cpp.
boolean MAX3421E::reset | ( | ) |
Definition at line 196 of file Max3421e.cpp.
void MAX3421E::setRST | ( | uint8_t | val | ) | [static, private] |
Definition at line 55 of file Max3421e.cpp.
static void MAX3421E::spi_init | ( | ) | [inline, static, private] |
Definition at line 65 of file Max3421e.h.
byte MAX3421E::Task | ( | void | ) |
Reimplemented in USB.
Definition at line 290 of file Max3421e.cpp.
*OVERLOAD pin of Vbus switch is connected to GPIN7 **OVERLOAD state low NO OVERLOAD or VBUS OFF state high **boolean MAX3421E::vbusPwr | ( | boolean | action | ) |
Definition at line 215 of file Max3421e.cpp.
friend class Max_LCD [friend] |
Definition at line 80 of file Max3421e.h.