Project 4
Seven-Segment Display with I2C interface
|
Neff Site |
Header file for the HOLTEK HT16K33 LED Controller Driver with keyscan. More...
Go to the source code of this file.
Macros | |
#define | HT16K33_DRAM_SIZE 16 |
#define | HT16K33_SET_DRAM_ADDR 0x00 |
#define | HT16K33_DRAM_ADDR(ADDR) ((ADDR) & 0x0F) |
#define | HT16K33_SYSTEM_SETUP 0x20 |
#define | HT16K33_OSCILLATOR_ON 0x01 |
#define | HT16K33_OSCILLATOR_OFF 0x00 |
#define | HT16K33_READ_KEY_ADDR 0x40 |
#define | HT16K33_READ_FLAG_ADDR 0x60 |
#define | HT16K33_DISPLAY_SETUP 0x80 |
#define | HT16K33_BLINK_OFF 0x00 |
#define | HT16K33_BLINK_FAST 0x02 |
#define | HT16K33_BLINK_MED 0x04 |
#define | HT16K33_BLINK_SLOW 0x06 |
#define | HT16K33_DISPLAY_OFF 0x00 |
#define | HT16K33_DISPLAY_ON 0x01 |
#define | HT16K33_ROWINT_SET 0xA0 |
#define | HT16K33_SET_ROW 0x00 |
#define | HT16K33_SET_INT_ACTIVE_LOW 0x1 |
#define | HT16K33_SET_INT_ACTIVE_HIW 0x3 |
#define | HT16K33_SET_DIMMING 0xE0 |
#define | HT16K33_DUTY16(DUTY) (((DUTY)-1) & 0x0F) |
Header file for the HOLTEK HT16K33 LED Controller Driver with keyscan.
This file defines mnemonics for the commands of the HT16K33 controller. Please see page 30 of the HT16K33 data sheet for the details.
#define HT16K33_BLINK_FAST 0x02 |
#define HT16K33_BLINK_MED 0x04 |
#define HT16K33_BLINK_OFF 0x00 |
#define HT16K33_BLINK_SLOW 0x06 |
#define HT16K33_DISPLAY_OFF 0x00 |
#define HT16K33_DISPLAY_ON 0x01 |
#define HT16K33_DISPLAY_SETUP 0x80 |
#define HT16K33_DRAM_ADDR | ( | ADDR | ) | ((ADDR) & 0x0F) |
#define HT16K33_DRAM_SIZE 16 |
#define HT16K33_DUTY16 | ( | DUTY | ) | (((DUTY)-1) & 0x0F) |
#define HT16K33_OSCILLATOR_OFF 0x00 |
#define HT16K33_OSCILLATOR_ON 0x01 |
#define HT16K33_READ_FLAG_ADDR 0x60 |
#define HT16K33_READ_KEY_ADDR 0x40 |
#define HT16K33_ROWINT_SET 0xA0 |
#define HT16K33_SET_DIMMING 0xE0 |
#define HT16K33_SET_DRAM_ADDR 0x00 |
#define HT16K33_SET_INT_ACTIVE_HIW 0x3 |
#define HT16K33_SET_INT_ACTIVE_LOW 0x1 |
#define HT16K33_SET_ROW 0x00 |
#define HT16K33_SYSTEM_SETUP 0x20 |
Contact | Generated by 1.8.13 |