image/svg+xml
Brteve's API for EveApps
Version 0.0.1
The reference document for common folder of EveApps project.
 
Loading...
Searching...
No Matches
EVE_HalContext Struct Reference

#include <EVE_HalDefs.h>

Data Fields

void * UserContext
 
void * LibraryContext
 
EVE_Callback CbCmdWait
 
EVE_ResetCallback CbCoprocessorReset
 
EVE_STATUS_T Status
 
uint8_t PCLK
 
bool DebugMessageVisible
 
uint8_t DebugBackup [RAM_ERR_REPORT_MAX]
 
User space width and height, based on REG_HSIZE, REG_VSIZE and REG_ROTATE
uint32_t Width
 
uint32_t Height
 
Handles to external context
EVE_SPI_CHANNELS_T SpiChannels
 
uint8_t SpiDummyBytes
 
uint8_t SpiCsPin
 
uint8_t PowerDownPin
 
Buffer cmd smaller than a full cmd command
uint8_t CmdBuffer [4]
 
uint8_t CmdBufferIndex
 
uint16_t CmdSpace
 
Media FIFO state
uint32_t MediaFifoAddress
 
uint32_t MediaFifoSize
 
FIL LoadFileObj
 
ptrdiff_t LoadFileRemaining
 
Display list optimization and compatibility caches
EVE_HalDlState DlState [EVE_DL_STATE_STACK_SIZE]
 
uint8_t DlStateIndex
 
uint8_t DlPrimitive
 
uint32_t CoFgColor
 
uint32_t CoBgColor
 
bool CoBitmapTransform
 
uint8_t CoScratchHandle
 
Status flags
bool CmdFunc
 
bool CmdFault
 
bool CmdWaiting
 

Detailed Description

Definition at line 232 of file EVE_HalDefs.h.

Field Documentation

◆ CbCmdWait

EVE_Callback EVE_HalContext::CbCmdWait

Called anytime the code is waiting during CMD write. Return false to abort wait

Definition at line 241 of file EVE_HalDefs.h.

◆ CbCoprocessorReset

EVE_ResetCallback EVE_HalContext::CbCoprocessorReset

Callback hook called anytime the coprocessor is reset through the EVE_Util interface

Definition at line 243 of file EVE_HalDefs.h.

◆ CmdBuffer

uint8_t EVE_HalContext::CmdBuffer[4]

Definition at line 325 of file EVE_HalDefs.h.

◆ CmdBufferIndex

uint8_t EVE_HalContext::CmdBufferIndex

Definition at line 326 of file EVE_HalDefs.h.

◆ CmdFault

bool EVE_HalContext::CmdFault

Flagged when coprocessor is in fault mode and needs to be reset

Definition at line 373 of file EVE_HalDefs.h.

◆ CmdFunc

bool EVE_HalContext::CmdFunc

Flagged while transfer to cmd is kept open

Definition at line 372 of file EVE_HalDefs.h.

◆ CmdSpace

uint16_t EVE_HalContext::CmdSpace

Free space, cached value

Definition at line 328 of file EVE_HalDefs.h.

◆ CmdWaiting

bool EVE_HalContext::CmdWaiting

Flagged while waiting for CMD write (to check during any function that may be called by CbCmdWait)

Definition at line 374 of file EVE_HalDefs.h.

◆ CoBgColor

uint32_t EVE_HalContext::CoBgColor

Definition at line 357 of file EVE_HalDefs.h.

◆ CoBitmapTransform

bool EVE_HalContext::CoBitmapTransform

BitmapTransform other than identity is set on the coprocessor

Definition at line 358 of file EVE_HalDefs.h.

◆ CoFgColor

uint32_t EVE_HalContext::CoFgColor

Definition at line 356 of file EVE_HalDefs.h.

◆ CoScratchHandle

uint8_t EVE_HalContext::CoScratchHandle

Definition at line 361 of file EVE_HalDefs.h.

◆ DebugBackup

uint8_t EVE_HalContext::DebugBackup[RAM_ERR_REPORT_MAX]

Definition at line 367 of file EVE_HalDefs.h.

◆ DebugMessageVisible

bool EVE_HalContext::DebugMessageVisible

Definition at line 366 of file EVE_HalDefs.h.

◆ DlPrimitive

uint8_t EVE_HalContext::DlPrimitive

Definition at line 355 of file EVE_HalDefs.h.

◆ DlState

EVE_HalDlState EVE_HalContext::DlState[EVE_DL_STATE_STACK_SIZE]

Definition at line 351 of file EVE_HalDefs.h.

◆ DlStateIndex

uint8_t EVE_HalContext::DlStateIndex

Definition at line 352 of file EVE_HalDefs.h.

◆ Height

uint32_t EVE_HalContext::Height

Definition at line 266 of file EVE_HalDefs.h.

◆ LibraryContext

void* EVE_HalContext::LibraryContext

Pointer to a support library context (e.g. ESD Framework context)

Definition at line 238 of file EVE_HalDefs.h.

◆ LoadFileObj

FIL EVE_HalContext::LoadFileObj

Definition at line 340 of file EVE_HalDefs.h.

◆ LoadFileRemaining

ptrdiff_t EVE_HalContext::LoadFileRemaining

Definition at line 344 of file EVE_HalDefs.h.

◆ MediaFifoAddress

uint32_t EVE_HalContext::MediaFifoAddress

Definition at line 337 of file EVE_HalDefs.h.

◆ MediaFifoSize

uint32_t EVE_HalContext::MediaFifoSize

Definition at line 338 of file EVE_HalDefs.h.

◆ PCLK

uint8_t EVE_HalContext::PCLK

Definition at line 261 of file EVE_HalDefs.h.

◆ PowerDownPin

uint8_t EVE_HalContext::PowerDownPin

FT8XX power down pin number

Definition at line 304 of file EVE_HalDefs.h.

◆ SpiChannels

EVE_SPI_CHANNELS_T EVE_HalContext::SpiChannels

Variable to contain single/dual/quad channels

Definition at line 289 of file EVE_HalDefs.h.

◆ SpiCsPin

uint8_t EVE_HalContext::SpiCsPin

SPI chip select number of FT8XX chip

Definition at line 296 of file EVE_HalDefs.h.

◆ SpiDummyBytes

uint8_t EVE_HalContext::SpiDummyBytes

Number of dummy bytes as 1 or 2 for SPI read

Definition at line 290 of file EVE_HalDefs.h.

◆ Status

EVE_STATUS_T EVE_HalContext::Status

Definition at line 250 of file EVE_HalDefs.h.

◆ UserContext

void* EVE_HalContext::UserContext

Pointer to user context

Definition at line 235 of file EVE_HalDefs.h.

◆ Width

uint32_t EVE_HalContext::Width

Definition at line 265 of file EVE_HalDefs.h.


The documentation for this struct was generated from the following file: