#include <config.h>
#include <sys/lcd.h>
#include <dlcd.h>
#include <dkey.h>
Include dependency graph for conio.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void | delay (unsigned ms) |
delay approximately ms mSec. More... | |
void | cputc_native_0 (char mask) |
write bit-pattern for segments at position 0 of LCD. More... | |
void | cputc_native_1 (char mask) |
write bit-pattern for segments at position 1 of LCD. More... | |
void | cputc_native_2 (char mask) |
write bit-pattern for segments at position 2 of LCD. More... | |
void | cputc_native_3 (char mask) |
write bit-pattern for segments at position 3 of LCD. More... | |
void | cputc_native_4 (char mask) |
write bit-pattern for segments at position 4 of LCD. More... | |
void | cputc_native_5 (char mask) |
write bit-pattern for segments at position 5 of LCD. More... | |
void | cputc_native (char mask, int pos) |
Set/Clear individual segments at specified position of LCD. More... | |
void | cputc_hex_0 (unsigned nibble) |
write HEX digit to position 0 of LCD. More... | |
void | cputc_hex_1 (unsigned nibble) |
write HEX digit to position 1 of LCD. More... | |
void | cputc_hex_2 (unsigned nibble) |
write HEX digit to position 2 of LCD. More... | |
void | cputc_hex_3 (unsigned nibble) |
write HEX digit to position 3 of LCD. More... | |
void | cputc_hex_4 (unsigned nibble) |
write HEX digit to position 4 of LCD. More... | |
void | cputc_hex_5 (unsigned nibble) |
write HEX digit to position 5 of LCD. More... | |
void | cputc_hex (char c, int pos) |
Write HEX digit to specified position of LCD. More... | |
void | cputw (unsigned word) |
Write a HEX word to LCD. More... | |
void | cputc_0 (unsigned c) |
write ASCII char to position 0 of LCD. More... | |
void | cputc_1 (unsigned c) |
write ASCII char to position 1 of LCD. More... | |
void | cputc_2 (unsigned c) |
write ASCII char to position 2 of LCD. More... | |
void | cputc_3 (unsigned c) |
write ASCII char to position 3 of LCD. More... | |
void | cputc_4 (unsigned c) |
write ASCII char to position 4 of LCD. More... | |
void | cputc_5 (unsigned c) |
write ASCII char to position 5 of LCD. More... | |
void | cputc (char c, int pos) |
Write ASCII character to specified position of LCD. More... | |
void | cputs (char *s) |
Write string s to LCD (Only first 5 chars). More... | |
void | cls () |
clear user portion of LCD. More... | |
Variables | |
const char | hex_display_codes [] |
Table: list of native patterns, one for each HEX character. More... | |
const char | ascii_display_codes [] |
Table: list of native patterns, one for each ASCII character. More... |
LCD Postions: 5 4 3 2 1 <man> 0
NOTE: Position 5 is only partially present on the LCD display.
Definition in file conio.h.
|
clear user portion of LCD.
|
|
Write ASCII character to specified position of LCD. (this is essentially a dispatcher for cputc_[0-5] functions)
Definition at line 212 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 0 of LCD.
Definition at line 176 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 1 of LCD.
Definition at line 181 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 2 of LCD.
Definition at line 186 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 3 of LCD.
Definition at line 191 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 4 of LCD.
Definition at line 196 of file conio.h. References ascii_display_codes. |
|
write ASCII char to position 5 of LCD.
Definition at line 201 of file conio.h. References ascii_display_codes. |
|
Write HEX digit to specified position of LCD. (this is essentially a dispatcher for cputc_hex_[0-5] functions)
Definition at line 166 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 0 of LCD.
Definition at line 130 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 1 of LCD.
Definition at line 135 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 2 of LCD.
Definition at line 140 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 3 of LCD.
Definition at line 145 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 4 of LCD.
Definition at line 150 of file conio.h. References hex_display_codes. |
|
write HEX digit to position 5 of LCD.
Definition at line 155 of file conio.h. References hex_display_codes. |
|
Set/Clear individual segments at specified position of LCD. (this is essentially a dispatcher for cputc_native_[0-5] functions)
|
|
write bit-pattern for segments at position 0 of LCD.
Referenced by show_on(). |
|
write bit-pattern for segments at position 1 of LCD.
Referenced by show_on(). |
|
write bit-pattern for segments at position 2 of LCD.
|
|
write bit-pattern for segments at position 3 of LCD.
|
|
write bit-pattern for segments at position 4 of LCD.
|
|
write bit-pattern for segments at position 5 of LCD.
|
|
Write string s to LCD (Only first 5 chars).
|
|
Write a HEX word to LCD.
|
|
delay approximately ms mSec.
Definition at line 204 of file conio.c. Referenced by MotorPair::brake(), kmain(), Sensor::sample(), LightSensor::sample(), show_on(), and Sensor::strobe(). |
|
Table: list of native patterns, one for each ASCII character.
Definition at line 81 of file conio.h. Referenced by cputc(), cputc_0(), cputc_1(), cputc_2(), cputc_3(), cputc_4(), and cputc_5(). |
|
Table: list of native patterns, one for each HEX character.
Definition at line 73 of file conio.h. Referenced by cputc_hex(), cputc_hex_0(), cputc_hex_1(), cputc_hex_2(), cputc_hex_3(), cputc_hex_4(), and cputc_hex_5(). |
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |