#include <msp430x44x.h>
#include <msp430/basic_clock.h>
#include <msp430/system_clock.h>
#include <sys/types.h>
#include "common.h"
Include dependency graph for lcd.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | LCD_PRINTF_BUF_SIZE (8) |
| #define | LCD_ARROW_UP (0x20) |
| #define | LCD_ARROW_DOWN (0x80) |
| #define | LCD_ARROW_RIGHT (0x40) |
| #define | LCD_ARROW_LEFT (0x10) |
| #define | LCD_ARROW_ALL (LCD_ARROW_UP + LCD_ARROW_DOWN + LCD_ARROW_LEFT + LCD_ARROW_RIGHT) |
Functions | |
| void | LCD_init () |
| Initializes LCD driver. | |
| void | LCD_clear () |
| Clear all segment of LCD. | |
| void | LCD_clearClock () |
| Clear segments of clock on LCD (four digit at top-right). | |
| void | LCD_all () |
| Shows all segment of LCD. | |
| void | LCD_writeClockInt (uint16_t value, bool_t paddingZeroes) |
| Write an integer variable to clock part of LCD (four digit at top-right). | |
| void | LCD_writeClockDigit (uint8_t position, uint8_t digit) |
| Write a digit to clock part of LCD (four digit at top-right). | |
| void | LCD_setClockColon (bool_t on) |
| Shows or hides colon on clock part of LCD (four digit at top-right). | |
| void | LCD_setClockDot (uint8_t position, bool_t on) |
| Shows or hides dots on clock part of LCD (four digit at top-right). | |
| void | LCD_showArrows (uint8_t arrows) |
| Shows arrows. | |
| void | LCD_clearArrows (uint8_t arrows) |
| Clear arrows. | |
| void | LCD_showBatteryLevel (uint8_t level) |
| Shows battery level. | |
| void | LCD_setColon (uint8_t position, bool_t on) |
| Shows or hides colon. | |
| void | LCD_writeInt (int number) |
| Write an integer variable to LCD. | |
| void | LCD_writeLetter (uint8_t position, char letter) |
| Write an alphanumeric character to LCD. | |
| void | LCD_write (const char *buf, uint8_t length) |
| Write a character buffer to LCD. | |
| void | LCD_printf (const char *fmt,...) |
| Write a formatted string to LCD. | |
Variables | |
| char * | LCD |
| Pointer to access LCD memory. | |
Definition in file lcd.h.
| #define LCD_ARROW_ALL (LCD_ARROW_UP + LCD_ARROW_DOWN + LCD_ARROW_LEFT + LCD_ARROW_RIGHT) |
| void LCD_all | ( | ) |
| void LCD_clearArrows | ( | uint8_t | arrows | ) |
| void LCD_clearClock | ( | ) |
| void LCD_printf | ( | const char * | fmt, | |
| ... | ||||
| ) |
| void LCD_setClockColon | ( | bool_t | on | ) |
| void LCD_setClockDot | ( | uint8_t | position, | |
| bool_t | on | |||
| ) |
| void LCD_setColon | ( | uint8_t | position, | |
| bool_t | on | |||
| ) |
| void LCD_showArrows | ( | uint8_t | arrows | ) |
| void LCD_showBatteryLevel | ( | uint8_t | level | ) |
| void LCD_write | ( | const char * | buf, | |
| uint8_t | length | |||
| ) |
| void LCD_writeClockDigit | ( | uint8_t | position, | |
| uint8_t | digit | |||
| ) |
| void LCD_writeClockInt | ( | uint16_t | value, | |
| bool_t | paddingZeroes | |||
| ) |
| void LCD_writeInt | ( | int | number | ) |
| void LCD_writeLetter | ( | uint8_t | position, | |
| char | letter | |||
| ) |
1.5.1