![]() |
LibDriver SSD1309
|
ssd1309 base driver modules More...
Data Structures | |
| struct | ssd1309_handle_s |
| ssd1309 handle structure definition More... | |
| struct | ssd1309_info_s |
| ssd1309 information structure definition More... | |
Typedefs | |
| typedef struct ssd1309_handle_s | ssd1309_handle_t |
| ssd1309 handle structure definition | |
| typedef struct ssd1309_info_s | ssd1309_info_t |
| ssd1309 information structure definition | |
Functions | |
| uint8_t | ssd1309_info (ssd1309_info_t *info) |
| get chip's information | |
| uint8_t | ssd1309_set_interface (ssd1309_handle_t *handle, ssd1309_interface_t interface) |
| set the chip interface | |
| uint8_t | ssd1309_get_interface (ssd1309_handle_t *handle, ssd1309_interface_t *interface) |
| get the chip interface | |
| uint8_t | ssd1309_set_addr_pin (ssd1309_handle_t *handle, ssd1309_address_t addr_pin) |
| set the chip iic address | |
| uint8_t | ssd1309_get_addr_pin (ssd1309_handle_t *handle, ssd1309_address_t *addr_pin) |
| get the chip iic address | |
| uint8_t | ssd1309_init (ssd1309_handle_t *handle) |
| initialize the chip | |
| uint8_t | ssd1309_deinit (ssd1309_handle_t *handle) |
| close the chip | |
| uint8_t | ssd1309_clear (ssd1309_handle_t *handle) |
| clear the screen | |
| uint8_t | ssd1309_write_point (ssd1309_handle_t *handle, uint8_t x, uint8_t y, uint8_t data) |
| write a point | |
| uint8_t | ssd1309_read_point (ssd1309_handle_t *handle, uint8_t x, uint8_t y, uint8_t *data) |
| read a point | |
| uint8_t | ssd1309_gram_write_point (ssd1309_handle_t *handle, uint8_t x, uint8_t y, uint8_t data) |
| write a point in the gram | |
| uint8_t | ssd1309_gram_read_point (ssd1309_handle_t *handle, uint8_t x, uint8_t y, uint8_t *data) |
| read a point from the gram | |
| uint8_t | ssd1309_gram_write_string (ssd1309_handle_t *handle, uint8_t x, uint8_t y, char *str, uint16_t len, uint8_t color, ssd1309_font_t font) |
| draw a string in the gram | |
| uint8_t | ssd1309_gram_fill_rect (ssd1309_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t color) |
| fill a rectangle in the gram | |
| uint8_t | ssd1309_gram_draw_picture (ssd1309_handle_t *handle, uint8_t left, uint8_t top, uint8_t right, uint8_t bottom, uint8_t *img) |
| draw a picture in the gram | |
| uint8_t | ssd1309_gram_update (ssd1309_handle_t *handle) |
| update the gram data | |
| uint8_t | ssd1309_set_low_column_start_address (ssd1309_handle_t *handle, uint8_t addr) |
| set the low column start address | |
| uint8_t | ssd1309_set_high_column_start_address (ssd1309_handle_t *handle, uint8_t addr) |
| set the high column start address | |
| uint8_t | ssd1309_set_memory_addressing_mode (ssd1309_handle_t *handle, ssd1309_memory_addressing_mode_t mode) |
| set the memory addressing mode | |
| uint8_t | ssd1309_set_column_address_range (ssd1309_handle_t *handle, uint8_t start_addr, uint8_t end_addr) |
| set the column address range | |
| uint8_t | ssd1309_set_page_address_range (ssd1309_handle_t *handle, uint8_t start_addr, uint8_t end_addr) |
| set the page address range | |
| uint8_t | ssd1309_set_right_horizontal_scroll (ssd1309_handle_t *handle, uint8_t start_page_addr, uint8_t end_page_addr, ssd1309_scroll_frame_t frames, uint8_t start_column_addr, uint8_t end_column_addr) |
| set the right horizontal scroll | |
| uint8_t | ssd1309_set_left_horizontal_scroll (ssd1309_handle_t *handle, uint8_t start_page_addr, uint8_t end_page_addr, ssd1309_scroll_frame_t frames, uint8_t start_column_addr, uint8_t end_column_addr) |
| set the left horizontal scroll | |
| uint8_t | ssd1309_set_vertical_right_horizontal_scroll (ssd1309_handle_t *handle, ssd1309_bool_t horizontal_scroll, uint8_t start_page_addr, uint8_t end_page_addr, uint8_t rows, ssd1309_scroll_frame_t frames, uint8_t start_column_addr, uint8_t end_column_addr) |
| set the vertical right horizontal scroll | |
| uint8_t | ssd1309_set_vertical_left_horizontal_scroll (ssd1309_handle_t *handle, ssd1309_bool_t horizontal_scroll, uint8_t start_page_addr, uint8_t end_page_addr, uint8_t rows, ssd1309_scroll_frame_t frames, uint8_t start_column_addr, uint8_t end_column_addr) |
| set the vertical left horizontal scroll | |
| uint8_t | ssd1309_deactivate_scroll (ssd1309_handle_t *handle) |
| deactivate the scroll | |
| uint8_t | ssd1309_activate_scroll (ssd1309_handle_t *handle) |
| activate the scroll | |
| uint8_t | ssd1309_set_display_start_line (ssd1309_handle_t *handle, uint8_t l) |
| set the display start line | |
| uint8_t | ssd1309_set_contrast (ssd1309_handle_t *handle, uint8_t contrast) |
| set the display contrast | |
| uint8_t | ssd1309_set_segment_remap (ssd1309_handle_t *handle, ssd1309_segment_column_remap_t remap) |
| set the segment remap | |
| uint8_t | ssd1309_set_vertical_scroll_area (ssd1309_handle_t *handle, uint8_t start_row, uint8_t end_row) |
| set the vertical scroll area | |
| uint8_t | ssd1309_set_entire_display (ssd1309_handle_t *handle, ssd1309_entire_display_t enable) |
| enable or disable the entire display | |
| uint8_t | ssd1309_set_display_mode (ssd1309_handle_t *handle, ssd1309_display_mode_t mode) |
| set the display mode | |
| uint8_t | ssd1309_set_multiplex_ratio (ssd1309_handle_t *handle, uint8_t multiplex) |
| set the multiplex ratio | |
| uint8_t | ssd1309_set_display (ssd1309_handle_t *handle, ssd1309_display_t on_off) |
| enable or disable the display | |
| uint8_t | ssd1309_set_page_address (ssd1309_handle_t *handle, uint8_t addr) |
| set the page address | |
| uint8_t | ssd1309_set_scan_direction (ssd1309_handle_t *handle, ssd1309_scan_direction_t dir) |
| set the scan direction | |
| uint8_t | ssd1309_set_display_offset (ssd1309_handle_t *handle, uint8_t offset) |
| set the display offset | |
| uint8_t | ssd1309_set_display_clock (ssd1309_handle_t *handle, uint8_t oscillator_frequency, uint8_t clock_divide) |
| set the display clock | |
| uint8_t | ssd1309_set_precharge_period (ssd1309_handle_t *handle, uint8_t phase1_period, uint8_t phase2_period) |
| set the pre charge period | |
| uint8_t | ssd1309_set_com_pins_hardware_conf (ssd1309_handle_t *handle, ssd1309_pin_conf_t conf, ssd1309_left_right_remap_t remap) |
| set the hardware com pins | |
| uint8_t | ssd1309_set_deselect_level (ssd1309_handle_t *handle, ssd1309_deselect_level_t level) |
| set the deselect level | |
| uint8_t | ssd1309_set_right_horizontal_scroll_one_column (ssd1309_handle_t *handle, uint8_t start_page_addr, uint8_t end_page_addr, uint8_t start_column_addr, uint8_t end_column_addr) |
| set right horizontal scroll one column | |
| uint8_t | ssd1309_set_left_horizontal_scroll_one_column (ssd1309_handle_t *handle, uint8_t start_page_addr, uint8_t end_page_addr, uint8_t start_column_addr, uint8_t end_column_addr) |
| set left horizontal scroll one column | |
| uint8_t | ssd1309_set_gpio (ssd1309_handle_t *handle, ssd1309_gpio_t gpio) |
| set gpio | |
| uint8_t | ssd1309_set_mcu_interface_lock (ssd1309_handle_t *handle, ssd1309_bool_t enable) |
| enable or disable mcu interface lock | |
ssd1309 base driver modules
| typedef struct ssd1309_handle_s ssd1309_handle_t |
ssd1309 handle structure definition
| typedef struct ssd1309_info_s ssd1309_info_t |
ssd1309 information structure definition
| enum ssd1309_address_t |
ssd1309 address pin enumeration definition
| Enumerator | |
|---|---|
| SSD1309_ADDR_SA0_0 | address pin GND |
| SSD1309_ADDR_SA0_1 | address pin VCC |
Definition at line 71 of file driver_ssd1309.h.
| enum ssd1309_bool_t |
ssd1309 bool enumeration definition
| Enumerator | |
|---|---|
| SSD1309_BOOL_FALSE | false |
| SSD1309_BOOL_TRUE | true |
Definition at line 80 of file driver_ssd1309.h.
ssd1309 deselect level enumeration definition
| Enumerator | |
|---|---|
| SSD1309_DESELECT_LEVEL_0P64 | deselect level 0.64 |
| SSD1309_DESELECT_LEVEL_0P78 | deselect level 0.78 |
| SSD1309_DESELECT_LEVEL_0P84 | deselect level 0.84 |
Definition at line 177 of file driver_ssd1309.h.
ssd1309 display mode enumeration definition
| Enumerator | |
|---|---|
| SSD1309_DISPLAY_MODE_NORMAL | display mode normal |
| SSD1309_DISPLAY_MODE_INVERSE | display mode inverse |
Definition at line 132 of file driver_ssd1309.h.
| enum ssd1309_display_t |
ssd1309 display enumeration definition
| Enumerator | |
|---|---|
| SSD1309_DISPLAY_OFF | close display |
| SSD1309_DISPLAY_ON | open display |
Definition at line 141 of file driver_ssd1309.h.
ssd1309 entire display enumeration definition
| Enumerator | |
|---|---|
| SSD1309_ENTIRE_DISPLAY_OFF | entire display off |
| SSD1309_ENTIRE_DISPLAY_ON | entire display on |
Definition at line 123 of file driver_ssd1309.h.
| enum ssd1309_font_t |
ssd1309 font enumeration definition
| Enumerator | |
|---|---|
| SSD1309_FONT_12 | font 12 |
| SSD1309_FONT_16 | font 16 |
| SSD1309_FONT_24 | font 24 |
Definition at line 198 of file driver_ssd1309.h.
| enum ssd1309_gpio_t |
ssd1309 gpio enumeration definition
| Enumerator | |
|---|---|
| SSD1309_GPIO_HIZ_INPUT_DISABLE | input disabled |
| SSD1309_GPIO_HIZ_INPUT_ENABLE | input enabled |
| SSD1309_GPIO_OUTPUT_LOW | output low |
| SSD1309_GPIO_OUTPUT_HIGH | output high |
Definition at line 187 of file driver_ssd1309.h.
| enum ssd1309_interface_t |
ssd1309 interface enumeration definition
| Enumerator | |
|---|---|
| SSD1309_INTERFACE_IIC | interface iic |
| SSD1309_INTERFACE_SPI | interface spi |
Definition at line 62 of file driver_ssd1309.h.
ssd1309 left right remap enumeration definition
| Enumerator | |
|---|---|
| SSD1309_LEFT_RIGHT_REMAP_DISABLE | disable left right remap |
| SSD1309_LEFT_RIGHT_REMAP_ENABLE | enable left right remap |
Definition at line 168 of file driver_ssd1309.h.
ssd1309 memory addressing mode enumeration definition
Definition at line 89 of file driver_ssd1309.h.
| enum ssd1309_pin_conf_t |
ssd1309 pin conf enumeration definition
| Enumerator | |
|---|---|
| SSD1309_PIN_CONF_SEQUENTIAL | pin conf sequential |
| SSD1309_PIN_CONF_ALTERNATIVE | pin conf alternative |
Definition at line 159 of file driver_ssd1309.h.
ssd1309 scan direction enumeration definition
| Enumerator | |
|---|---|
| SSD1309_SCAN_DIRECTION_COM0_START | scan direction com 0 start |
| SSD1309_SCAN_DIRECTION_COMN_1_START | scan direction com N-1 start |
Definition at line 150 of file driver_ssd1309.h.
ssd1309 scroll frame enumeration definition
Definition at line 99 of file driver_ssd1309.h.
ssd1309 segment column remap enumeration definition
| Enumerator | |
|---|---|
| SSD1309_SEGMENT_COLUMN_ADDRESS_0 | segment column remap address 0 |
| SSD1309_SEGMENT_COLUMN_ADDRESS_127 | segment column remap address 127 |
Definition at line 114 of file driver_ssd1309.h.
| uint8_t ssd1309_activate_scroll | ( | ssd1309_handle_t * | handle | ) |
activate the scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 1707 of file driver_ssd1309.c.
| uint8_t ssd1309_clear | ( | ssd1309_handle_t * | handle | ) |
clear the screen
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 333 of file driver_ssd1309.c.
| uint8_t ssd1309_deactivate_scroll | ( | ssd1309_handle_t * | handle | ) |
deactivate the scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 1683 of file driver_ssd1309.c.
| uint8_t ssd1309_deinit | ( | ssd1309_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 1031 of file driver_ssd1309.c.
| uint8_t ssd1309_get_addr_pin | ( | ssd1309_handle_t * | handle, |
| ssd1309_address_t * | addr_pin ) |
get the chip iic address
| [in] | *handle | pointer to an ssd1309 handle structure |
| [out] | *addr_pin | pointer to an iic address buffer |
Definition at line 1161 of file driver_ssd1309.c.
| uint8_t ssd1309_get_interface | ( | ssd1309_handle_t * | handle, |
| ssd1309_interface_t * | interface ) |
get the chip interface
| [in] | *handle | pointer to an ssd1309 handle structure |
| [out] | *interface | pointer to a chip interface buffer |
Definition at line 1119 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_draw_picture | ( | ssd1309_handle_t * | handle, |
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t * | img ) |
draw a picture in the gram
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | *img | pointer to an image buffer |
Definition at line 804 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_fill_rect | ( | ssd1309_handle_t * | handle, |
| uint8_t | left, | ||
| uint8_t | top, | ||
| uint8_t | right, | ||
| uint8_t | bottom, | ||
| uint8_t | color ) |
fill a rectangle in the gram
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | left | left coordinate x |
| [in] | top | top coordinate y |
| [in] | right | right coordinate x |
| [in] | bottom | bottom coordinate y |
| [in] | color | display color |
Definition at line 741 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_read_point | ( | ssd1309_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t * | data ) |
read a point from the gram
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [out] | *data | pointer to a data buffer |
Definition at line 630 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_update | ( | ssd1309_handle_t * | handle | ) |
update the gram data
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 392 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_write_point | ( | ssd1309_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t | data ) |
write a point in the gram
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | data | written data |
Definition at line 580 of file driver_ssd1309.c.
| uint8_t ssd1309_gram_write_string | ( | ssd1309_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| char * | str, | ||
| uint16_t | len, | ||
| uint8_t | color, | ||
| ssd1309_font_t | font ) |
draw a string in the gram
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | *str | pointer to a write string address |
| [in] | len | length of the string |
| [in] | color | display color |
| [in] | font | display font size |
Definition at line 683 of file driver_ssd1309.c.
| uint8_t ssd1309_info | ( | ssd1309_info_t * | info | ) |
get chip's information
| [out] | *info | pointer to an ssd1309 info structure |
Definition at line 2528 of file driver_ssd1309.c.
| uint8_t ssd1309_init | ( | ssd1309_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to an ssd1309 handle structure |
Definition at line 863 of file driver_ssd1309.c.
| uint8_t ssd1309_read_point | ( | ssd1309_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t * | data ) |
read a point
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [out] | *data | pointer to a data buffer |
Definition at line 530 of file driver_ssd1309.c.
| uint8_t ssd1309_set_addr_pin | ( | ssd1309_handle_t * | handle, |
| ssd1309_address_t | addr_pin ) |
set the chip iic address
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | addr_pin | iic address |
Definition at line 1140 of file driver_ssd1309.c.
| uint8_t ssd1309_set_column_address_range | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_addr, | ||
| uint8_t | end_addr ) |
set the column address range
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_addr | column start address |
| [in] | end_addr | column end address |
Definition at line 1281 of file driver_ssd1309.c.
| uint8_t ssd1309_set_com_pins_hardware_conf | ( | ssd1309_handle_t * | handle, |
| ssd1309_pin_conf_t | conf, | ||
| ssd1309_left_right_remap_t | remap ) |
set the hardware com pins
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | conf | pin conf |
| [in] | remap | left right remap |
Definition at line 2215 of file driver_ssd1309.c.
| uint8_t ssd1309_set_contrast | ( | ssd1309_handle_t * | handle, |
| uint8_t | contrast ) |
set the display contrast
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | contrast | display contrast |
Definition at line 1764 of file driver_ssd1309.c.
| uint8_t ssd1309_set_deselect_level | ( | ssd1309_handle_t * | handle, |
| ssd1309_deselect_level_t | level ) |
set the deselect level
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | level | deselect level |
Definition at line 2245 of file driver_ssd1309.c.
| uint8_t ssd1309_set_display | ( | ssd1309_handle_t * | handle, |
| ssd1309_display_t | on_off ) |
enable or disable the display
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | on_off | bool value |
Definition at line 1989 of file driver_ssd1309.c.
| uint8_t ssd1309_set_display_clock | ( | ssd1309_handle_t * | handle, |
| uint8_t | oscillator_frequency, | ||
| uint8_t | clock_divide ) |
set the display clock
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | oscillator_frequency | oscillator frequency |
| [in] | clock_divide | clock divide |
Definition at line 2126 of file driver_ssd1309.c.
| uint8_t ssd1309_set_display_mode | ( | ssd1309_handle_t * | handle, |
| ssd1309_display_mode_t | mode ) |
set the display mode
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | mode | display mode |
Definition at line 1913 of file driver_ssd1309.c.
| uint8_t ssd1309_set_display_offset | ( | ssd1309_handle_t * | handle, |
| uint8_t | offset ) |
set the display offset
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | offset | display offset |
Definition at line 2086 of file driver_ssd1309.c.
| uint8_t ssd1309_set_display_start_line | ( | ssd1309_handle_t * | handle, |
| uint8_t | l ) |
set the display start line
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | l | start line |
Definition at line 1733 of file driver_ssd1309.c.
| uint8_t ssd1309_set_entire_display | ( | ssd1309_handle_t * | handle, |
| ssd1309_entire_display_t | enable ) |
enable or disable the entire display
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | enable | bool value |
Definition at line 1881 of file driver_ssd1309.c.
| uint8_t ssd1309_set_gpio | ( | ssd1309_handle_t * | handle, |
| ssd1309_gpio_t | gpio ) |
set gpio
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | gpio | gpio config |
Definition at line 2419 of file driver_ssd1309.c.
| uint8_t ssd1309_set_high_column_start_address | ( | ssd1309_handle_t * | handle, |
| uint8_t | addr ) |
set the high column start address
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | addr | high column start address |
Definition at line 1217 of file driver_ssd1309.c.
| uint8_t ssd1309_set_interface | ( | ssd1309_handle_t * | handle, |
| ssd1309_interface_t | interface ) |
set the chip interface
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | interface | chip interface |
Definition at line 1098 of file driver_ssd1309.c.
| uint8_t ssd1309_set_left_horizontal_scroll | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| ssd1309_scroll_frame_t | frames, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set the left horizontal scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | frames | scroll frames |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 1454 of file driver_ssd1309.c.
| uint8_t ssd1309_set_left_horizontal_scroll_one_column | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set left horizontal scroll one column
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 2357 of file driver_ssd1309.c.
| uint8_t ssd1309_set_low_column_start_address | ( | ssd1309_handle_t * | handle, |
| uint8_t | addr ) |
set the low column start address
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | addr | low column start address |
Definition at line 1185 of file driver_ssd1309.c.
| uint8_t ssd1309_set_mcu_interface_lock | ( | ssd1309_handle_t * | handle, |
| ssd1309_bool_t | enable ) |
enable or disable mcu interface lock
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | enable | bool value |
Definition at line 2449 of file driver_ssd1309.c.
| uint8_t ssd1309_set_memory_addressing_mode | ( | ssd1309_handle_t * | handle, |
| ssd1309_memory_addressing_mode_t | mode ) |
set the memory addressing mode
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | mode | memory addressing mode |
Definition at line 1248 of file driver_ssd1309.c.
| uint8_t ssd1309_set_multiplex_ratio | ( | ssd1309_handle_t * | handle, |
| uint8_t | multiplex ) |
set the multiplex ratio
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | multiplex | multiplex ratio |
Definition at line 1947 of file driver_ssd1309.c.
| uint8_t ssd1309_set_page_address | ( | ssd1309_handle_t * | handle, |
| uint8_t | addr ) |
set the page address
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | addr | page address |
Definition at line 2022 of file driver_ssd1309.c.
| uint8_t ssd1309_set_page_address_range | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_addr, | ||
| uint8_t | end_addr ) |
set the page address range
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_addr | page start address |
| [in] | end_addr | page end address |
Definition at line 1327 of file driver_ssd1309.c.
| uint8_t ssd1309_set_precharge_period | ( | ssd1309_handle_t * | handle, |
| uint8_t | phase1_period, | ||
| uint8_t | phase2_period ) |
set the pre charge period
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | phase1_period | phase1 period |
| [in] | phase2_period | phase2 period |
Definition at line 2172 of file driver_ssd1309.c.
| uint8_t ssd1309_set_right_horizontal_scroll | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| ssd1309_scroll_frame_t | frames, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set the right horizontal scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | frames | scroll frames |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 1381 of file driver_ssd1309.c.
| uint8_t ssd1309_set_right_horizontal_scroll_one_column | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set right horizontal scroll one column
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 2285 of file driver_ssd1309.c.
| uint8_t ssd1309_set_scan_direction | ( | ssd1309_handle_t * | handle, |
| ssd1309_scan_direction_t | dir ) |
set the scan direction
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | dir | scan direction |
Definition at line 2053 of file driver_ssd1309.c.
| uint8_t ssd1309_set_segment_remap | ( | ssd1309_handle_t * | handle, |
| ssd1309_segment_column_remap_t | remap ) |
set the segment remap
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | remap | segment remap param |
Definition at line 1794 of file driver_ssd1309.c.
| uint8_t ssd1309_set_vertical_left_horizontal_scroll | ( | ssd1309_handle_t * | handle, |
| ssd1309_bool_t | horizontal_scroll, | ||
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| uint8_t | rows, | ||
| ssd1309_scroll_frame_t | frames, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set the vertical left horizontal scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | horizontal_scroll | bool value |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | rows | row address |
| [in] | frames | scroll frames |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 1615 of file driver_ssd1309.c.
| uint8_t ssd1309_set_vertical_right_horizontal_scroll | ( | ssd1309_handle_t * | handle, |
| ssd1309_bool_t | horizontal_scroll, | ||
| uint8_t | start_page_addr, | ||
| uint8_t | end_page_addr, | ||
| uint8_t | rows, | ||
| ssd1309_scroll_frame_t | frames, | ||
| uint8_t | start_column_addr, | ||
| uint8_t | end_column_addr ) |
set the vertical right horizontal scroll
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | horizontal_scroll | bool value |
| [in] | start_page_addr | start page address |
| [in] | end_page_addr | end page address |
| [in] | rows | row address |
| [in] | frames | scroll frames |
| [in] | start_column_addr | start column address |
| [in] | end_column_addr | end column address |
Definition at line 1531 of file driver_ssd1309.c.
| uint8_t ssd1309_set_vertical_scroll_area | ( | ssd1309_handle_t * | handle, |
| uint8_t | start_row, | ||
| uint8_t | end_row ) |
set the vertical scroll area
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | start_row | start row |
| [in] | end_row | end row |
Definition at line 1832 of file driver_ssd1309.c.
| uint8_t ssd1309_write_point | ( | ssd1309_handle_t * | handle, |
| uint8_t | x, | ||
| uint8_t | y, | ||
| uint8_t | data ) |
write a point
| [in] | *handle | pointer to an ssd1309 handle structure |
| [in] | x | coordinate x |
| [in] | y | coordinate y |
| [in] | data | written data |
Definition at line 454 of file driver_ssd1309.c.