#include "ht1632.h"
Go to the source code of this file.
Functions | |
void | ht1632_fill (uns8 colour) |
void | ht1632_fill2 (uns8 colour) |
void | ht1632_init (uns8 hw_config) |
void | ht1632_send_command (uns8 command) |
void | ht1632_set_brightness (uns8 brightness) |
void | ht1632_set_pixel (uns8 x, uns8 y, uns8 colour) |
void | ht1632_setup_io () |
void | ht1632_write (uns8 mem_addr, uns8 data) |
void ht1632_fill | ( | uns8 | colour | ) |
Definition at line 326 of file ht1632.c.
References ht1632_write(), and uns8.
void ht1632_fill2 | ( | uns8 | colour | ) |
Definition at line 341 of file ht1632.c.
References clear_pin, HT1632_CMD_LEDS_OFF, HT1632_CMD_LEDS_ON, ht1632_send_command(), set_pin, and uns16.
void ht1632_init | ( | uns8 | hw_config | ) |
Definition at line 75 of file ht1632.c.
References HT1632_CMD_CLK_MASTER_MODE, HT1632_CMD_LEDS_ON, HT1632_CMD_SYS_DISABLE, HT1632_CMD_SYS_ENABLE, and ht1632_send_command().
Referenced by drv_init().
void ht1632_send_command | ( | uns8 | command | ) |
Definition at line 86 of file ht1632.c.
References clear_pin, set_pin, and uns8.
Referenced by ht1632_fill2(), ht1632_init(), and ht1632_set_brightness().
void ht1632_set_brightness | ( | uns8 | brightness | ) |
Definition at line 206 of file ht1632.c.
References ht1632_send_command().
void ht1632_set_pixel | ( | uns8 | x, | |
uns8 | y, | |||
uns8 | colour | |||
) |
Definition at line 211 of file ht1632.c.
References clear_pin, make_input, make_output, set_pin, test_pin, and uns8.
void ht1632_setup_io | ( | ) |
Definition at line 41 of file ht1632.c.
References make_output, and set_pin.
Referenced by drv_setup_io().
void ht1632_write | ( | uns8 | mem_addr, | |
uns8 | data | |||
) |
Definition at line 142 of file ht1632.c.
References change_pin_var, clear_pin, set_pin, and uns8.
Referenced by ht1632_fill().