128x64 EasyC OLED Display 1.0.0
This is a library for Soldered OLED Display
Loading...
Searching...
No Matches
Adafruit_BusIO_Register.h File Reference

Go to the source code of this file.

Classes

class  Adafruit_BusIO_Register
 The class which defines a device register (a location to read/write data from) More...
 
class  Adafruit_BusIO_RegisterBits
 The class which defines a slice of bits from within a device register (a location to read/write data from) More...
 

Typedefs

typedef enum _Adafruit_BusIO_SPIRegType Adafruit_BusIO_SPIRegType
 

Enumerations

enum  _Adafruit_BusIO_SPIRegType { ADDRBIT8_HIGH_TOREAD = 0 , AD8_HIGH_TOREAD_AD7_HIGH_TOINC = 1 , ADDRBIT8_HIGH_TOWRITE = 2 , ADDRESSED_OPCODE_BIT0_LOW_TO_WRITE = 3 }
 

Typedef Documentation

◆ Adafruit_BusIO_SPIRegType

Enumeration Type Documentation

◆ _Adafruit_BusIO_SPIRegType

Enumerator
ADDRBIT8_HIGH_TOREAD 

ADDRBIT8_HIGH_TOREAD When reading a register you must actually send the value 0x80 + register address to the device. e.g. To read the register 0x0B the register value 0x8B is sent and to write 0x0B is sent.

AD8_HIGH_TOREAD_AD7_HIGH_TOINC 

ADDRBIT8_HIGH_TOWRITE When writing to a register you must actually send the value 0x80 + the register address to the device. e.g. To write to the register 0x19 the register value 0x99 is sent and to read 0x19 is sent.

ADDRBIT8_HIGH_TOWRITE 

ADDRESSED_OPCODE_LOWBIT_TO_WRITE Used by the MCP23S series, we send 0x40 |'rd with the opcode Then set the lowest bit to write

ADDRESSED_OPCODE_BIT0_LOW_TO_WRITE