Microchip® Advanced Software Framework

c42364a.h File Reference

Management of C42364A LCD Glass component.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"
#include "status_codes.h"
#include "c42364a_segmap.h"

Macros

Circular Animation Shift Direction
#define C42364A_CSR_RIGHT   1
 Right Direction. More...
 
#define C42364A_CSR_LEFT   0
 Left Direction. More...
 

Enumerations

Value for battery Icon setting
enum  c42364a_battery_value {
  C42364A_BATTERY_NONE = 0,
  C42364A_BATTERY_ONE,
  C42364A_BATTERY_TWO,
  C42364A_BATTERY_THREE
}
 

Functions

Function Prototypes
status_code_t c42364a_init (void)
 Initialize the C42364A LCD Glass component. More...
 
void c42364a_write_alphanum_packet (const uint8_t *data)
 Write string to c42364a lcd glass alphanumeric field. More...
 
void c42364a_write_num_packet (const uint8_t *data)
 Write string to c42048a lcd glass numeric field. More...
 
void c42364a_show_text (const uint8_t *data)
 Show text on C42364A LCD glass alphanumeric field. More...
 
void c42364a_clear_text (void)
 Clear C42364A LCD glass alphanumeric field. More...
 
void c42364a_clear_icon (uint8_t icon_com, uint8_t icon_seg)
 Clear a specific icon on the LCD glass. More...
 
void c42364a_show_icon (uint8_t icon_com, uint8_t icon_seg)
 Show a specific icon on the LCD glass. More...
 
void c42364a_blink_icon_start (uint8_t icon_com, uint8_t icon_seg)
 Blink a specific icon on the LCD glass. More...
 
void c42364a_blink_icon_stop (uint8_t icon_com, uint8_t icon_seg)
 Stop blink a specific icon on the LCD glass. More...
 
void c42364a_blink_screen (void)
 Blink the current screen content. More...
 
void c42364a_blink_disable (void)
 Disable all Blink. More...
 
void c42364a_set_contrast (int8_t contrast)
 Set the C42364A LCD glass contrast. More...
 
void c42364a_circular_animation_start (uint8_t csr_dir, uint8_t size, uint8_t data)
 Start circular animation. More...
 
void c42364a_circular_animation_stop (void)
 Stop circular animation. More...
 
void c42364a_text_scrolling_start (const uint8_t *data, uint32_t length)
 Scrolling start. More...
 
void c42364a_text_scrolling_stop (void)
 Scrolling stop. More...
 
void c42364a_show_all (void)
 Show all content of the LCD glass. More...
 
void c42364a_clear_all (void)
 Clear all content of the LCD glass. More...
 
void c42364a_show_numeric_dec (int32_t value)
 Show a decimal numeric value to LCD glass. More...
 
void c42364a_clear_numeric_dec (void)
 Clear C42364A LCD glass numeric field and the three C42364A_ICON_MINUS*** icons. More...
 
void c42364a_show_battery (enum c42364a_battery_value val)
 Show battery condition by the battery icons on the LCD glass. More...