LibDriver ST7920
Loading...
Searching...
No Matches
st7920 extern driver function

st7920 extern driver modules More...

Collaboration diagram for st7920 extern driver function:

Functions

uint8_t st7920_write_cmd (st7920_handle_t *handle, uint8_t cmd)
 write command
uint8_t st7920_write_data (st7920_handle_t *handle, uint8_t data)
 write data

Detailed Description

st7920 extern driver modules

Function Documentation

◆ st7920_write_cmd()

uint8_t st7920_write_cmd ( st7920_handle_t * handle,
uint8_t cmd )

write command

Parameters
[in]*handlepointer to an st7920 handle structure
[in]cmdwritten command
Returns
status code
  • 0 success
  • 1 write cmd failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1851 of file driver_st7920.c.

◆ st7920_write_data()

uint8_t st7920_write_data ( st7920_handle_t * handle,
uint8_t data )

write data

Parameters
[in]*handlepointer to an st7920 handle structure
[in]datawritten data
Returns
status code
  • 0 success
  • 1 write data failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1884 of file driver_st7920.c.