跳转至

lib/oled/configs/external_impl_driver.h

External (platform/application) implementation hooks for OLED driver. More...

Classes

Name
struct CFBD_OLED_IICInitsParams
Initialization parameters for OLED devices using I2C.

Detailed Description

External (platform/application) implementation hooks for OLED driver.

This header defines structures used to pass platform-specific initialization data to the OLED driver. It references the project's I2C/IIC abstraction and the device interface declarations. The structures here are intended to be filled by the board/application code and then passed to the OLED driver during initialization.

Source code

#pragma once

#include "driver/device/device_interface.h"

/* I2C/IIC backend (points to the project I2C driver) */
#include "../iic/iic.h"

typedef struct
{
    CFBD_I2CHandle* i2cHandle;

    uint32_t accepted_time_delay;

    uint16_t device_address;

    CFBD_OLED_DeviceSpecific* device_specifics;

    void (*iic_transition_callback)(int status);
} CFBD_OLED_IICInitsParams;

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