Contiki 3.x
Files | Functions
LED driver

LED driver implementation for the FRDM-KL25Z. More...

Files

file  leds-arch.c
 LED driver implementation for the FRDM-KL25Z.
 

Functions

void leds_arch_init (void)
 Initialise the required GPIO pins. More...
 

Detailed Description

LED driver implementation for the FRDM-KL25Z.

Function Documentation

void leds_arch_init ( void  )

Initialise the required GPIO pins.

Leds implementation.

The FRDM-KL25Z has a tri-colour LED: Red is connected to PTB18 Green is connected to PTB19 Blue is connected to PTD1

Definition at line 35 of file leds-arch.c.

References gpio_set_output(), port_conf_pin(), and port_pin_to_mask().