Lines Matching +full:7 +full:- +full:bit
4 * SPDX-License-Identifier: Apache-2.0
18 /* Command: CMD:7 | TRANSACTION:6:5 | ADDR/SF:4:0 */
19 #define TSL2591_NORMAL_CMD (BIT(7) | BIT(5))
20 #define TSL2591_SPECIAL_CMD (BIT(7) | BIT(6) | BIT(5))
23 /* Enable: (0x00): NPIEN:7 | SAI:6 | Reserved:5 | AIEN:4 | Reserved:3:2 | AEN:1 | PON:0 */
24 #define TSL2591_POWER_MASK (BIT(1) | BIT(0))
25 #define TSL2591_POWER_ON (BIT(1) | BIT(0))
27 #define TSL2591_AEN_MASK (BIT(1))
28 #define TSL2591_AEN_ON (BIT(1))
30 #define TSL2591_AIEN_MASK (BIT(4))
31 #define TSL2591_AIEN_ON (BIT(4))
34 /* Config/Control: (0x01): SRESET:7 | Reserved:6 | AGAIN:5:4 | Reserved:3 | ATIME:2:0 */
35 #define TSL2591_SRESET (BIT(7))
36 #define TSL2591_AGAIN_MASK (BIT(5) | BIT(4))
37 #define TSL2591_ATIME_MASK (BIT(2) | BIT(1) | BIT(0))
39 /* Status: (0x13): Reserved:7:6 | NPINTR:5 | AINT:4 | Reserved:3:1 | AVALID:0 */
40 #define TSL2591_AVALID_MASK (BIT(0))