Firmware SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
bc_ls013b7dh03

Driver for LS013B7DH03 1.28" HR-TFT Memory LCD. More...

Data Structures

struct  bc_ls013b7dh03_t
 Instance. More...
 

Macros

#define BC_LS013B7DH03_FRAMEBUFFER_SIZE   (1 + ((1+16+1) * 128) + 1)
 
#define BC_LS013B7DH03_WIDTH   128
 
#define BC_LS013B7DH03_HEIGHT   128
 

Functions

void bc_ls013b7dh03_init (bc_ls013b7dh03_t *self, bool(*pin_cs_set)(bool state))
 Initialize lcd driver. More...
 
bc_gfx_caps_t bc_ls013b7dh03_get_caps (bc_ls013b7dh03_t *self)
 Get capabilities. More...
 
bool bc_ls013b7dh03_is_ready (bc_ls013b7dh03_t *self)
 Check if lcd is ready for commands. More...
 
void bc_ls013b7dh03_clear (bc_ls013b7dh03_t *self)
 Clear. More...
 
void bc_ls013b7dh03_draw_pixel (bc_ls013b7dh03_t *self, int x, int y, uint32_t color)
 Lcd draw pixel. More...
 
uint32_t bc_ls013b7dh03_get_pixel (bc_ls013b7dh03_t *self, int x, int y)
 Lcd get pixel. More...
 
bool bc_ls013b7dh03_update (bc_ls013b7dh03_t *self)
 Lcd update, send data. More...
 
bool bc_ls013b7dh03_clear_memory_command (bc_ls013b7dh03_t *self)
 Send Lcd clear memory command. More...
 
const bc_gfx_driver_tbc_ls013b7dh03_get_driver (void)
 Get Lcd driver.
 

Detailed Description

Driver for LS013B7DH03 1.28" HR-TFT Memory LCD.

Function Documentation

void bc_ls013b7dh03_clear ( bc_ls013b7dh03_t self)

Clear.

Parameters
[in]selfInstance

Definition at line 50 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the caller graph for this function:

bool bc_ls013b7dh03_clear_memory_command ( bc_ls013b7dh03_t self)

Send Lcd clear memory command.

Returns
true On success
false On failure

Definition at line 149 of file bc_ls013b7dh03.c.

void bc_ls013b7dh03_draw_pixel ( bc_ls013b7dh03_t self,
int  x,
int  y,
uint32_t  color 
)

Lcd draw pixel.

Parameters
[in]selfInstance
[in]leftPixels from left edge
[in]topPixels from top edge
[in]colorPixels state

Definition at line 64 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the caller graph for this function:

bc_gfx_caps_t bc_ls013b7dh03_get_caps ( bc_ls013b7dh03_t self)

Get capabilities.

Parameters
[in]selfInstance

Definition at line 34 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the caller graph for this function:

uint32_t bc_ls013b7dh03_get_pixel ( bc_ls013b7dh03_t self,
int  x,
int  y 
)

Lcd get pixel.

Parameters
[in]selfInstance
[in]leftPixels from left edge
[in]topPixels from top edge
[in]colorPixels state

Definition at line 85 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the caller graph for this function:

void bc_ls013b7dh03_init ( bc_ls013b7dh03_t self,
bool(*)(bool state)  pin_cs_set 
)

Initialize lcd driver.

Parameters
[in]selfInstance

Definition at line 11 of file bc_ls013b7dh03.c.

Referenced by bc_module_lcd_init().

Here is the call graph for this function:

Here is the caller graph for this function:

bool bc_ls013b7dh03_is_ready ( bc_ls013b7dh03_t self)

Check if lcd is ready for commands.

Parameters
[in]selfInstance
Returns
true If ready
false If not ready

Definition at line 43 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the call graph for this function:

Here is the caller graph for this function:

bool bc_ls013b7dh03_update ( bc_ls013b7dh03_t self)

Lcd update, send data.

Parameters
[in]selfInstance
Returns
true On success
false On failure

Definition at line 106 of file bc_ls013b7dh03.c.

Referenced by bc_ls013b7dh03_get_driver().

Here is the call graph for this function:

Here is the caller graph for this function: