Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
display7seg.h File Reference

Go to the source code of this file.

Macros

#define D7S_IOC   'p'
 
#define D7SIOCRD   _IOR(D7S_IOC, 0x45, int) /* Read device state */
 
#define D7SIOCWR   _IOW(D7S_IOC, 0x46, int) /* Write device state */
 
#define D7SIOCTM   _IO (D7S_IOC, 0x47) /* Translate mode (FLIP)*/
 
#define D7S_POINT   (1 << 7) /* Decimal point*/
 
#define D7S_ALARM   (1 << 6) /* Alarm LED */
 
#define D7S_FLIP   (1 << 5) /* Flip display */
 
#define D7S_0   0x00 /* Numerals 0-9 */
 
#define D7S_1   0x01
 
#define D7S_2   0x02
 
#define D7S_3   0x03
 
#define D7S_4   0x04
 
#define D7S_5   0x05
 
#define D7S_6   0x06
 
#define D7S_7   0x07
 
#define D7S_8   0x08
 
#define D7S_9   0x09
 
#define D7S_A   0x0A /* Letters A-F, H, L, P */
 
#define D7S_B   0x0B
 
#define D7S_C   0x0C
 
#define D7S_D   0x0D
 
#define D7S_E   0x0E
 
#define D7S_F   0x0F
 
#define D7S_H   0x10
 
#define D7S_E2   0x11
 
#define D7S_L   0x12
 
#define D7S_P   0x13
 
#define D7S_SEGA   0x14 /* Individual segments */
 
#define D7S_SEGB   0x15
 
#define D7S_SEGC   0x16
 
#define D7S_SEGD   0x17
 
#define D7S_SEGE   0x18
 
#define D7S_SEGF   0x19
 
#define D7S_SEGG   0x1A
 
#define D7S_SEGABFG   0x1B /* Segment groupings */
 
#define D7S_SEGCDEG   0x1C
 
#define D7S_SEGBCEF   0x1D
 
#define D7S_SEGADG   0x1E
 
#define D7S_BLANK   0x1F /* Clear all segments */
 
#define D7S_MIN_VAL   0x0
 
#define D7S_MAX_VAL   0x1F
 

Macro Definition Documentation

#define D7S_0   0x00 /* Numerals 0-9 */

Definition at line 43 of file display7seg.h.

#define D7S_1   0x01

Definition at line 44 of file display7seg.h.

#define D7S_2   0x02

Definition at line 45 of file display7seg.h.

#define D7S_3   0x03

Definition at line 46 of file display7seg.h.

#define D7S_4   0x04

Definition at line 47 of file display7seg.h.

#define D7S_5   0x05

Definition at line 48 of file display7seg.h.

#define D7S_6   0x06

Definition at line 49 of file display7seg.h.

#define D7S_7   0x07

Definition at line 50 of file display7seg.h.

#define D7S_8   0x08

Definition at line 51 of file display7seg.h.

#define D7S_9   0x09

Definition at line 52 of file display7seg.h.

#define D7S_A   0x0A /* Letters A-F, H, L, P */

Definition at line 53 of file display7seg.h.

#define D7S_ALARM   (1 << 6) /* Alarm LED */

Definition at line 40 of file display7seg.h.

#define D7S_B   0x0B

Definition at line 54 of file display7seg.h.

#define D7S_BLANK   0x1F /* Clear all segments */

Definition at line 74 of file display7seg.h.

#define D7S_C   0x0C

Definition at line 55 of file display7seg.h.

#define D7S_D   0x0D

Definition at line 56 of file display7seg.h.

#define D7S_E   0x0E

Definition at line 57 of file display7seg.h.

#define D7S_E2   0x11

Definition at line 60 of file display7seg.h.

#define D7S_F   0x0F

Definition at line 58 of file display7seg.h.

#define D7S_FLIP   (1 << 5) /* Flip display */

Definition at line 41 of file display7seg.h.

#define D7S_H   0x10

Definition at line 59 of file display7seg.h.

#define D7S_IOC   'p'

Definition at line 13 of file display7seg.h.

#define D7S_L   0x12

Definition at line 61 of file display7seg.h.

#define D7S_MAX_VAL   0x1F

Definition at line 77 of file display7seg.h.

#define D7S_MIN_VAL   0x0

Definition at line 76 of file display7seg.h.

#define D7S_P   0x13

Definition at line 62 of file display7seg.h.

#define D7S_POINT   (1 << 7) /* Decimal point*/

Definition at line 39 of file display7seg.h.

#define D7S_SEGA   0x14 /* Individual segments */

Definition at line 63 of file display7seg.h.

#define D7S_SEGABFG   0x1B /* Segment groupings */

Definition at line 70 of file display7seg.h.

#define D7S_SEGADG   0x1E

Definition at line 73 of file display7seg.h.

#define D7S_SEGB   0x15

Definition at line 64 of file display7seg.h.

#define D7S_SEGBCEF   0x1D

Definition at line 72 of file display7seg.h.

#define D7S_SEGC   0x16

Definition at line 65 of file display7seg.h.

#define D7S_SEGCDEG   0x1C

Definition at line 71 of file display7seg.h.

#define D7S_SEGD   0x17

Definition at line 66 of file display7seg.h.

#define D7S_SEGE   0x18

Definition at line 67 of file display7seg.h.

#define D7S_SEGF   0x19

Definition at line 68 of file display7seg.h.

#define D7S_SEGG   0x1A

Definition at line 69 of file display7seg.h.

#define D7SIOCRD   _IOR(D7S_IOC, 0x45, int) /* Read device state */

Definition at line 15 of file display7seg.h.

#define D7SIOCTM   _IO (D7S_IOC, 0x47) /* Translate mode (FLIP)*/

Definition at line 17 of file display7seg.h.

#define D7SIOCWR   _IOW(D7S_IOC, 0x46, int) /* Write device state */

Definition at line 16 of file display7seg.h.