跳转至

_CFBD_OLED

#include <oled.h>

Public Attributes

Name
const CFBD_OLEDOperations * ops
Pointer to the operation table.
CFBD_OLEDDriverType driver_type
The underlying transport/driver type used for this device.
CFBD_OLEDHandle oled_internal_handle
Opaque backend-specific handle and state.

Public Attributes Documentation

variable ops

const CFBD_OLEDOperations * ops;

Pointer to the operation table.

Device drivers populate this with concrete implementations of all OLED operations. Must be non-NULL after device initialization.

variable driver_type

CFBD_OLEDDriverType driver_type;

The underlying transport/driver type used for this device.

Identifies whether communication occurs via I2C, SPI, or another transport mechanism. Affects the format of initialization parameters and internal implementation details.

variable oled_internal_handle

CFBD_OLEDHandle oled_internal_handle;

Opaque backend-specific handle and state.

Contains driver-specific state, including transport handles, device addresses, frame buffers, and callback contexts. Callers must not access or dereference this directly.


Updated on 2026-02-03 at 13:21:55 +0000