ea_dsp7s04.h File Reference
Go to the source code of this file.
Define Documentation
#define ea_dsp7s04_enable_display |
( |
on |
|
) |
cat4016_enable_display(on) |
Function Documentation
void ea_dsp7s04_clear_dot |
( |
uns8 |
pos |
) |
|
00126 {
00127
00128 dots = dots & ~(1 << position);
00129 }
void ea_dsp7s04_init |
( |
void |
|
) |
|
void ea_dsp7s04_print_str |
( |
char * |
str |
) |
|
void ea_dsp7s04_put_raw |
( |
uns8 |
pos, |
|
|
uns8 |
data | |
|
) |
| | |
void ea_dsp7s04_set_display |
( |
char |
s, |
|
|
uns8 |
position | |
|
) |
| | |
void ea_dsp7s04_set_dot |
( |
uns8 |
pos |
) |
|
00121 {
00122
00123 dots = dots | (1 << position);
00124 }
void ea_dsp7s04_setup_io |
( |
void |
|
) |
|
00041 {
00042
00043 cat4016_setup_io();
00044
00045 }
void ea_dsp7s04_update_display |
( |
void |
|
) |
|
00105 {
00106
00107 cat4016_write_data(display[3] | (dots >> 3) , display[2] | ((dots >> 2) & 0x01));
00108 cat4016_write_data(display[1] | ((dots >> 1) & 0x01), display[0] | (dots & 0x01));
00109 cat4016_latch_data();
00110 }