|
F439_CPP_SPI_RA8875_TFT_LCD_03 1.0
STM32F439 SPI RA8875 7-inch TFT display demo built on the STM32_GFX and STM32_RA8875 libraries
|
Go to the source code of this file.
Classes | |
| struct | Point |
| struct | tsMatrix_t |
| class | Adafruit_RA8875 |
| Class that stores state and functions for interacting with the RA8875 display controller. More... | |
Macros | |
| #define | EEPROM_SUPPORTED |
| Calibration storage is supported through setCalibrationStorage() | |
| #define | _ADAFRUIT_RA8875_H |
| File has been included. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_AN 0 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_BN 4 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_CN 8 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_DN 12 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_EN 16 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_FN 20 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CAL_DIVIDER 24 |
| EEPROM Storage Location. | |
| #define | CFG_EEPROM_TOUCHSCREEN_CALIBRATED 28 |
| EEPROM Storage Location. | |
| #define | RA8875_BLACK 0x0000 |
| Black Color. | |
| #define | RA8875_BLUE 0x001F |
| Blue Color. | |
| #define | RA8875_RED 0xF800 |
| Red Color. | |
| #define | RA8875_GREEN 0x07E0 |
| Green Color. | |
| #define | RA8875_CYAN 0x07FF |
| Cyan Color. | |
| #define | RA8875_MAGENTA 0xF81F |
| Magenta Color. | |
| #define | RA8875_YELLOW 0xFFE0 |
| Yellow Color. | |
| #define | RA8875_WHITE 0xFFFF |
| White Color. | |
| #define | RA8875_DATAWRITE 0x00 |
| See datasheet. | |
| #define | RA8875_DATAREAD 0x40 |
| See datasheet. | |
| #define | RA8875_CMDWRITE 0x80 |
| See datasheet. | |
| #define | RA8875_CMDREAD 0xC0 |
| See datasheet. | |
| #define | RA8875_PWRR 0x01 |
| See datasheet. | |
| #define | RA8875_PWRR_DISPON 0x80 |
| See datasheet. | |
| #define | RA8875_PWRR_DISPOFF 0x00 |
| See datasheet. | |
| #define | RA8875_PWRR_SLEEP 0x02 |
| See datasheet. | |
| #define | RA8875_PWRR_NORMAL 0x00 |
| See datasheet. | |
| #define | RA8875_PWRR_SOFTRESET 0x01 |
| See datasheet. | |
| #define | RA8875_MRWC 0x02 |
| See datasheet. | |
| #define | RA8875_GPIOX 0xC7 |
| See datasheet. | |
| #define | RA8875_PLLC1 0x88 |
| See datasheet. | |
| #define | RA8875_PLLC1_PLLDIV2 0x80 |
| See datasheet. | |
| #define | RA8875_PLLC1_PLLDIV1 0x00 |
| See datasheet. | |
| #define | RA8875_PLLC2 0x89 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV1 0x00 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV2 0x01 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV4 0x02 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV8 0x03 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV16 0x04 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV32 0x05 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV64 0x06 |
| See datasheet. | |
| #define | RA8875_PLLC2_DIV128 0x07 |
| See datasheet. | |
| #define | RA8875_SYSR 0x10 |
| See datasheet. | |
| #define | RA8875_SYSR_8BPP 0x00 |
| See datasheet. | |
| #define | RA8875_SYSR_16BPP 0x0C |
| See datasheet. | |
| #define | RA8875_SYSR_MCU8 0x00 |
| See datasheet. | |
| #define | RA8875_SYSR_MCU16 0x03 |
| See datasheet. | |
| #define | RA8875_PCSR 0x04 |
| See datasheet. | |
| #define | RA8875_PCSR_PDATR 0x00 |
| See datasheet. | |
| #define | RA8875_PCSR_PDATL 0x80 |
| See datasheet. | |
| #define | RA8875_PCSR_CLK 0x00 |
| See datasheet. | |
| #define | RA8875_PCSR_2CLK 0x01 |
| See datasheet. | |
| #define | RA8875_PCSR_4CLK 0x02 |
| See datasheet. | |
| #define | RA8875_PCSR_8CLK 0x03 |
| See datasheet. | |
| #define | RA8875_HDWR 0x14 |
| See datasheet. | |
| #define | RA8875_HNDFTR 0x15 |
| See datasheet. | |
| #define | RA8875_HNDFTR_DE_HIGH 0x00 |
| See datasheet. | |
| #define | RA8875_HNDFTR_DE_LOW 0x80 |
| See datasheet. | |
| #define | RA8875_HNDR 0x16 |
| See datasheet. | |
| #define | RA8875_HSTR 0x17 |
| See datasheet. | |
| #define | RA8875_HPWR 0x18 |
| See datasheet. | |
| #define | RA8875_HPWR_LOW 0x00 |
| See datasheet. | |
| #define | RA8875_HPWR_HIGH 0x80 |
| See datasheet. | |
| #define | RA8875_VDHR0 0x19 |
| See datasheet. | |
| #define | RA8875_VDHR1 0x1A |
| See datasheet. | |
| #define | RA8875_VNDR0 0x1B |
| See datasheet. | |
| #define | RA8875_VNDR1 0x1C |
| See datasheet. | |
| #define | RA8875_VSTR0 0x1D |
| See datasheet. | |
| #define | RA8875_VSTR1 0x1E |
| See datasheet. | |
| #define | RA8875_VPWR 0x1F |
| See datasheet. | |
| #define | RA8875_VPWR_LOW 0x00 |
| See datasheet. | |
| #define | RA8875_VPWR_HIGH 0x80 |
| See datasheet. | |
| #define | RA8875_HSAW0 0x30 |
| See datasheet. | |
| #define | RA8875_HSAW1 0x31 |
| See datasheet. | |
| #define | RA8875_VSAW0 0x32 |
| See datasheet. | |
| #define | RA8875_VSAW1 0x33 |
| See datasheet. | |
| #define | RA8875_HEAW0 0x34 |
| See datasheet. | |
| #define | RA8875_HEAW1 0x35 |
| See datasheet. | |
| #define | RA8875_VEAW0 0x36 |
| See datasheet. | |
| #define | RA8875_VEAW1 0x37 |
| See datasheet. | |
| #define | RA8875_MCLR 0x8E |
| See datasheet. | |
| #define | RA8875_MCLR_START 0x80 |
| See datasheet. | |
| #define | RA8875_MCLR_STOP 0x00 |
| See datasheet. | |
| #define | RA8875_MCLR_READSTATUS 0x80 |
| See datasheet. | |
| #define | RA8875_MCLR_FULL 0x00 |
| See datasheet. | |
| #define | RA8875_MCLR_ACTIVE 0x40 |
| See datasheet. | |
| #define | RA8875_DCR 0x90 |
| See datasheet. | |
| #define | RA8875_DCR_LINESQUTRI_START 0x80 |
| See datasheet. | |
| #define | RA8875_DCR_LINESQUTRI_STOP 0x00 |
| See datasheet. | |
| #define | RA8875_DCR_LINESQUTRI_STATUS 0x80 |
| See datasheet. | |
| #define | RA8875_DCR_CIRCLE_START 0x40 |
| See datasheet. | |
| #define | RA8875_DCR_CIRCLE_STATUS 0x40 |
| See datasheet. | |
| #define | RA8875_DCR_CIRCLE_STOP 0x00 |
| See datasheet. | |
| #define | RA8875_DCR_FILL 0x20 |
| See datasheet. | |
| #define | RA8875_DCR_NOFILL 0x00 |
| See datasheet. | |
| #define | RA8875_DCR_DRAWLINE 0x00 |
| See datasheet. | |
| #define | RA8875_DCR_DRAWTRIANGLE 0x01 |
| See datasheet. | |
| #define | RA8875_DCR_DRAWSQUARE 0x10 |
| See datasheet. | |
| #define | RA8875_ELLIPSE 0xA0 |
| See datasheet. | |
| #define | RA8875_ELLIPSE_STATUS 0x80 |
| See datasheet. | |
| #define | RA8875_MWCR0 0x40 |
| See datasheet. | |
| #define | RA8875_MWCR0_GFXMODE 0x00 |
| See datasheet. | |
| #define | RA8875_MWCR0_TXTMODE 0x80 |
| See datasheet. | |
| #define | RA8875_MWCR0_CURSOR 0x40 |
| See datasheet. | |
| #define | RA8875_MWCR0_BLINK 0x20 |
| See datasheet. | |
| #define | RA8875_MWCR0_DIRMASK 0x0C |
| Bitmask for Write Direction. | |
| #define | RA8875_MWCR0_LRTD 0x00 |
| Left->Right then Top->Down. | |
| #define | RA8875_MWCR0_RLTD 0x04 |
| Right->Left then Top->Down. | |
| #define | RA8875_MWCR0_TDLR 0x08 |
| Top->Down then Left->Right. | |
| #define | RA8875_MWCR0_DTLR 0x0C |
| Down->Top then Left->Right. | |
| #define | RA8875_BTCR 0x44 |
| See datasheet. | |
| #define | RA8875_CURH0 0x46 |
| See datasheet. | |
| #define | RA8875_CURH1 0x47 |
| See datasheet. | |
| #define | RA8875_CURV0 0x48 |
| See datasheet. | |
| #define | RA8875_CURV1 0x49 |
| See datasheet. | |
| #define | RA8875_P1CR 0x8A |
| See datasheet. | |
| #define | RA8875_P1CR_ENABLE 0x80 |
| See datasheet. | |
| #define | RA8875_P1CR_DISABLE 0x00 |
| See datasheet. | |
| #define | RA8875_P1CR_CLKOUT 0x10 |
| See datasheet. | |
| #define | RA8875_P1CR_PWMOUT 0x00 |
| See datasheet. | |
| #define | RA8875_P1DCR 0x8B |
| See datasheet. | |
| #define | RA8875_P2CR 0x8C |
| See datasheet. | |
| #define | RA8875_P2CR_ENABLE 0x80 |
| See datasheet. | |
| #define | RA8875_P2CR_DISABLE 0x00 |
| See datasheet. | |
| #define | RA8875_P2CR_CLKOUT 0x10 |
| See datasheet. | |
| #define | RA8875_P2CR_PWMOUT 0x00 |
| See datasheet. | |
| #define | RA8875_P2DCR 0x8D |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV1 0x00 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV2 0x01 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV4 0x02 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV8 0x03 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV16 0x04 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV32 0x05 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV64 0x06 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV128 0x07 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV256 0x08 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV512 0x09 |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV1024 0x0A |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV2048 0x0B |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV4096 0x0C |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV8192 0x0D |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV16384 0x0E |
| See datasheet. | |
| #define | RA8875_PWM_CLK_DIV32768 0x0F |
| See datasheet. | |
| #define | RA8875_TPCR0 0x70 |
| See datasheet. | |
| #define | RA8875_TPCR0_ENABLE 0x80 |
| See datasheet. | |
| #define | RA8875_TPCR0_DISABLE 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_512CLK 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_1024CLK 0x10 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_2048CLK 0x20 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_4096CLK 0x30 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_8192CLK 0x40 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_16384CLK 0x50 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_32768CLK 0x60 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAIT_65536CLK 0x70 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAKEENABLE 0x08 |
| See datasheet. | |
| #define | RA8875_TPCR0_WAKEDISABLE 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV1 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV2 0x01 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV4 0x02 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV8 0x03 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV16 0x04 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV32 0x05 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV64 0x06 |
| See datasheet. | |
| #define | RA8875_TPCR0_ADCCLK_DIV128 0x07 |
| See datasheet. | |
| #define | RA8875_TPCR1 0x71 |
| See datasheet. | |
| #define | RA8875_TPCR1_AUTO 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR1_MANUAL 0x40 |
| See datasheet. | |
| #define | RA8875_TPCR1_VREFINT 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR1_VREFEXT 0x20 |
| See datasheet. | |
| #define | RA8875_TPCR1_DEBOUNCE 0x04 |
| See datasheet. | |
| #define | RA8875_TPCR1_NODEBOUNCE 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR1_IDLE 0x00 |
| See datasheet. | |
| #define | RA8875_TPCR1_WAIT 0x01 |
| See datasheet. | |
| #define | RA8875_TPCR1_LATCHX 0x02 |
| See datasheet. | |
| #define | RA8875_TPCR1_LATCHY 0x03 |
| See datasheet. | |
| #define | RA8875_TPXH 0x72 |
| See datasheet. | |
| #define | RA8875_TPYH 0x73 |
| See datasheet. | |
| #define | RA8875_TPXYL 0x74 |
| See datasheet. | |
| #define | RA8875_INTC1 0xF0 |
| See datasheet. | |
| #define | RA8875_INTC1_KEY 0x10 |
| See datasheet. | |
| #define | RA8875_INTC1_DMA 0x08 |
| See datasheet. | |
| #define | RA8875_INTC1_TP 0x04 |
| See datasheet. | |
| #define | RA8875_INTC1_BTE 0x02 |
| See datasheet. | |
| #define | RA8875_INTC2 0xF1 |
| See datasheet. | |
| #define | RA8875_INTC2_KEY 0x10 |
| See datasheet. | |
| #define | RA8875_INTC2_DMA 0x08 |
| See datasheet. | |
| #define | RA8875_INTC2_TP 0x04 |
| See datasheet. | |
| #define | RA8875_INTC2_BTE 0x02 |
| See datasheet. | |
| #define | RA8875_SCROLL_BOTH 0x00 |
| See datasheet. | |
| #define | RA8875_SCROLL_LAYER1 0x40 |
| See datasheet. | |
| #define | RA8875_SCROLL_LAYER2 0x80 |
| See datasheet. | |
| #define | RA8875_SCROLL_BUFFER 0xC0 |
| See datasheet. | |
Typedefs | |
| typedef struct Point | tsPoint_t |
| Nameless struct variable! | |
Enumerations | |
| enum | RA8875sizes { RA8875_480x80 , RA8875_480x128 , RA8875_480x272 , RA8875_800x480 } |
This is the library for the Adafruit RA8875 Driver board for TFT displays ---------------> http://www.adafruit.com/products/1590 The RA8875 is a TFT driver for up to 800x480 dotclock'd displays It is tested to work with displays in the Adafruit shop. Other displays may need timing adjustments and are not guanteed to work.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information. All text above must be included in any redistribution.
Definition in file Adafruit_RA8875.h.
| #define _ADAFRUIT_RA8875_H |
File has been included.
Definition at line 29 of file Adafruit_RA8875.h.
| #define CFG_EEPROM_TOUCHSCREEN_CAL_AN 0 |
EEPROM Storage Location.
Definition at line 32 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_BN 4 |
EEPROM Storage Location.
Definition at line 33 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_CN 8 |
EEPROM Storage Location.
Definition at line 34 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_DIVIDER 24 |
EEPROM Storage Location.
Definition at line 38 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_DN 12 |
EEPROM Storage Location.
Definition at line 35 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_EN 16 |
EEPROM Storage Location.
Definition at line 36 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CAL_FN 20 |
EEPROM Storage Location.
Definition at line 37 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define CFG_EEPROM_TOUCHSCREEN_CALIBRATED 28 |
EEPROM Storage Location.
Definition at line 39 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readCalibration(), and Adafruit_RA8875::writeCalibration().
| #define EEPROM_SUPPORTED |
Calibration storage is supported through setCalibrationStorage()
Definition at line 26 of file Adafruit_RA8875.h.
| #define RA8875_BLACK 0x0000 |
| #define RA8875_BLUE 0x001F |
| #define RA8875_BTCR 0x44 |
See datasheet.
Definition at line 431 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::cursorBlink().
| #define RA8875_CMDREAD 0xC0 |
See datasheet.
Definition at line 322 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readStatus().
| #define RA8875_CMDWRITE 0x80 |
See datasheet.
Definition at line 321 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::writeCommand().
| #define RA8875_CURH0 0x46 |
See datasheet.
Definition at line 432 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), and Adafruit_RA8875::setXY().
| #define RA8875_CURH1 0x47 |
See datasheet.
Definition at line 433 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), and Adafruit_RA8875::setXY().
| #define RA8875_CURV0 0x48 |
See datasheet.
Definition at line 434 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), and Adafruit_RA8875::setXY().
| #define RA8875_CURV1 0x49 |
See datasheet.
Definition at line 435 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), and Adafruit_RA8875::setXY().
| #define RA8875_CYAN 0x07FF |
| #define RA8875_DATAREAD 0x40 |
See datasheet.
Definition at line 320 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::readData().
| #define RA8875_DATAWRITE 0x00 |
See datasheet.
Definition at line 319 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), Adafruit_RA8875::pushPixels(), and Adafruit_RA8875::writeData().
| #define RA8875_DCR 0x90 |
See datasheet.
Definition at line 403 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawLine(), and Adafruit_RA8875::fillRect().
| #define RA8875_DCR_CIRCLE_START 0x40 |
See datasheet.
Definition at line 407 of file Adafruit_RA8875.h.
| #define RA8875_DCR_CIRCLE_STATUS 0x40 |
See datasheet.
Definition at line 408 of file Adafruit_RA8875.h.
| #define RA8875_DCR_CIRCLE_STOP 0x00 |
See datasheet.
Definition at line 409 of file Adafruit_RA8875.h.
| #define RA8875_DCR_DRAWLINE 0x00 |
See datasheet.
Definition at line 412 of file Adafruit_RA8875.h.
| #define RA8875_DCR_DRAWSQUARE 0x10 |
See datasheet.
Definition at line 414 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::fillRect().
| #define RA8875_DCR_DRAWTRIANGLE 0x01 |
See datasheet.
Definition at line 413 of file Adafruit_RA8875.h.
| #define RA8875_DCR_FILL 0x20 |
See datasheet.
Definition at line 410 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::fillRect().
| #define RA8875_DCR_LINESQUTRI_START 0x80 |
See datasheet.
Definition at line 404 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::fillRect().
| #define RA8875_DCR_LINESQUTRI_STATUS 0x80 |
See datasheet.
Definition at line 406 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawLine().
| #define RA8875_DCR_LINESQUTRI_STOP 0x00 |
See datasheet.
Definition at line 405 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::fillRect().
| #define RA8875_DCR_NOFILL 0x00 |
See datasheet.
Definition at line 411 of file Adafruit_RA8875.h.
| #define RA8875_ELLIPSE 0xA0 |
See datasheet.
Definition at line 416 of file Adafruit_RA8875.h.
| #define RA8875_ELLIPSE_STATUS 0x80 |
See datasheet.
Definition at line 417 of file Adafruit_RA8875.h.
| #define RA8875_GPIOX 0xC7 |
See datasheet.
Definition at line 334 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::GPIOX().
| #define RA8875_GREEN 0x07E0 |
| #define RA8875_HDWR 0x14 |
See datasheet.
Definition at line 364 of file Adafruit_RA8875.h.
| #define RA8875_HEAW0 0x34 |
See datasheet.
Definition at line 391 of file Adafruit_RA8875.h.
| #define RA8875_HEAW1 0x35 |
See datasheet.
Definition at line 392 of file Adafruit_RA8875.h.
| #define RA8875_HNDFTR 0x15 |
See datasheet.
Definition at line 366 of file Adafruit_RA8875.h.
| #define RA8875_HNDFTR_DE_HIGH 0x00 |
See datasheet.
Definition at line 367 of file Adafruit_RA8875.h.
| #define RA8875_HNDFTR_DE_LOW 0x80 |
See datasheet.
Definition at line 368 of file Adafruit_RA8875.h.
| #define RA8875_HNDR 0x16 |
See datasheet.
Definition at line 370 of file Adafruit_RA8875.h.
| #define RA8875_HPWR 0x18 |
See datasheet.
Definition at line 372 of file Adafruit_RA8875.h.
| #define RA8875_HPWR_HIGH 0x80 |
See datasheet.
Definition at line 374 of file Adafruit_RA8875.h.
| #define RA8875_HPWR_LOW 0x00 |
See datasheet.
Definition at line 373 of file Adafruit_RA8875.h.
| #define RA8875_HSAW0 0x30 |
See datasheet.
Definition at line 386 of file Adafruit_RA8875.h.
| #define RA8875_HSAW1 0x31 |
See datasheet.
Definition at line 387 of file Adafruit_RA8875.h.
| #define RA8875_HSTR 0x17 |
See datasheet.
Definition at line 371 of file Adafruit_RA8875.h.
| #define RA8875_INTC1 0xF0 |
See datasheet.
Definition at line 508 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_INTC1_BTE 0x02 |
See datasheet.
Definition at line 512 of file Adafruit_RA8875.h.
| #define RA8875_INTC1_DMA 0x08 |
See datasheet.
Definition at line 510 of file Adafruit_RA8875.h.
| #define RA8875_INTC1_KEY 0x10 |
See datasheet.
Definition at line 509 of file Adafruit_RA8875.h.
| #define RA8875_INTC1_TP 0x04 |
See datasheet.
Definition at line 511 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_INTC2 0xF1 |
See datasheet.
Definition at line 514 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touched(), and Adafruit_RA8875::touchRead().
| #define RA8875_INTC2_BTE 0x02 |
See datasheet.
Definition at line 518 of file Adafruit_RA8875.h.
| #define RA8875_INTC2_DMA 0x08 |
See datasheet.
Definition at line 516 of file Adafruit_RA8875.h.
| #define RA8875_INTC2_KEY 0x10 |
See datasheet.
Definition at line 515 of file Adafruit_RA8875.h.
| #define RA8875_INTC2_TP 0x04 |
See datasheet.
Definition at line 517 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touched(), and Adafruit_RA8875::touchRead().
| #define RA8875_MAGENTA 0xF81F |
| #define RA8875_MCLR 0x8E |
See datasheet.
Definition at line 396 of file Adafruit_RA8875.h.
| #define RA8875_MCLR_ACTIVE 0x40 |
See datasheet.
Definition at line 401 of file Adafruit_RA8875.h.
| #define RA8875_MCLR_FULL 0x00 |
See datasheet.
Definition at line 400 of file Adafruit_RA8875.h.
| #define RA8875_MCLR_READSTATUS 0x80 |
See datasheet.
Definition at line 399 of file Adafruit_RA8875.h.
| #define RA8875_MCLR_START 0x80 |
See datasheet.
Definition at line 397 of file Adafruit_RA8875.h.
| #define RA8875_MCLR_STOP 0x00 |
See datasheet.
Definition at line 398 of file Adafruit_RA8875.h.
| #define RA8875_MRWC 0x02 |
See datasheet.
Definition at line 332 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixel(), Adafruit_RA8875::drawPixels(), and Adafruit_RA8875::textWrite().
| #define RA8875_MWCR0 0x40 |
See datasheet.
Definition at line 419 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::cursorBlink(), Adafruit_RA8875::drawPixels(), Adafruit_RA8875::graphicsMode(), and Adafruit_RA8875::textMode().
| #define RA8875_MWCR0_BLINK 0x20 |
See datasheet.
Definition at line 423 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::cursorBlink().
| #define RA8875_MWCR0_CURSOR 0x40 |
See datasheet.
Definition at line 422 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::cursorBlink().
| #define RA8875_MWCR0_DIRMASK 0x0C |
Bitmask for Write Direction.
Definition at line 425 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixels().
| #define RA8875_MWCR0_DTLR 0x0C |
Down->Top then Left->Right.
Definition at line 429 of file Adafruit_RA8875.h.
| #define RA8875_MWCR0_GFXMODE 0x00 |
See datasheet.
Definition at line 420 of file Adafruit_RA8875.h.
| #define RA8875_MWCR0_LRTD 0x00 |
Left->Right then Top->Down.
Definition at line 426 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixels().
| #define RA8875_MWCR0_RLTD 0x04 |
Right->Left then Top->Down.
Definition at line 427 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::drawPixels().
| #define RA8875_MWCR0_TDLR 0x08 |
Top->Down then Left->Right.
Definition at line 428 of file Adafruit_RA8875.h.
| #define RA8875_MWCR0_TXTMODE 0x80 |
See datasheet.
Definition at line 421 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::textMode().
| #define RA8875_P1CR 0x8A |
See datasheet.
Definition at line 437 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM1config().
| #define RA8875_P1CR_CLKOUT 0x10 |
See datasheet.
Definition at line 440 of file Adafruit_RA8875.h.
| #define RA8875_P1CR_DISABLE 0x00 |
See datasheet.
Definition at line 439 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM1config().
| #define RA8875_P1CR_ENABLE 0x80 |
See datasheet.
Definition at line 438 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM1config().
| #define RA8875_P1CR_PWMOUT 0x00 |
See datasheet.
Definition at line 441 of file Adafruit_RA8875.h.
| #define RA8875_P1DCR 0x8B |
See datasheet.
Definition at line 443 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM1out().
| #define RA8875_P2CR 0x8C |
See datasheet.
Definition at line 445 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM2config().
| #define RA8875_P2CR_CLKOUT 0x10 |
See datasheet.
Definition at line 448 of file Adafruit_RA8875.h.
| #define RA8875_P2CR_DISABLE 0x00 |
See datasheet.
Definition at line 447 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM2config().
| #define RA8875_P2CR_ENABLE 0x80 |
See datasheet.
Definition at line 446 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM2config().
| #define RA8875_P2CR_PWMOUT 0x00 |
See datasheet.
Definition at line 449 of file Adafruit_RA8875.h.
| #define RA8875_P2DCR 0x8D |
See datasheet.
Definition at line 451 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::PWM2out().
| #define RA8875_PCSR 0x04 |
See datasheet.
Definition at line 356 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_2CLK 0x01 |
See datasheet.
Definition at line 360 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_4CLK 0x02 |
See datasheet.
Definition at line 361 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_8CLK 0x03 |
See datasheet.
Definition at line 362 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_CLK 0x00 |
See datasheet.
Definition at line 359 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_PDATL 0x80 |
See datasheet.
Definition at line 358 of file Adafruit_RA8875.h.
| #define RA8875_PCSR_PDATR 0x00 |
See datasheet.
Definition at line 357 of file Adafruit_RA8875.h.
| #define RA8875_PLLC1 0x88 |
See datasheet.
Definition at line 336 of file Adafruit_RA8875.h.
| #define RA8875_PLLC1_PLLDIV1 0x00 |
See datasheet.
Definition at line 338 of file Adafruit_RA8875.h.
| #define RA8875_PLLC1_PLLDIV2 0x80 |
See datasheet.
Definition at line 337 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2 0x89 |
See datasheet.
Definition at line 340 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV1 0x00 |
See datasheet.
Definition at line 341 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV128 0x07 |
See datasheet.
Definition at line 348 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV16 0x04 |
See datasheet.
Definition at line 345 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV2 0x01 |
See datasheet.
Definition at line 342 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV32 0x05 |
See datasheet.
Definition at line 346 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV4 0x02 |
See datasheet.
Definition at line 343 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV64 0x06 |
See datasheet.
Definition at line 347 of file Adafruit_RA8875.h.
| #define RA8875_PLLC2_DIV8 0x03 |
See datasheet.
Definition at line 344 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV1 0x00 |
See datasheet.
Definition at line 453 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV1024 0x0A |
| #define RA8875_PWM_CLK_DIV128 0x07 |
See datasheet.
Definition at line 460 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV16 0x04 |
See datasheet.
Definition at line 457 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV16384 0x0E |
See datasheet.
Definition at line 467 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV2 0x01 |
See datasheet.
Definition at line 454 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV2048 0x0B |
See datasheet.
Definition at line 464 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV256 0x08 |
See datasheet.
Definition at line 461 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV32 0x05 |
See datasheet.
Definition at line 458 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV32768 0x0F |
See datasheet.
Definition at line 468 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV4 0x02 |
See datasheet.
Definition at line 455 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV4096 0x0C |
See datasheet.
Definition at line 465 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV512 0x09 |
See datasheet.
Definition at line 462 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV64 0x06 |
See datasheet.
Definition at line 459 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV8 0x03 |
See datasheet.
Definition at line 456 of file Adafruit_RA8875.h.
| #define RA8875_PWM_CLK_DIV8192 0x0D |
See datasheet.
Definition at line 466 of file Adafruit_RA8875.h.
| #define RA8875_PWRR 0x01 |
See datasheet.
Definition at line 325 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::displayOn(), Adafruit_RA8875::sleep(), and Adafruit_RA8875::softReset().
| #define RA8875_PWRR_DISPOFF 0x00 |
See datasheet.
Definition at line 327 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::displayOn(), and Adafruit_RA8875::sleep().
| #define RA8875_PWRR_DISPON 0x80 |
See datasheet.
Definition at line 326 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::displayOn().
| #define RA8875_PWRR_NORMAL 0x00 |
See datasheet.
Definition at line 329 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::displayOn(), and Adafruit_RA8875::softReset().
| #define RA8875_PWRR_SLEEP 0x02 |
See datasheet.
Definition at line 328 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::sleep().
| #define RA8875_PWRR_SOFTRESET 0x01 |
See datasheet.
Definition at line 330 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::softReset().
| #define RA8875_RED 0xF800 |
| #define RA8875_SCROLL_BOTH 0x00 |
See datasheet.
Definition at line 520 of file Adafruit_RA8875.h.
| #define RA8875_SCROLL_BUFFER 0xC0 |
See datasheet.
Definition at line 523 of file Adafruit_RA8875.h.
| #define RA8875_SCROLL_LAYER1 0x40 |
See datasheet.
Definition at line 521 of file Adafruit_RA8875.h.
| #define RA8875_SCROLL_LAYER2 0x80 |
See datasheet.
Definition at line 522 of file Adafruit_RA8875.h.
| #define RA8875_SYSR 0x10 |
See datasheet.
Definition at line 350 of file Adafruit_RA8875.h.
| #define RA8875_SYSR_16BPP 0x0C |
See datasheet.
Definition at line 352 of file Adafruit_RA8875.h.
| #define RA8875_SYSR_8BPP 0x00 |
See datasheet.
Definition at line 351 of file Adafruit_RA8875.h.
| #define RA8875_SYSR_MCU16 0x03 |
See datasheet.
Definition at line 354 of file Adafruit_RA8875.h.
| #define RA8875_SYSR_MCU8 0x00 |
See datasheet.
Definition at line 353 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0 0x70 |
See datasheet.
Definition at line 470 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_ADCCLK_DIV1 0x00 |
See datasheet.
Definition at line 483 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_ADCCLK_DIV128 0x07 |
See datasheet.
Definition at line 490 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_ADCCLK_DIV16 0x04 |
See datasheet.
Definition at line 487 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_ADCCLK_DIV2 0x01 |
See datasheet.
Definition at line 484 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_ADCCLK_DIV32 0x05 |
See datasheet.
Definition at line 488 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_ADCCLK_DIV4 0x02 |
See datasheet.
Definition at line 485 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_ADCCLK_DIV64 0x06 |
See datasheet.
Definition at line 489 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_ADCCLK_DIV8 0x03 |
See datasheet.
Definition at line 486 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_DISABLE 0x00 |
See datasheet.
Definition at line 472 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_ENABLE 0x80 |
See datasheet.
Definition at line 471 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_WAIT_1024CLK 0x10 |
See datasheet.
Definition at line 474 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_16384CLK 0x50 |
See datasheet.
Definition at line 478 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_2048CLK 0x20 |
See datasheet.
Definition at line 475 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_32768CLK 0x60 |
See datasheet.
Definition at line 479 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_4096CLK 0x30 |
See datasheet.
Definition at line 476 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR0_WAIT_512CLK 0x00 |
See datasheet.
Definition at line 473 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_65536CLK 0x70 |
See datasheet.
Definition at line 480 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAIT_8192CLK 0x40 |
See datasheet.
Definition at line 477 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAKEDISABLE 0x00 |
See datasheet.
Definition at line 482 of file Adafruit_RA8875.h.
| #define RA8875_TPCR0_WAKEENABLE 0x08 |
See datasheet.
Definition at line 481 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR1 0x71 |
See datasheet.
Definition at line 492 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR1_AUTO 0x00 |
See datasheet.
Definition at line 493 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR1_DEBOUNCE 0x04 |
See datasheet.
Definition at line 497 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchEnable().
| #define RA8875_TPCR1_IDLE 0x00 |
See datasheet.
Definition at line 499 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_LATCHX 0x02 |
See datasheet.
Definition at line 501 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_LATCHY 0x03 |
See datasheet.
Definition at line 502 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_MANUAL 0x40 |
See datasheet.
Definition at line 494 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_NODEBOUNCE 0x00 |
See datasheet.
Definition at line 498 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_VREFEXT 0x20 |
See datasheet.
Definition at line 496 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_VREFINT 0x00 |
See datasheet.
Definition at line 495 of file Adafruit_RA8875.h.
| #define RA8875_TPCR1_WAIT 0x01 |
See datasheet.
Definition at line 500 of file Adafruit_RA8875.h.
| #define RA8875_TPXH 0x72 |
See datasheet.
Definition at line 504 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchRead().
| #define RA8875_TPXYL 0x74 |
See datasheet.
Definition at line 506 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchRead().
| #define RA8875_TPYH 0x73 |
See datasheet.
Definition at line 505 of file Adafruit_RA8875.h.
Referenced by Adafruit_RA8875::touchRead().
| #define RA8875_VDHR0 0x19 |
See datasheet.
Definition at line 376 of file Adafruit_RA8875.h.
| #define RA8875_VDHR1 0x1A |
See datasheet.
Definition at line 377 of file Adafruit_RA8875.h.
| #define RA8875_VEAW0 0x36 |
See datasheet.
Definition at line 393 of file Adafruit_RA8875.h.
| #define RA8875_VEAW1 0x37 |
See datasheet.
Definition at line 394 of file Adafruit_RA8875.h.
| #define RA8875_VNDR0 0x1B |
See datasheet.
Definition at line 378 of file Adafruit_RA8875.h.
| #define RA8875_VNDR1 0x1C |
See datasheet.
Definition at line 379 of file Adafruit_RA8875.h.
| #define RA8875_VPWR 0x1F |
See datasheet.
Definition at line 382 of file Adafruit_RA8875.h.
| #define RA8875_VPWR_HIGH 0x80 |
See datasheet.
Definition at line 384 of file Adafruit_RA8875.h.
| #define RA8875_VPWR_LOW 0x00 |
See datasheet.
Definition at line 383 of file Adafruit_RA8875.h.
| #define RA8875_VSAW0 0x32 |
See datasheet.
Definition at line 388 of file Adafruit_RA8875.h.
| #define RA8875_VSAW1 0x33 |
See datasheet.
Definition at line 389 of file Adafruit_RA8875.h.
| #define RA8875_VSTR0 0x1D |
See datasheet.
Definition at line 380 of file Adafruit_RA8875.h.
| #define RA8875_VSTR1 0x1E |
See datasheet.
Definition at line 381 of file Adafruit_RA8875.h.
| #define RA8875_WHITE 0xFFFF |
| #define RA8875_YELLOW 0xFFE0 |
| enum RA8875sizes |
The Supported Screen Sizes
| Enumerator | |
|---|---|
| RA8875_480x80 | 480x80 Pixel Display |
| RA8875_480x128 | 480x128 Pixel Display |
| RA8875_480x272 | 480x272 Pixel Display |
| RA8875_800x480 | 800x480 Pixel Display |
Definition at line 48 of file Adafruit_RA8875.h.