1 #ifndef ION_DEVICE_DISPLAY_H 2 #define ION_DEVICE_DISPLAY_H 80 constexpr
static GPIOPin FSMCPins[] = {
94 constexpr
static int FSMCMemoryBank = 1;
95 constexpr
static int FSMCDataCommandAddressBit = 16;
97 constexpr
static uint32_t FSMCBaseAddress = 0x60000000;
98 constexpr
static uint32_t FSMCBankAddress = FSMCBaseAddress + (FSMCMemoryBank-1)*0x04000000;
100 constexpr
static DMA DMAEngine =
DMA2;
101 constexpr
static int DMAStream = 0;
103 static volatile Command *
const CommandAddress = (
Command *)(FSMCBankAddress);
104 static volatile uint16_t *
const DataAddress = (
uint16_t *)(FSMCBankAddress | (1<<(FSMCDataCommandAddressBit+1)));
void Display(const char *input)
void pullPixels(KDColor *pixels, size_t numberOfPixels)
void setDrawingArea(KDRect r, Orientation o)
void pushPixels(const KDColor *pixels, size_t numberOfPixels)
void pushColor(KDColor color, size_t numberOfPixels)
void waitForPendingDMAUploadCompletion()