Welcome to mirror list, hosted at ThFree Co, Russian Federation.

defines.h - github.com/ClusterM/ibutton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f52d25c27e6f46923f530e392174f8fa9acd84be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#define F_CPU 8000000UL
#define UART_BAUD 19200

#define DEBUG

#define LED_TOP_PORT C
#define LED_TOP_PIN 0
#define LED_TOP_RIGHT_PORT C
#define LED_TOP_RIGHT_PIN 1
#define LED_BOTTOM_RIGHT_PORT B
#define LED_BOTTOM_RIGHT_PIN 1
#define LED_BOTTOM_PORT B
#define LED_BOTTOM_PIN 2
#define LED_BOTTOM_LEFT_PORT B
#define LED_BOTTOM_LEFT_PIN 3
#define LED_TOP_LEFT_PORT B
#define LED_TOP_LEFT_PIN 5
#define LED_CENTER_PORT B
#define LED_CENTER_PIN 4

#define BUTTON_PORT D
#define BUTTON_PIN 3

#define USB_DETECT_PORT D
#define USB_DETECT_PIN 2

#define LINE_ENABLE_PORT B
#define LINE_ENABLE_PIN 6

#define CYFRAL_PULLUP_PORT B
#define CYFRAL_PULLUP_PIN 7

#define CYFRAL_REFERENCE_PORT B
#define CYFRAL_REFERENCE_PIN 0