CLEON  Version 1
Cloud-Offloaded GPS Receiver
hal_gpio.h File Reference

GPIO configuration. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED1_ON()   LED1_PORT(OUT) &= ~BV(LED1_PIN)
 
#define LED1_OFF()   LED1_PORT(OUT) |= BV(LED1_PIN)
 
#define LED1_TOGGLE()   LED1_PORT(OUT) ^= BV(LED1_PIN)
 
#define LED2_ON()   LED2_PORT(OUT) &= ~BV(LED2_PIN)
 
#define LED2_OFF()   LED2_PORT(OUT) |= BV(LED2_PIN)
 
#define LED2_TOGGLE()   LED2_PORT(OUT) ^= BV(LED2_PIN)
 
#define LED3_ON()   LED3_PORT(OUT) &= ~BV(LED3_PIN)
 
#define LED3_OFF()   LED3_PORT(OUT) |= BV(LED3_PIN)
 
#define LED3_TOGGLE()   LED3_PORT(OUT) ^= BV(LED3_PIN)
 
#define LED4_ON()   LED4_PORT(OUT) &= ~BV(LED4_PIN)
 
#define LED4_OFF()   LED4_PORT(OUT) |= BV(LED4_PIN)
 
#define LED4_TOGGLE()   LED4_PORT(OUT) ^= BV(LED4_PIN)
 
#define LED5_ON()   LED5_PORT(OUT) &= ~BV(LED5_PIN)
 
#define LED5_OFF()   LED5_PORT(OUT) |= BV(LED5_PIN)
 
#define LED5_TOGGLE()   LED5_PORT(OUT) ^= BV(LED5_PIN)
 
#define LED6_ON()   LED6_PORT(OUT) &= ~BV(LED6_PIN)
 
#define LED6_OFF()   LED6_PORT(OUT) |= BV(LED6_PIN)
 
#define LED6_TOGGLE()   LED6_PORT(OUT) ^= BV(LED6_PIN)
 

Functions

void HAL_GPIO_Init (void)
 Initializing GPIO.
 

Detailed Description

GPIO configuration.

Definition in file hal_gpio.h.

Macro Definition Documentation

#define LED1_OFF ( )    LED1_PORT(OUT) |= BV(LED1_PIN)

Definition at line 11 of file hal_gpio.h.

#define LED1_ON ( )    LED1_PORT(OUT) &= ~BV(LED1_PIN)

Definition at line 10 of file hal_gpio.h.

#define LED1_TOGGLE ( )    LED1_PORT(OUT) ^= BV(LED1_PIN)

Definition at line 12 of file hal_gpio.h.

#define LED2_OFF ( )    LED2_PORT(OUT) |= BV(LED2_PIN)

Definition at line 15 of file hal_gpio.h.

#define LED2_ON ( )    LED2_PORT(OUT) &= ~BV(LED2_PIN)

Definition at line 14 of file hal_gpio.h.

#define LED2_TOGGLE ( )    LED2_PORT(OUT) ^= BV(LED2_PIN)

Definition at line 16 of file hal_gpio.h.

#define LED3_OFF ( )    LED3_PORT(OUT) |= BV(LED3_PIN)

Definition at line 19 of file hal_gpio.h.

#define LED3_ON ( )    LED3_PORT(OUT) &= ~BV(LED3_PIN)

Definition at line 18 of file hal_gpio.h.

#define LED3_TOGGLE ( )    LED3_PORT(OUT) ^= BV(LED3_PIN)

Definition at line 20 of file hal_gpio.h.

#define LED4_OFF ( )    LED4_PORT(OUT) |= BV(LED4_PIN)

Definition at line 23 of file hal_gpio.h.

#define LED4_ON ( )    LED4_PORT(OUT) &= ~BV(LED4_PIN)

Definition at line 22 of file hal_gpio.h.

#define LED4_TOGGLE ( )    LED4_PORT(OUT) ^= BV(LED4_PIN)

Definition at line 24 of file hal_gpio.h.

#define LED5_OFF ( )    LED5_PORT(OUT) |= BV(LED5_PIN)

Definition at line 27 of file hal_gpio.h.

#define LED5_ON ( )    LED5_PORT(OUT) &= ~BV(LED5_PIN)

Definition at line 26 of file hal_gpio.h.

#define LED5_TOGGLE ( )    LED5_PORT(OUT) ^= BV(LED5_PIN)

Definition at line 28 of file hal_gpio.h.

#define LED6_OFF ( )    LED6_PORT(OUT) |= BV(LED6_PIN)

Definition at line 31 of file hal_gpio.h.

#define LED6_ON ( )    LED6_PORT(OUT) &= ~BV(LED6_PIN)

Definition at line 30 of file hal_gpio.h.

#define LED6_TOGGLE ( )    LED6_PORT(OUT) ^= BV(LED6_PIN)

Definition at line 32 of file hal_gpio.h.

Function Documentation

void HAL_GPIO_Init ( void  )

Initializing GPIO.

Returns
void
Parameters
void

Definition at line 53 of file hal_gpio.c.

Here is the caller graph for this function: