跳转至

title: >: Comprehensive guides and reference documentation


>: Comprehensive guides and reference documentation

    • Detailed Comments: Extended sections with implementation guidance

Module Organization

    • The OLED subsystem is organized into the following modules:

OLED - Main Display Driver

OLED_Device - Device Interface

OLED_Backend - Transport Backends

    • Location: oled_iic.h (and potentially future spi backends)
    • Purpose: Transport-specific implementations
    • Contents:
    • Backend parameter structures
    • Transport configuration

New Documentation Files

    • Three comprehensive documentation files have been created:

OLED_UsageGuide.md (@page OLED_UsageGuide)

    • Purpose: Comprehensive user guide for OLED driver usage
    • Contents:
    • Architecture overview
    • Getting started instructions (steps 1-4)
    • Common operations guide
    • Complete working example
    • Performance considerations
    • Troubleshooting guide
    • Target Audience: Application developers

OLED_Examples.md (@page OLED_Examples)

    • Purpose: Collection of practical code examples
    • Contents:
    • 10+ complete, runnable examples
    • Basic initialization
    • Display clearing and updating
    • Pixel and area drawing
    • Device property queries
    • Multi-display management
    • Error handling patterns
    • Deferred initialization
    • Target Audience: Developers learning by example

OLED_Namespace.md (@page OLED Namespace)

    • Purpose: Namespace organization documentation
    • Contents:
    • CFBD namespace overview
    • Component organization
    • Target Audience: Architecture documentation readers

Enhanced Inline Documentation

    • All header files have received extensive documentation improvements:

oled.h Enhancements

    • Enumerations:
    • CFBD_OLEDDriverType: Expanded with detailed transport descriptions
    • Type Definitions:
    • AreaOperations: Enhanced with usage examples
    • FrameOperation: Detailed operation semantics
    • OLEDSelfOperation: Lifecycle management documentation
    • OLED_QueryOperation: Property query protocol and examples
    • CFBDOLED_Params_Inits: Transport-specific parameter abstraction
    • Structures:
    • CFBD_OLEDOperations: Complete operation table with:
    • Field-by-field documentation
    • Usage examples
    • Supported operation types
    • CFBD_OLED: Device object with:
    • Member descriptions
    • Usage patterns
    • Lifecycle documentation
    • Functions:
    • Multiple usage examples
    • Transport-specific parameter guidelines
    • Error handling guidance
    • Two complete code examples

device_interface.h Enhancements

    • **New

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