Loading...
Searching...
No Matches
board.h File Reference

Board specific definitions for the mbed_lpc1768 board. More...

Detailed Description

Board specific definitions for the mbed_lpc1768 board.

Author
Oliver Hahm olive.nosp@m.r.ha.nosp@m.hm@in.nosp@m.ria..nosp@m.fr
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
#include "periph/gpio.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

LED pin definitions and handlers

#define LED0_PIN   GPIO_PIN(1, 18)
 
#define LED1_PIN   GPIO_PIN(1, 20)
 
#define LED2_PIN   GPIO_PIN(1, 21)
 
#define LED3_PIN   GPIO_PIN(1, 23)
 
#define LED0_ON   gpio_set(LED0_PIN)
 
#define LED0_OFF   gpio_clear(LED0_PIN)
 
#define LED0_TOGGLE   gpio_toggle(LED0_PIN)
 
#define LED1_ON   gpio_set(LED1_PIN)
 
#define LED1_OFF   gpio_clear(LED1_PIN)
 
#define LED1_TOGGLE   gpio_toggle(LED1_PIN)
 
#define LED2_ON   gpio_set(LED2_PIN)
 
#define LED2_OFF   gpio_clear(LED2_PIN)
 
#define LED2_TOGGLE   gpio_toggle(LED2_PIN)
 
#define LED3_ON   gpio_set(LED3_PIN)
 
#define LED3_OFF   gpio_clear(LED3_PIN)
 
#define LED3_TOGGLE   gpio_toggle(LED3_PIN)
 

Macro Definition Documentation

◆ LED0_OFF

#define LED0_OFF   gpio_clear(LED0_PIN)

Definition at line 42 of file board.h.

◆ LED0_ON

#define LED0_ON   gpio_set(LED0_PIN)

Definition at line 41 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO_PIN(1, 18)

Definition at line 36 of file board.h.

◆ LED0_TOGGLE

#define LED0_TOGGLE   gpio_toggle(LED0_PIN)

Definition at line 43 of file board.h.

◆ LED1_OFF

#define LED1_OFF   gpio_clear(LED1_PIN)

Definition at line 45 of file board.h.

◆ LED1_ON

#define LED1_ON   gpio_set(LED1_PIN)

Definition at line 44 of file board.h.

◆ LED1_PIN

#define LED1_PIN   GPIO_PIN(1, 20)

Definition at line 37 of file board.h.

◆ LED1_TOGGLE

#define LED1_TOGGLE   gpio_toggle(LED1_PIN)

Definition at line 46 of file board.h.

◆ LED2_OFF

#define LED2_OFF   gpio_clear(LED2_PIN)

Definition at line 48 of file board.h.

◆ LED2_ON

#define LED2_ON   gpio_set(LED2_PIN)

Definition at line 47 of file board.h.

◆ LED2_PIN

#define LED2_PIN   GPIO_PIN(1, 21)

Definition at line 38 of file board.h.

◆ LED2_TOGGLE

#define LED2_TOGGLE   gpio_toggle(LED2_PIN)

Definition at line 49 of file board.h.

◆ LED3_OFF

#define LED3_OFF   gpio_clear(LED3_PIN)

Definition at line 51 of file board.h.

◆ LED3_ON

#define LED3_ON   gpio_set(LED3_PIN)

Definition at line 50 of file board.h.

◆ LED3_PIN

#define LED3_PIN   GPIO_PIN(1, 23)

Definition at line 39 of file board.h.

◆ LED3_TOGGLE

#define LED3_TOGGLE   gpio_toggle(LED3_PIN)

Definition at line 52 of file board.h.