CLEON
Version 1
Cloud-Offloaded GPS Receiver
Main Page
Related Pages
Data Structures
Files
File List
Globals
hal_gpio.h
Go to the documentation of this file.
1
7
#ifndef __HAL_GPIO_H__
8
#define __HAL_GPIO_H__
9
10
#define LED1_ON() LED1_PORT(OUT) &= ~BV(LED1_PIN)
11
#define LED1_OFF() LED1_PORT(OUT) |= BV(LED1_PIN)
12
#define LED1_TOGGLE() LED1_PORT(OUT) ^= BV(LED1_PIN)
13
14
#define LED2_ON() LED2_PORT(OUT) &= ~BV(LED2_PIN)
15
#define LED2_OFF() LED2_PORT(OUT) |= BV(LED2_PIN)
16
#define LED2_TOGGLE() LED2_PORT(OUT) ^= BV(LED2_PIN)
17
18
#define LED3_ON() LED3_PORT(OUT) &= ~BV(LED3_PIN)
19
#define LED3_OFF() LED3_PORT(OUT) |= BV(LED3_PIN)
20
#define LED3_TOGGLE() LED3_PORT(OUT) ^= BV(LED3_PIN)
21
22
#define LED4_ON() LED4_PORT(OUT) &= ~BV(LED4_PIN)
23
#define LED4_OFF() LED4_PORT(OUT) |= BV(LED4_PIN)
24
#define LED4_TOGGLE() LED4_PORT(OUT) ^= BV(LED4_PIN)
25
26
#define LED5_ON() LED5_PORT(OUT) &= ~BV(LED5_PIN)
27
#define LED5_OFF() LED5_PORT(OUT) |= BV(LED5_PIN)
28
#define LED5_TOGGLE() LED5_PORT(OUT) ^= BV(LED5_PIN)
29
30
#define LED6_ON() LED6_PORT(OUT) &= ~BV(LED6_PIN)
31
#define LED6_OFF() LED6_PORT(OUT) |= BV(LED6_PIN)
32
#define LED6_TOGGLE() LED6_PORT(OUT) ^= BV(LED6_PIN)
33
34
void
HAL_GPIO_Init
(
void
);
35
36
#endif
hal
hal_gpio.h
Generated on Tue May 28 2013 15:17:19 for CLEON by
1.8.2