ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
1.0
ESP8266ILI9341DisplayProject
Main Page
Related Pages
Data Structures
Files
File List
Globals
esp8266
bits.h
Go to the documentation of this file.
1
13
#ifndef _BITS_H_
14
#define _BITS_H_
15
17
#define BIT_SET(x,y) (x |= (1 << (y)))
18
#define BIT_CLR(x,y) (x &= ~(1 << (y)))
19
#define BIT_TST(x,y) ((x & (1 << (y))) ? (int) 1 : (int) 0)
20
21
#ifdef AVR
22
#define BIT0 0
23
#define BIT1 1
24
#define BIT2 2
25
#define BIT3 3
26
#define BIT4 4
27
#define BIT5 5
28
#define BIT6 6
29
#define BIT7 7
30
31
#define BIT8 8
32
#define BIT9 9
33
#define BIT10 10
34
#define BIT11 11
35
#define BIT12 12
36
#define BIT13 13
37
#define BIT14 14
38
#define BIT15 15
39
#endif // AVR
40
41
42
#endif // ifndef _BITS_H_
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by
1.8.11