Microchip® Advanced Software Framework

avr477.h File Reference

AVR477 board header file.

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

To use this board, define BOARD= DUMMY_BOARD.

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

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

Macros

#define BOARD_NAME   "AVR477"
 
#define MCU_SOC_NAME   "ATMEGA256RFR2"
 
GPIO Connections of LED

LED0 is connected to PORTE pin 4

#define LED_ON_BOARD   IOPORT_CREATE_PIN(PORTE, 4)
 
#define LED0_GPIO   LED_ON_BOARD
 
#define LED0   LED0_GPIO
 
GPIO Connections of Switch

Push button is connected to PORTE pin 3.

#define LED_ON_BOARD1   IOPORT_CREATE_PIN(PORTE, 3)
 
#define LED1_GPIO   LED_ON_BOARD1
 
#define LED1   LED1_GPIO
 

#define BOARD_NAME   "AVR477"
#define LED0_GPIO   LED_ON_BOARD

Referenced by app_alert(), and main().

#define LED1   LED1_GPIO
#define LED1_GPIO   LED_ON_BOARD1

Referenced by app_alert().

#define LED_ON_BOARD   IOPORT_CREATE_PIN(PORTE, 4)

Referenced by board_init().

#define LED_ON_BOARD1   IOPORT_CREATE_PIN(PORTE, 3)

Referenced by board_init().

#define MCU_SOC_NAME   "ATMEGA256RFR2"