ez80f910200zco port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1436 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
cd04716418
commit
a8fb024f7f
@ -39,7 +39,9 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
#include "ez80f910200zco.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
@ -54,139 +56,139 @@
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
/* 5x7 LED matrix character glyphs. Each glyph consists of 6 bytes, one
|
||||
* each row and each containing 7 bits of data, one for each column
|
||||
/* 5x7 LED matrix character glyphs. Each glyph consists of 7 bytes, one
|
||||
* each row and each containing 5 bits of data, one for each column
|
||||
*/
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chblock[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; /* block */
|
||||
static const ubyte g_chblock[7] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; /* block */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chspace[] = 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f}; /* space */
|
||||
static const ubyte g_chspace[7] = {0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f}; /* space */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chexclam[] = 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1f, 0x1b}; /* ! */
|
||||
static const ubyte g_chquote[] = 0x15, 0x15, 0x15, 0x1f, 0x1f, 0x1f, 0x1f}; /* " */
|
||||
static const ubyte g_chnum[] = 0x1f, 0x15, 0x00, 0x15, 0x00, 0x15, 0x1f}; /* # */
|
||||
static const ubyte g_chdollar[] = 0x1b, 0x11, 0x0a, 0x11, 0x0a, 0x11, 0x1b}; /* $ */
|
||||
static const ubyte g_chpct[] = 0x1f, 0x1e, 0x15, 0x1b, 0x15, 0x0f, 0x1f}; /* % */
|
||||
static const ubyte g_champ[] = 0x11, 0x0e, 0x0e, 0x11, 0x15, 0x0e, 0x10}; /* & */
|
||||
static const ubyte g_chsquote[] = 0x1b, 0x1b, 0x1b, 0x1f, 0x1f, 0x1f, 0x1f}; /* ' */
|
||||
static const ubyte g_chlparen[] = 0x1d, 0x1b, 0x17, 0x17, 0x17, 0x1b, 0x1d}; /* ( */
|
||||
static const ubyte g_chrparen[] = 0x17, 0x1b, 0x1d, 0x1d, 0x1d, 0x1b, 0x17}; /* ) */
|
||||
static const ubyte g_chexclam[7] = {0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1f, 0x1b}; /* ! */
|
||||
static const ubyte g_chquote[7] = {0x15, 0x15, 0x15, 0x1f, 0x1f, 0x1f, 0x1f}; /* " */
|
||||
static const ubyte g_chnum[7] = {0x1f, 0x15, 0x00, 0x15, 0x00, 0x15, 0x1f}; /* # */
|
||||
static const ubyte g_chdollar[7] = {0x1b, 0x11, 0x0a, 0x11, 0x0a, 0x11, 0x1b}; /* $ */
|
||||
static const ubyte g_chpct[7] = {0x1f, 0x1e, 0x15, 0x1b, 0x15, 0x0f, 0x1f}; /* % */
|
||||
static const ubyte g_champ[7] = {0x11, 0x0e, 0x0e, 0x11, 0x15, 0x0e, 0x10}; /* & */
|
||||
static const ubyte g_chsquote[7] = {0x1b, 0x1b, 0x1b, 0x1f, 0x1f, 0x1f, 0x1f}; /* ' */
|
||||
static const ubyte g_chlparen[7] = {0x1d, 0x1b, 0x17, 0x17, 0x17, 0x1b, 0x1d}; /* ( */
|
||||
static const ubyte g_chrparen[7] = {0x17, 0x1b, 0x1d, 0x1d, 0x1d, 0x1b, 0x17}; /* ) */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chast[] = 0x1f, 0x0a, 0x11, 0x00, 0x11, 0x0a, 0x1f}; /* * */
|
||||
static const ubyte g_chast[7] = {0x1f, 0x0a, 0x11, 0x00, 0x11, 0x0a, 0x1f}; /* * */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chplus[] = 0x1f, 0x1b, 0x1b, 0x00, 0x1b, 0x1b, 0x1f}; /* + */
|
||||
static const ubyte g_chcomma[] = 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1b, 0x17}; /* , */
|
||||
static const ubyte g_chhyphen[] = 0x1f, 0x1f, 0x1f, 0x00, 0x1f, 0x1f, 0x1f}; /* - */
|
||||
static const ubyte g_chperiod[] = 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1b}; /* . */
|
||||
static const ubyte g_chslash[] = 0x1f, 0x1e, 0x1d, 0x1b, 0x17, 0x0f, 0x1f}; /* / */
|
||||
static const ubyte g_chplus[7] = {0x1f, 0x1b, 0x1b, 0x00, 0x1b, 0x1b, 0x1f}; /* + */
|
||||
static const ubyte g_chcomma[7] = {0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1b, 0x17}; /* , */
|
||||
static const ubyte g_chhyphen[7] = {0x1f, 0x1f, 0x1f, 0x00, 0x1f, 0x1f, 0x1f}; /* - */
|
||||
static const ubyte g_chperiod[7] = {0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1b}; /* . */
|
||||
static const ubyte g_chslash[7] = {0x1f, 0x1e, 0x1d, 0x1b, 0x17, 0x0f, 0x1f}; /* / */
|
||||
#endif
|
||||
|
||||
static const ubyte g_ch0[] = 0x11, 0x0e, 0x0c, 0x0a, 0x06, 0x0e, 0x11}; /* 0 */
|
||||
static const ubyte g_ch0[7] = {0x11, 0x0e, 0x0c, 0x0a, 0x06, 0x0e, 0x11}; /* 0 */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_ch1[] = 0x1b, 0x13, 0x1b, 0x1b, 0x1b, 0x1b, 0x11}; /* 1 */
|
||||
static const ubyte g_ch2[] = 0x11, 0x0e, 0x1d, 0x1b, 0x17, 0x0f, 0x00}; /* 2 */
|
||||
static const ubyte g_ch3[] = 0x11, 0x0e, 0x1e, 0x19, 0x1e, 0x0e, 0x11}; /* 3 */
|
||||
static const ubyte g_ch4[] = 0x0e, 0x0e, 0x0e, 0x10, 0x1e, 0x1e, 0x1e}; /* 4 */
|
||||
static const ubyte g_ch5[] = 0x00, 0x0f, 0x0f, 0x01, 0x1e, 0x0e, 0x11}; /* 5 */
|
||||
static const ubyte g_ch6[] = 0x11, 0x0f, 0x0f, 0x01, 0x0e, 0x0e, 0x11}; /* 6 */
|
||||
static const ubyte g_ch7[] = 0x00, 0x1e, 0x1e, 0x1d, 0x1b, 0x1b, 0x1b}; /* 7 */
|
||||
static const ubyte g_ch8[] = 0x11, 0x0e, 0x0e, 0x11, 0x0e, 0x0e, 0x11}; /* 8 */
|
||||
static const ubyte g_ch9[] = 0x11, 0x0e, 0x0e, 0x10, 0x1e, 0x1d, 0x1b}; /* 9 */
|
||||
static const ubyte g_chcolon[] = 0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x1f, 0x1f}; /* : */
|
||||
static const ubyte g_shsemi[] = 0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x17, 0x1f}; /* ; */
|
||||
static const ubyte g_chlt[] = 0x1d, 0x1b, 0x17, 0x0f, 0x17, 0x1b, 0x1d}; /* < */
|
||||
static const ubyte g_cheq[] = 0x1f, 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x1f}; /* = */
|
||||
static const ubyte g_chgt[] = 0x17, 0x1b, 0x1d, 0x1e, 0x1d, 0x1b, 0x17}; /* > */
|
||||
static const ubyte g_chquest[] = 0x11, 0x0e, 0x0d, 0x1b, 0x1b, 0x1f, 0x1b}; /* ? */
|
||||
static const ubyte g_chat[] = 0x11, 0x0a, 0x04, 0x04, 0x05, 0x0a, 0x11}; /* @ */
|
||||
static const ubyte g_ch1[7] = {0x1b, 0x13, 0x1b, 0x1b, 0x1b, 0x1b, 0x11}; /* 1 */
|
||||
static const ubyte g_ch2[7] = {0x11, 0x0e, 0x1d, 0x1b, 0x17, 0x0f, 0x00}; /* 2 */
|
||||
static const ubyte g_ch3[7] = {0x11, 0x0e, 0x1e, 0x19, 0x1e, 0x0e, 0x11}; /* 3 */
|
||||
static const ubyte g_ch4[7] = {0x0e, 0x0e, 0x0e, 0x10, 0x1e, 0x1e, 0x1e}; /* 4 */
|
||||
static const ubyte g_ch5[7] = {0x00, 0x0f, 0x0f, 0x01, 0x1e, 0x0e, 0x11}; /* 5 */
|
||||
static const ubyte g_ch6[7] = {0x11, 0x0f, 0x0f, 0x01, 0x0e, 0x0e, 0x11}; /* 6 */
|
||||
static const ubyte g_ch7[7] = {0x00, 0x1e, 0x1e, 0x1d, 0x1b, 0x1b, 0x1b}; /* 7 */
|
||||
static const ubyte g_ch8[7] = {0x11, 0x0e, 0x0e, 0x11, 0x0e, 0x0e, 0x11}; /* 8 */
|
||||
static const ubyte g_ch9[7] = {0x11, 0x0e, 0x0e, 0x10, 0x1e, 0x1d, 0x1b}; /* 9 */
|
||||
static const ubyte g_chcolon[7] = {0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x1f, 0x1f}; /* : */
|
||||
static const ubyte g_shsemi[7] = {0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x17, 0x1f}; /* ; */
|
||||
static const ubyte g_chlt[7] = {0x1d, 0x1b, 0x17, 0x0f, 0x17, 0x1b, 0x1d}; /* < */
|
||||
static const ubyte g_cheq[7] = {0x1f, 0x1f, 0x00, 0x1f, 0x00, 0x1f, 0x1f}; /* = */
|
||||
static const ubyte g_chgt[7] = {0x17, 0x1b, 0x1d, 0x1e, 0x1d, 0x1b, 0x17}; /* > */
|
||||
static const ubyte g_chquest[7] = {0x11, 0x0e, 0x0d, 0x1b, 0x1b, 0x1f, 0x1b}; /* ? */
|
||||
static const ubyte g_chat[7] = {0x11, 0x0a, 0x04, 0x04, 0x05, 0x0a, 0x11}; /* @ */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chA[] = 0x11, 0x0e, 0x0e, 0x0e, 0x00, 0x0e, 0x0e}; /* A */
|
||||
static const ubyte g_chA[7] = {0x11, 0x0e, 0x0e, 0x0e, 0x00, 0x0e, 0x0e}; /* A */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chB[] = 0x01, 0x0e, 0x0e, 0x01, 0x0e, 0x0e, 0x01}; /* B */
|
||||
static const ubyte g_chB[7] = {0x01, 0x0e, 0x0e, 0x01, 0x0e, 0x0e, 0x01}; /* B */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chC[] = 0x11, 0x0e, 0x0f, 0x0f, 0x0f, 0x0e, 0x11}; /* C */
|
||||
|
||||
s#if 0 /* Not used */
|
||||
tatic const ubyte g_chD[] = 0x01, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x01}; /* D */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chE[] = 0x00, 0x0f, 0x0f, 0x01, 0x0f, 0x0f, 0x00}; /* E */
|
||||
static const ubyte g_chC[7] = {0x11, 0x0e, 0x0f, 0x0f, 0x0f, 0x0e, 0x11}; /* C */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chF[] = 0x00, 0x0f, 0x0f, 0x01, 0x0f, 0x0f, 0x0f}; /* F */
|
||||
static const ubyte g_chG[] = 0x11, 0x0e, 0x0f, 0x08, 0x0e, 0x0e, 0x11}; /* G */
|
||||
static const ubyte g_chD[7] = {0x01, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x01}; /* D */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chH[] = 0x0e, 0x0e, 0x0e, 0x00, 0x0e, 0x0e, 0x0e}; /* H */
|
||||
static const ubyte g_chI[] = 0x00, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x00}; /* I */
|
||||
static const ubyte g_chE[7] = {0x00, 0x0f, 0x0f, 0x01, 0x0f, 0x0f, 0x00}; /* E */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chJ[] = 0x00, 0x1d, 0x1d, 0x1d, 0x0d, 0x0d, 0x13}; /* J */
|
||||
static const ubyte g_chK[] = 0x0e, 0x0d, 0x0b, 0x07, 0x0b, 0x0d, 0x0e}; /* K */
|
||||
static const ubyte g_chL[] = 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x00}; /* L */
|
||||
static const ubyte g_chM[] = 0x0e, 0x04, 0x0a, 0x0a, 0x0e, 0x0e, 0x0e}; /* M */
|
||||
static const ubyte g_chN[] = 0x0e, 0x0e, 0x06, 0x0a, 0x0c, 0x0e, 0x0e}; /* N */
|
||||
static const ubyte g_chO[] = 0x11, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x11}; /* O */
|
||||
static const ubyte g_chP[] = 0x01, 0x0e, 0x0e, 0x01, 0x0f, 0x0f, 0x0f}; /* P */
|
||||
static const ubyte g_chQ[] = 0x11, 0x0e, 0x0e, 0x0e, 0x0a, 0x0c, 0x10}; /* Q */
|
||||
static const ubyte g_chF[7] = {0x00, 0x0f, 0x0f, 0x01, 0x0f, 0x0f, 0x0f}; /* F */
|
||||
static const ubyte g_chG[7] = {0x11, 0x0e, 0x0f, 0x08, 0x0e, 0x0e, 0x11}; /* G */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chR[] = 0x01, 0x0e, 0x0e, 0x01, 0x0b, 0x0d, 0x0e}; /* R */
|
||||
static const ubyte g_chS[] = 0x11, 0x0e, 0x0f, 0x11, 0x1e, 0x0e, 0x11}; /* S */
|
||||
static const ubyte g_chH[7] = {0x0e, 0x0e, 0x0e, 0x00, 0x0e, 0x0e, 0x0e}; /* H */
|
||||
static const ubyte g_chI[7] = {0x00, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x00}; /* I */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chT[] = 0x00, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b}; /* T */
|
||||
static const ubyte g_chU[] = 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x11}; /* U */
|
||||
static const ubyte g_chV[] = 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x15, 0x1b}; /* V */
|
||||
static const ubyte g_chW[] = 0x0e, 0x0e, 0x0a, 0x0a, 0x0a, 0x0a, 0x15}; /* W */
|
||||
static const ubyte g_chX[] = 0x0e, 0x0e, 0x15, 0x1b, 0x15, 0x0e, 0x0e}; /* X */
|
||||
static const ubyte g_chY[] = 0x0e, 0x0e, 0x15, 0x1b, 0x1b, 0x1b, 0x1b}; /* Y */
|
||||
static const ubyte g_chZ[] = 0x00, 0x1e, 0x1d, 0x1b, 0x17, 0x0f, 0x00}; /* Z */
|
||||
static const ubyte g_chlbrack[] = 0x03, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x03}; /* [ */
|
||||
static const ubyte g_chbslash[] = 0x1f, 0x0f, 0x17, 0x1b, 0x1d, 0x1e, 0x1f}; /* backslash */
|
||||
static const ubyte g_chrbrack[] = 0x1c, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1c}; /* ] */
|
||||
static const ubyte g_chcaret[] = 0x1b, 0x15, 0x0e, 0x1f, 0x1f, 0x1f, 0x1f}; /* ^ */
|
||||
static const ubyte g_chunder[] = 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00}; /* _ */
|
||||
static const ubyte g_chgrave[] = 0x1b, 0x1b, 0x1b, 0x1f, 0x1f, 0x1f, 0x1f}; /* ' */
|
||||
static const ubyte g_cha[] = 0x1f, 0x1f, 0x19, 0x16, 0x16, 0x16, 0x18}; /* a */
|
||||
static const ubyte g_chb[] = 0x17, 0x17, 0x11, 0x16, 0x16, 0x16, 0x11}; /* b */
|
||||
static const ubyte g_chc[] = 0x1f, 0x1f, 0x19, 0x16, 0x17, 0x16, 0x19}; /* c */
|
||||
static const ubyte g_chd[] = 0x1e, 0x1e, 0x18, 0x16, 0x16, 0x16, 0x18}; /* d */
|
||||
static const ubyte g_che[] = 0x1f, 0x1f, 0x19, 0x10, 0x17, 0x16, 0x19}; /* e */
|
||||
static const ubyte g_chf[] = 0x1d, 0x1a, 0x1b, 0x11, 0x1b, 0x1b, 0x1b}; /* f */
|
||||
static const ubyte g_chg[] = 0x1f, 0x19, 0x16, 0x16, 0x18, 0x16, 0x19}; /* g */
|
||||
static const ubyte g_chh[] = 0x17, 0x17, 0x11, 0x16, 0x16, 0x16, 0x16}; /* h */
|
||||
static const ubyte g_chi[] = 0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x1b, 0x1b}; /* i */
|
||||
static const ubyte g_chj[] = 0x1f, 0x1d, 0x1f, 0x1d, 0x1d, 0x1d, 0x13}; /* j */
|
||||
static const ubyte g_chk[] = 0x17, 0x17, 0x15, 0x13, 0x13, 0x15, 0x16}; /* k */
|
||||
static const ubyte g_chl[] = 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b}; /* l */
|
||||
static const ubyte g_chm[] = 0x1f, 0x1f, 0x05, 0x0a, 0x0a, 0x0a, 0x0a}; /* m */
|
||||
static const ubyte g_chn[] = 0x1f, 0x1f, 0x11, 0x16, 0x16, 0x16, 0x16}; /* n */
|
||||
static const ubyte g_cho[] = 0x1f, 0x1f, 0x19, 0x16, 0x16, 0x16, 0x19}; /* o */
|
||||
static const ubyte g_chp[] = 0x1f, 0x11, 0x16, 0x16, 0x11, 0x17, 0x17}; /* p */
|
||||
static const ubyte g_chq[] = 0x1f, 0x18, 0x16, 0x16, 0x18, 0x1e, 0x1e}; /* q */
|
||||
static const ubyte g_chr[] = 0x1f, 0x1f, 0x11, 0x16, 0x17, 0x17, 0x17}; /* r */
|
||||
static const ubyte g_chs[] = 0x1f, 0x1f, 0x18, 0x17, 0x19, 0x1e, 0x11}; /* s */
|
||||
static const ubyte g_cht[] = 0x1f, 0x1f, 0x1b, 0x11, 0x1b, 0x1b, 0x1b}; /* t */
|
||||
static const ubyte g_chu[] = 0x1f, 0x1f, 0x16, 0x16, 0x16, 0x16, 0x18}; /* u */
|
||||
static const ubyte g_chv[] = 0x1f, 0x1f, 0x16, 0x16, 0x16, 0x16, 0x19}; /* v */
|
||||
static const ubyte g_chw[] = 0x1f, 0x1f, 0x0a, 0x0a, 0x0a, 0x0a, 0x15}; /* w */
|
||||
static const ubyte g_chx[] = 0x1f, 0x1f, 0x0e, 0x15, 0x1b, 0x15, 0x0e}; /* x */
|
||||
static const ubyte g_chy[] = 0x1f, 0x1a, 0x1a, 0x1a, 0x1d, 0x1b, 0x17}; /* y */
|
||||
static const ubyte g_cha[] = 0x1f, 0x1f, 0x10, 0x1d, 0x1b, 0x17, 0x10}; /* z */
|
||||
static const ubyte g_chlbrace[] = 0x1d, 0x1b, 0x1b, 0x17, 0x1b, 0x1b, 0x1d}; /* { */
|
||||
static const ubyte g_chvbar[] = 0x1b, 0x1b, 0x1b, 0x1f, 0x1b, 0x1b, 0x1b}; /* | */
|
||||
static const ubyte g_chrbrace[] = 0x17, 0x1b, 0x1b, 0x1d, 0x1b, 0x1b, 0x17}; /* } */
|
||||
static const ubyte g_chtilde[] = 0x1f, 0x1a, 0x15, 0x1f, 0x1f, 0x1f, 0x1f}; /* ~ */
|
||||
static const ubyte g_chJ[7] = {0x00, 0x1d, 0x1d, 0x1d, 0x0d, 0x0d, 0x13}; /* J */
|
||||
static const ubyte g_chK[7] = {0x0e, 0x0d, 0x0b, 0x07, 0x0b, 0x0d, 0x0e}; /* K */
|
||||
static const ubyte g_chL[7] = {0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x00}; /* L */
|
||||
static const ubyte g_chM[7] = {0x0e, 0x04, 0x0a, 0x0a, 0x0e, 0x0e, 0x0e}; /* M */
|
||||
static const ubyte g_chN[7] = {0x0e, 0x0e, 0x06, 0x0a, 0x0c, 0x0e, 0x0e}; /* N */
|
||||
static const ubyte g_chO[7] = {0x11, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x11}; /* O */
|
||||
static const ubyte g_chP[7] = {0x01, 0x0e, 0x0e, 0x01, 0x0f, 0x0f, 0x0f}; /* P */
|
||||
static const ubyte g_chQ[7] = {0x11, 0x0e, 0x0e, 0x0e, 0x0a, 0x0c, 0x10}; /* Q */
|
||||
#endif
|
||||
|
||||
static const ubyte g_chR[7] = {0x01, 0x0e, 0x0e, 0x01, 0x0b, 0x0d, 0x0e}; /* R */
|
||||
static const ubyte g_chS[7] = {0x11, 0x0e, 0x0f, 0x11, 0x1e, 0x0e, 0x11}; /* S */
|
||||
|
||||
#if 0 /* Not used */
|
||||
static const ubyte g_chT[7] = {0x00, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b}; /* T */
|
||||
static const ubyte g_chU[7] = {0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x11}; /* U */
|
||||
static const ubyte g_chV[7] = {0x0e, 0x0e, 0x0e, 0x0e, 0x0e, 0x15, 0x1b}; /* V */
|
||||
static const ubyte g_chW[7] = {0x0e, 0x0e, 0x0a, 0x0a, 0x0a, 0x0a, 0x15}; /* W */
|
||||
static const ubyte g_chX[7] = {0x0e, 0x0e, 0x15, 0x1b, 0x15, 0x0e, 0x0e}; /* X */
|
||||
static const ubyte g_chY[7] = {0x0e, 0x0e, 0x15, 0x1b, 0x1b, 0x1b, 0x1b}; /* Y */
|
||||
static const ubyte g_chZ[7] = {0x00, 0x1e, 0x1d, 0x1b, 0x17, 0x0f, 0x00}; /* Z */
|
||||
static const ubyte g_chlbrack[7] = {0x03, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x03}; /* [ */
|
||||
static const ubyte g_chbslash[7] = {0x1f, 0x0f, 0x17, 0x1b, 0x1d, 0x1e, 0x1f}; /* backslash */
|
||||
static const ubyte g_chrbrack[7] = {0x1c, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1c}; /* ] */
|
||||
static const ubyte g_chcaret[7] = {0x1b, 0x15, 0x0e, 0x1f, 0x1f, 0x1f, 0x1f}; /* ^ */
|
||||
static const ubyte g_chunder[7] = {0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x1f, 0x00}; /* _ */
|
||||
static const ubyte g_chgrave[7] = {0x1b, 0x1b, 0x1b, 0x1f, 0x1f, 0x1f, 0x1f}; /* ' */
|
||||
static const ubyte g_cha[7] = {0x1f, 0x1f, 0x19, 0x16, 0x16, 0x16, 0x18}; /* a */
|
||||
static const ubyte g_chb[7] = {0x17, 0x17, 0x11, 0x16, 0x16, 0x16, 0x11}; /* b */
|
||||
static const ubyte g_chc[7] = {0x1f, 0x1f, 0x19, 0x16, 0x17, 0x16, 0x19}; /* c */
|
||||
static const ubyte g_chd[7] = {0x1e, 0x1e, 0x18, 0x16, 0x16, 0x16, 0x18}; /* d */
|
||||
static const ubyte g_che[7] = {0x1f, 0x1f, 0x19, 0x10, 0x17, 0x16, 0x19}; /* e */
|
||||
static const ubyte g_chf[7] = {0x1d, 0x1a, 0x1b, 0x11, 0x1b, 0x1b, 0x1b}; /* f */
|
||||
static const ubyte g_chg[7] = {0x1f, 0x19, 0x16, 0x16, 0x18, 0x16, 0x19}; /* g */
|
||||
static const ubyte g_chh[7] = {0x17, 0x17, 0x11, 0x16, 0x16, 0x16, 0x16}; /* h */
|
||||
static const ubyte g_chi[7] = {0x1f, 0x1f, 0x1b, 0x1f, 0x1b, 0x1b, 0x1b}; /* i */
|
||||
static const ubyte g_chj[7] = {0x1f, 0x1d, 0x1f, 0x1d, 0x1d, 0x1d, 0x13}; /* j */
|
||||
static const ubyte g_chk[7] = {0x17, 0x17, 0x15, 0x13, 0x13, 0x15, 0x16}; /* k */
|
||||
static const ubyte g_chl[7] = {0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b, 0x1b}; /* l */
|
||||
static const ubyte g_chm[7] = {0x1f, 0x1f, 0x05, 0x0a, 0x0a, 0x0a, 0x0a}; /* m */
|
||||
static const ubyte g_chn[7] = {0x1f, 0x1f, 0x11, 0x16, 0x16, 0x16, 0x16}; /* n */
|
||||
static const ubyte g_cho[7] = {0x1f, 0x1f, 0x19, 0x16, 0x16, 0x16, 0x19}; /* o */
|
||||
static const ubyte g_chp[7] = {0x1f, 0x11, 0x16, 0x16, 0x11, 0x17, 0x17}; /* p */
|
||||
static const ubyte g_chq[7] = {0x1f, 0x18, 0x16, 0x16, 0x18, 0x1e, 0x1e}; /* q */
|
||||
static const ubyte g_chr[7] = {0x1f, 0x1f, 0x11, 0x16, 0x17, 0x17, 0x17}; /* r */
|
||||
static const ubyte g_chs[7] = {0x1f, 0x1f, 0x18, 0x17, 0x19, 0x1e, 0x11}; /* s */
|
||||
static const ubyte g_cht[7] = {0x1f, 0x1f, 0x1b, 0x11, 0x1b, 0x1b, 0x1b}; /* t */
|
||||
static const ubyte g_chu[7] = {0x1f, 0x1f, 0x16, 0x16, 0x16, 0x16, 0x18}; /* u */
|
||||
static const ubyte g_chv[7] = {0x1f, 0x1f, 0x16, 0x16, 0x16, 0x16, 0x19}; /* v */
|
||||
static const ubyte g_chw[7] = {0x1f, 0x1f, 0x0a, 0x0a, 0x0a, 0x0a, 0x15}; /* w */
|
||||
static const ubyte g_chx[7] = {0x1f, 0x1f, 0x0e, 0x15, 0x1b, 0x15, 0x0e}; /* x */
|
||||
static const ubyte g_chy[7] = {0x1f, 0x1a, 0x1a, 0x1a, 0x1d, 0x1b, 0x17}; /* y */
|
||||
static const ubyte g_cha[7] = {0x1f, 0x1f, 0x10, 0x1d, 0x1b, 0x17, 0x10}; /* z */
|
||||
static const ubyte g_chlbrace[7] = {0x1d, 0x1b, 0x1b, 0x17, 0x1b, 0x1b, 0x1d}; /* { */
|
||||
static const ubyte g_chvbar[7] = {0x1b, 0x1b, 0x1b, 0x1f, 0x1b, 0x1b, 0x1b}; /* | */
|
||||
static const ubyte g_chrbrace[7] = {0x17, 0x1b, 0x1b, 0x1d, 0x1b, 0x1b, 0x17}; /* } */
|
||||
static const ubyte g_chtilde[7] = {0x1f, 0x1a, 0x15, 0x1f, 0x1f, 0x1f, 0x1f}; /* ~ */
|
||||
#endif
|
||||
|
||||
/* The current and previously selected glyph */
|
||||
@ -226,7 +228,7 @@ void up_ledinit(void)
|
||||
|
||||
void up_ledon(int led)
|
||||
{
|
||||
FAR const char *tmp = g_currglyph;
|
||||
FAR const ubyte *tmp = g_currglyph;
|
||||
switch (led)
|
||||
{
|
||||
case LED_STARTED:
|
||||
|
@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO+H
|
||||
#define _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO+H
|
||||
#ifndef _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO_H
|
||||
#define _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO_H
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@ -51,7 +51,7 @@
|
||||
#define EZ80_LEDGPIOCNTRL 0x800000 /* CS2: (See below) */
|
||||
#define EZ80_PLTFMSRAM 0xb80000 /* CS2: Platform SRAM (512Kb) */
|
||||
#define EZ80_MODULESRAM 0xc00000 /* CS1: Module SRAM (up to 2Mb) */
|
||||
#define EZ80_ONCHIPFLASH 0xffe000 /* On-chip SRAM (8Kb) */
|
||||
#define EZ80_ONCHIPSRAM 0xffe000 /* On-chip SRAM (8Kb) */
|
||||
|
||||
/* LED and port emulation memory register addresses */
|
||||
|
||||
@ -62,8 +62,8 @@
|
||||
#define EZ80_TRIGGERS EZ80_LEDCATHODE
|
||||
#define EZ80_GPIODATA 0x800002 /* RD/WR: GPIO data */
|
||||
|
||||
#define getmmreg(a) (*(ubyte*)(a))
|
||||
#define putmmreg(v,a) (*(ubyte*)(a) = (v))
|
||||
#define ez80_getmmreg8(a) (*(ubyte*)(a))
|
||||
#define ez80_putmmreg8(v,a) (*(ubyte*)(a) = (v))
|
||||
|
||||
/* LED anode/GPIO port output control bit definitions */
|
||||
|
||||
@ -142,4 +142,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO+H */
|
||||
#endif /* _CONFIGS_EZ80F910200ZCO_SRC_EZ80F910200ZCO_H */
|
||||
|
Loading…
Reference in New Issue
Block a user