diff options
author | jaseg <git@jaseg.net> | 2018-01-05 11:39:20 +0100 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-01-05 11:39:20 +0100 |
commit | 31fc78d0e00f9c82f03c88367a7e23b2df918ca6 (patch) | |
tree | 4a57797df736e40574b1448afe95c049df13022b /fw/transpose.h | |
parent | a70ad99b36b5212525cc6c1957802d3eab8e0d99 (diff) | |
download | 7seg-31fc78d0e00f9c82f03c88367a7e23b2df918ca6.tar.gz 7seg-31fc78d0e00f9c82f03c88367a7e23b2df918ca6.tar.bz2 7seg-31fc78d0e00f9c82f03c88367a7e23b2df918ca6.zip |
Add some documentation
Diffstat (limited to 'fw/transpose.h')
-rw-r--r-- | fw/transpose.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fw/transpose.h b/fw/transpose.h index 389071c..467b12d 100644 --- a/fw/transpose.h +++ b/fw/transpose.h @@ -15,6 +15,7 @@ enum { FRAME_SIZE_WORDS = NROWS*NCOLS*NSEGMENTS/32, }; +/* Framebuffer data format pre-formatted for BCM ISRs */ struct framebuf { /* Multiplexing order: first Digits, then Time/bits, last Segments */ union { @@ -28,6 +29,7 @@ struct framebuf { uint8_t brightness; /* 0 or 1; controls global brighntess control */ }; +/* Efficiently-packed UART data format */ struct data_format { union { uint8_t high[8]; |