TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
io_oled_device Struct Reference

Represents an OLED display device controlled via SPI. More...

#include <io.h>

Data Fields

enum spi_slave spi
uint8_t current_page
uint8_t current_column

Detailed Description

Represents an OLED display device controlled via SPI.

Definition at line 46 of file io.h.

Field Documentation

◆ current_column

uint8_t io_oled_device::current_column

Current column position for writing

Definition at line 49 of file io.h.

Referenced by _io_oled_write(), io_oled_goto_column(), and io_oled_write_glyph().

◆ current_page

uint8_t io_oled_device::current_page

Current page (row) position for writing

Definition at line 48 of file io.h.

Referenced by io_oled_goto_line(), and io_oled_write_glyph().

◆ spi

enum spi_slave io_oled_device::spi

SPI slave for the OLED

Definition at line 47 of file io.h.

Referenced by _io_oled_cmd(), and _io_oled_write().


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