Microchip® Advanced Software Framework

atmega256rfr2_xplained_pro.h File Reference

ATmega256RFR2 Xplained Pro board header file.

This file contains definitions and services related to the features of the ATmega256RFR2 Xplained Pro board.

To use this board, define BOARD= ATMEGA256RFR2_XPLAINED_PRO.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"
#include "led.h"

Macros

#define BOARD_NAME   "ATMEGA256RFR2-XPRO"
 
#define MCU_SOC_NAME   "ATMEGA256RFR2"
 
GPIO Connections of LED

LED0 is connected to PORTB pin 4

#define LED_ON_BOARD   IOPORT_CREATE_PIN(PORTB, 4)
 
#define LED0_GPIO   LED_ON_BOARD
 
#define LED0   LED0_GPIO
 
#define LED_COUNT   1
 
GPIO Connections of Switch

Push button is connected to PORTE pin 4.

#define GPIO_PUSH_BUTTON_ON_BOARD   IOPORT_CREATE_PIN(PORTE, 4)
 
#define GPIO_PUSH_BUTTON_0   GPIO_PUSH_BUTTON_ON_BOARD
 

#define BOARD_NAME   "ATMEGA256RFR2-XPRO"
#define GPIO_PUSH_BUTTON_0   GPIO_PUSH_BUTTON_ON_BOARD
#define GPIO_PUSH_BUTTON_ON_BOARD   IOPORT_CREATE_PIN(PORTE, 4)

Referenced by board_init().

#define LED0   LED0_GPIO
#define LED0_GPIO   LED_ON_BOARD
#define LED_COUNT   1
#define LED_ON_BOARD   IOPORT_CREATE_PIN(PORTB, 4)

Referenced by board_init().

#define MCU_SOC_NAME   "ATMEGA256RFR2"