lcd_text.h File Reference

Generic text LCD driver (interface). More...

#include "lcd_hd44.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <mware/list.h>
#include <stdarg.h>

Go to the source code of this file.


Data Structures

struct  _Layer
 Overwrapping layer context. More...

Defines

#define LAYER_HIDDEN   -128
 Special priority value for lcd_setLayerDepth().

Typedefs

typedef struct _Layer Layer
 Overwrapping layer context.

Functions

void lcd_init (void)
 Initialize LCD subsystem.
void lcd_setLayerDepth (Layer *layer, char pri)
 Rearrange layer depth and refresh display accordingly.

Detailed Description

Generic text LCD driver (interface).

Version:
Id
lcd_text.h 841 2007-10-08 17:35:23Z marco
Author:
Bernardo Innocenti <bernie@develer.com>

Stefano Fedrigo <aleph@develer.com>

Definition in file lcd_text.h.


Define Documentation

#define LAYER_HIDDEN   -128

Special priority value for lcd_setLayerDepth().

Definition at line 86 of file lcd_text.h.


Function Documentation

void lcd_init ( void   ) 

Initialize LCD subsystem.

Note:
The PWM used for LCD contrast is initialized in drv/pwm.c because it is the same PWM used for output attenuation.

Definition at line 459 of file lcd_32122a_avr.c.

void lcd_setLayerDepth ( Layer layer,
char  pri 
)

Rearrange layer depth and refresh display accordingly.

Note:
Setting a priority of LAYER_HIDDEN makes the layer invisible.

Definition at line 403 of file lcd_text.c.