GPS Device
Loading...
Searching...
No Matches
ssd1309_handle_s Struct Reference

Internal structure representing the SSD1309 hardware instance. More...

Collaboration diagram for ssd1309_handle_s:

Public Attributes

I2C_REGDEF_tsi2c_instance
GPIO_REGDEF_tsscl_gpio_port
GPIO_PIN_te scl_gpio_pin
GPIO_REGDEF_tssda_gpio_port
GPIO_PIN_te sda_gpio_pin
GPIO_ALTERNATE_FUNCTION_te gpio_alternate_function
SSD1309_LOW_COL_START_ADDR_PAM_te low_col_start_addr_pam
SSD1309_HIGH_COL_START_ADDR_PAM_te high_col_start_addr_pam
SSD1309_MEM_ADDR_MODE_te mem_addr_mode
SSD1309_COL_ADDR_START_HAM_VAM_te col_addr_start_ham_vam
SSD1309_COL_ADDR_END_HAM_VAM_te col_addr_end_ham_vam
SSD1309_PAGE_ADDR_START_HAM_VAM_te page_addr_start_ham_vam
SSD1309_PAGE_ADDR_END_HAM_VAM_te page_addr_end_ham_vam
SSD1309_START_LINE_te start_line
SSD1309_CONTRAST_te contrast
SSD1309_HORIZONTAL_FLIP_te horizontal_flip
SSD1309_INVERSE_MODE_te inverse_mode
SSD1309_MULTIPLEX_RATIO_te multiplex_ratio
SSD1309_PAGE_START_ADDR_PAM_te page_start_addr_pam
SSD1309_VERTICAL_FLIP_te vertical_flip
SSD1309_OFFSET_te offset
SSD1309_CLK_DIV_RATIO_te clk_div_ratio
SSD1309_CLK_SPEED_LVL_te clk_speed_lvl
SSD1309_PHASE1_PRECHARGE_DCLK_te phase1_precharge_dclk
SSD1309_PHASE2_PRECHARGE_DCLK_te phase2_precharge_dclk
SSD1309_VCOMH_DESELECT_LVL_te vcomh_deselect_lvl
bool initialized

Detailed Description

Internal structure representing the SSD1309 hardware instance.

Mirrors the SSD1309_CFG_ts fields and adds an initialization guard. Only one instance is supported; it is embedded directly in internal_state_s rather than allocated from a pool.

Definition at line 345 of file ssd1309.c.

Member Data Documentation

◆ i2c_instance

I2C_REGDEF_ts* ssd1309_handle_s::i2c_instance

I2C peripheral used for display communication.

Definition at line 346 of file ssd1309.c.

◆ scl_gpio_port

GPIO_REGDEF_ts* ssd1309_handle_s::scl_gpio_port

GPIO port of the SCL pin.

Definition at line 347 of file ssd1309.c.

◆ scl_gpio_pin

GPIO_PIN_te ssd1309_handle_s::scl_gpio_pin

GPIO pin number of SCL.

Definition at line 348 of file ssd1309.c.

◆ sda_gpio_port

GPIO_REGDEF_ts* ssd1309_handle_s::sda_gpio_port

GPIO port of the SDA pin.

Definition at line 349 of file ssd1309.c.

◆ sda_gpio_pin

GPIO_PIN_te ssd1309_handle_s::sda_gpio_pin

GPIO pin number of SDA.

Definition at line 350 of file ssd1309.c.

◆ gpio_alternate_function

GPIO_ALTERNATE_FUNCTION_te ssd1309_handle_s::gpio_alternate_function

Alternate function for SCL and SDA.

Definition at line 351 of file ssd1309.c.

◆ low_col_start_addr_pam

SSD1309_LOW_COL_START_ADDR_PAM_te ssd1309_handle_s::low_col_start_addr_pam

Definition at line 352 of file ssd1309.c.

◆ high_col_start_addr_pam

SSD1309_HIGH_COL_START_ADDR_PAM_te ssd1309_handle_s::high_col_start_addr_pam

Definition at line 353 of file ssd1309.c.

◆ mem_addr_mode

SSD1309_MEM_ADDR_MODE_te ssd1309_handle_s::mem_addr_mode

Definition at line 354 of file ssd1309.c.

◆ col_addr_start_ham_vam

SSD1309_COL_ADDR_START_HAM_VAM_te ssd1309_handle_s::col_addr_start_ham_vam

Definition at line 355 of file ssd1309.c.

◆ col_addr_end_ham_vam

SSD1309_COL_ADDR_END_HAM_VAM_te ssd1309_handle_s::col_addr_end_ham_vam

Definition at line 356 of file ssd1309.c.

◆ page_addr_start_ham_vam

SSD1309_PAGE_ADDR_START_HAM_VAM_te ssd1309_handle_s::page_addr_start_ham_vam

Definition at line 357 of file ssd1309.c.

◆ page_addr_end_ham_vam

SSD1309_PAGE_ADDR_END_HAM_VAM_te ssd1309_handle_s::page_addr_end_ham_vam

Definition at line 358 of file ssd1309.c.

◆ start_line

SSD1309_START_LINE_te ssd1309_handle_s::start_line

Definition at line 359 of file ssd1309.c.

◆ contrast

SSD1309_CONTRAST_te ssd1309_handle_s::contrast

Definition at line 360 of file ssd1309.c.

◆ horizontal_flip

SSD1309_HORIZONTAL_FLIP_te ssd1309_handle_s::horizontal_flip

Definition at line 361 of file ssd1309.c.

◆ inverse_mode

SSD1309_INVERSE_MODE_te ssd1309_handle_s::inverse_mode

Definition at line 362 of file ssd1309.c.

◆ multiplex_ratio

SSD1309_MULTIPLEX_RATIO_te ssd1309_handle_s::multiplex_ratio

Definition at line 363 of file ssd1309.c.

◆ page_start_addr_pam

SSD1309_PAGE_START_ADDR_PAM_te ssd1309_handle_s::page_start_addr_pam

Definition at line 364 of file ssd1309.c.

◆ vertical_flip

SSD1309_VERTICAL_FLIP_te ssd1309_handle_s::vertical_flip

Definition at line 365 of file ssd1309.c.

◆ offset

SSD1309_OFFSET_te ssd1309_handle_s::offset

Definition at line 366 of file ssd1309.c.

◆ clk_div_ratio

SSD1309_CLK_DIV_RATIO_te ssd1309_handle_s::clk_div_ratio

Definition at line 367 of file ssd1309.c.

◆ clk_speed_lvl

SSD1309_CLK_SPEED_LVL_te ssd1309_handle_s::clk_speed_lvl

Definition at line 368 of file ssd1309.c.

◆ phase1_precharge_dclk

SSD1309_PHASE1_PRECHARGE_DCLK_te ssd1309_handle_s::phase1_precharge_dclk

Definition at line 369 of file ssd1309.c.

◆ phase2_precharge_dclk

SSD1309_PHASE2_PRECHARGE_DCLK_te ssd1309_handle_s::phase2_precharge_dclk

Definition at line 370 of file ssd1309.c.

◆ vcomh_deselect_lvl

SSD1309_VCOMH_DESELECT_LVL_te ssd1309_handle_s::vcomh_deselect_lvl

Definition at line 371 of file ssd1309.c.

◆ initialized

bool ssd1309_handle_s::initialized

True after ssd1309_init_handle has completed successfully.

Definition at line 372 of file ssd1309.c.


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