1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/avr-rss2/led_init.c
Robert Olsson c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00

30 lines
583 B
C

/*
* Copyright (C) 2019 Robert Olsson <roolss@kth.se>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup boards_avr-rss2
* @{
*
* @file
* @brief Board specific LED initialization
* @author Robert Olsson <roolss@kth.se>
*
*
* @}
*/
#include "board.h"
void led_init(void)
{
/* Ports Pins as Output */
LED_PORT_DDR |= LED1_MASK | LED0_MASK;
/* All LEDs OFF */
LED_PORT |= (LED1_MASK | LED0_MASK);
}