References Functions: | Spi7SegClose() | nut/dev/spi_7seg.c |
Spi7SegIOCtl() | nut/dev/spi_7seg.c | |
Spi7SegOpen() | nut/dev/spi_7seg.c | |
Spi7segInit() | nut/dev/spi_7seg.c | |
Spi7segWrite() | nut/dev/spi_7seg.c | |
References Variables: | nodeSpi7SEG | nut/dev/spi_7seg.c |
#define SEG7_DIGITS 4
#define SEG7_REVERSE
#define SEGR_NOOP 0x00
#define SEGR_DIG0 0x01
#define SEGR_DIG1 0x02
#define SEGR_DIG2 0x03
#define SEGR_DIG3 0x04
#define SEGR_DIG4 0x05
#define SEGR_DIG5 0x06
#define SEGR_DIG6 0x07
#define SEGR_DIG7 0x08
#define SEGR_DEC_MODE 0x09
#define SEGR_INTENSITY 0x0a
#define SEGR_SCAN_LIM 0x0b
#define SEGR_SHUTDOWN 0x0c
#define SEGR_FEATURE 0x0e
#define SEGR_DSP_TEST 0x0f
#define SHUTDOWN_RESET 0x00
#define SHUTDOWN_SOFT 0x80
#define NORM_OP_RESET 0x01
#define NORM_OP_SOFT 0x81
#define NO_DIG_DECODE 0x00
#define DIG_0_DECODE 0x01
#define DIG_0_3_DECODE 0x0f
#define DIG_0_7_DECODE 0xff
#define SEGF_EXTCLK 0x01
#define SEGF_REGRES 0x02
#define SEGF_DECSEL 0x04
#define SEGF_SPIEN 0x08
#define SEGF_BLINK 0x10
#define SEGF_BLSLOW 0x20
#define SEGF_BLSYNC 0x40
#define SEGF_BLSTART 0x80
#define SEGF_BLMASK
#define TEST_MODE_OFF 0x00
#define TEST_MODE_ON 0x01
#define DISPLAY_LIMIT 2
#define SPI_RATE_DISP_7SEG 400000
#define SPI_MODE_DISP_7SEG SPI_MODE_3
#define ICMD_UPDATE 0x01
#define ICMD_INTENS 0x02
#define ICMD_ESCAPE 0x80
struct | |
{ | |
uint_fast8_t digit[4]; | |
uint_fast8_t dip; | |
uint_fast8_t freg; | |
uint_fast8_t icmd; | |
} |
Visible in: | nut/dev/spi_7seg.c | |
Used in: | nut/dev/spi_7seg.c |
Visible in: | nut/dev/spi_7seg.c |
Used in: | Spi7segPutc() |
Calls: | malloc() | nut/crt/malloc.c |
Used in: | nut/dev/spi_7seg.c |
Calls: | disp7segCommand() | nut/dev/spi_7seg.c |
Called by: | Spi7segDot() | nut/dev/spi_7seg.c |
Spi7segPutc() | nut/dev/spi_7seg.c |
Prototyped in: | nut/include/dev/spi_7seg.h | |
Calls: | Spi7SegPush() | nut/dev/spi_7seg.c |
Calls: | disp7segCommand() | nut/dev/spi_7seg.c |
malloc() | nut/crt/malloc.c | |
memset() | nut/c/string/memset.c | |
Used in: | nut/dev/spi_7seg.c |
Calls: | Spi7SegPush() | nut/dev/spi_7seg.c |
disp7segCommand() | nut/dev/spi_7seg.c | |
memset() | nut/c/string/memset.c | |
Called by: | Spi7segWrite() | nut/dev/spi_7seg.c |
References Variables: | Seg7CharTab | nut/dev/spi_7seg.c |
Calls: | Spi7segPutc() | nut/dev/spi_7seg.c |
Used in: | nut/dev/spi_7seg.c |
Calls: | free() | nut/crt/malloc.c |
Used in: | nut/dev/spi_7seg.c |
Used in: | nut/dev/spi_7seg.c |
Called by: | Spi7SegPush() | nut/dev/spi_7seg.c |
Spi7segInit() | nut/dev/spi_7seg.c | |
Spi7segPutc() | nut/dev/spi_7seg.c |