|
rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
|
On board LEDs peripheral driver. More...
#include "gpio.h"Go to the source code of this file.
Macros | |
LEDs defines | |
This values can be used to set/clear leds in the driver functions | |
| #define | RFLPC_LED_1 (1 << RFLPC_PIN_GET_PIN(RFLPC_LED_1_PIN)) |
| LED 1. | |
| #define | RFLPC_LED_2 (1 << RFLPC_PIN_GET_PIN(RFLPC_LED_2_PIN)) |
| LED 2. | |
| #define | RFLPC_LED_3 (1 << RFLPC_PIN_GET_PIN(RFLPC_LED_3_PIN)) |
| LED 3. | |
| #define | RFLPC_LED_4 (1 << RFLPC_PIN_GET_PIN(RFLPC_LED_4_PIN)) |
| LED 4. | |
Functions | |
| static void | rflpc_led_init () |
| Inits the GPIO port to use the leds. More... | |
| static void | rflpc_led_set (uint32_t l) |
| Turns the given led(s) on. | |
| static void | rflpc_led_clr (uint32_t l) |
| Clears the given led(s) (turn them off) | |
| static void | rflpc_led_val (uint32_t l) |
| Turns on the leds included in the mask. | |
| static void | rflpc_led_binary_value (uint8_t v) |
| Turns the led to reflect a binary 4 digit number. More... | |
On board LEDs peripheral driver.
Definition in file leds.h.