ntrx More...
Go to the source code of this file.
Defines | |
| #define | ESC_CHAR "\x1B" |
| #define | CLR_7SEG ESC_CHAR "c" |
| #define | BLS_7SEG ESC_CHAR "b" |
| #define | BLF_7SEG ESC_CHAR "f" |
| #define | NOR_7SEG ESC_CHAR "n" |
| #define | HOME_7SEG ESC_CHAR "h" |
| #define | TEST_7SEG ESC_CHAR "t" |
| #define | INT_7SEG ESC_CHAR "i" |
| #define | DOT_7SEG_CLR 0 |
| #define | DOT_7SEG_SET 1 |
| #define | DOT_7SEG_FLIP 2 |
Functions | |
| void | Spi7segDot (NUTDEVICE *dev, uint8_t pos, uint8_t act) |
| File Handle for 7-Sefgment Display. | |
| int | Spi7segCommand (NUTDEVICE *dev, uint8_t addr, const void *txbuf, void *rxbuf, int xlen) |
Variables | |
| NUTSPINODE | nodeSpi7SEG |
| 7seg SPI node implementation structure. | |
| NUTDEVICE | devSpi7SEG |
| 7seg device implementation structure. | |
ntrx
* $Id: spi_ntrx.h$ *
| #define ESC_CHAR "\x1B" |
| #define CLR_7SEG ESC_CHAR "c" |
| #define BLS_7SEG ESC_CHAR "b" |
| #define BLF_7SEG ESC_CHAR "f" |
| #define NOR_7SEG ESC_CHAR "n" |
| #define HOME_7SEG ESC_CHAR "h" |
| #define TEST_7SEG ESC_CHAR "t" |
| #define INT_7SEG ESC_CHAR "i" |
| #define DOT_7SEG_CLR 0 |
Referenced by Spi7segDot().
| #define DOT_7SEG_SET 1 |
Referenced by Spi7segDot().
| #define DOT_7SEG_FLIP 2 |
Referenced by Spi7segDot().
File Handle for 7-Sefgment Display.
| pos | Selects the digit. |
| act | Selects the action for the digits decimal dot. |
References _NUTDEVICE::dev_dcb, DCB_7SEG::digit, DOT_7SEG_CLR, DOT_7SEG_FLIP, DOT_7SEG_SET, NULL, NUTASSERT, SEG7_DIGITS, and Spi7SegPush().
7seg SPI node implementation structure.
7seg device implementation structure.