Microchip® Advanced Software Framework

atmega256rfr2_rcb_xpro.h File Reference

ATMEGA256RFR2-Zigbit board header file.

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

To use this board, define BOARD= ATMEGA256RFR2_ZIGBIT.

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

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

Macros

#define BOARD_NAME   "RCB256RFR2-XPRO"
 
#define GPIO_PUSH_BUTTON_0   IOPORT_CREATE_PIN(PORTE, 0)
 
#define LED0   LED0_GPIO
 
#define LED0_GPIO   IOPORT_CREATE_PIN(PORTD, 6)
 
#define LED1   LED1_GPIO
 
#define LED1_GPIO   IOPORT_CREATE_PIN(PORTE, 2)
 
#define LED2   LED2_GPIO
 
#define LED2_GPIO   IOPORT_CREATE_PIN(PORTG, 2)
 
#define LED_COUNT   3
 Number of LEDs. More...
 
#define MCU_SOC_NAME   "ATMEGA256RFR2"
 
Communication interfaces on header J1
#define TWID_SDA   IOPORT_CREATE_PIN(PORTD, 1)
 
#define TWID_SCL   IOPORT_CREATE_PIN(PORTD, 0)
 
#define USARTA1_RXD   IOPORT_CREATE_PIN(PORTD, 2)
 
#define USARTA1_TXD   IOPORT_CREATE_PIN(PORTD, 3)
 
#define SPIB_SS   IOPORT_CREATE_PIN(PORTB, 0)
 
#define SPIB_MOSI   IOPORT_CREATE_PIN(PORTB, 2)
 
#define SPIB_MISO   IOPORT_CREATE_PIN(PORTB, 3)
 
#define SPIB_SCK   IOPORT_CREATE_PIN(PORTB, 1)
 

#define BOARD_NAME   "RCB256RFR2-XPRO"

Referenced by get_board_details(), and get_node_info().

#define GPIO_PUSH_BUTTON_0   IOPORT_CREATE_PIN(PORTE, 0)

Referenced by board_init(), and button_pressed().

#define LED0   LED0_GPIO

Referenced by app_alert().

#define LED0_GPIO   IOPORT_CREATE_PIN(PORTD, 6)

Referenced by app_alert(), and board_init().

#define LED1   LED1_GPIO
#define LED1_GPIO   IOPORT_CREATE_PIN(PORTE, 2)

Referenced by app_alert(), and board_init().

#define LED2   LED2_GPIO
#define LED2_GPIO   IOPORT_CREATE_PIN(PORTG, 2)

Referenced by app_alert(), and board_init().

#define LED_COUNT   3

Number of LEDs.

#define MCU_SOC_NAME   "ATMEGA256RFR2"

Referenced by get_board_details(), and get_node_info().

#define SPIB_MISO   IOPORT_CREATE_PIN(PORTB, 3)
#define SPIB_MOSI   IOPORT_CREATE_PIN(PORTB, 2)
#define SPIB_SCK   IOPORT_CREATE_PIN(PORTB, 1)
#define SPIB_SS   IOPORT_CREATE_PIN(PORTB, 0)
#define TWID_SCL   IOPORT_CREATE_PIN(PORTD, 0)
#define TWID_SDA   IOPORT_CREATE_PIN(PORTD, 1)
#define USARTA1_RXD   IOPORT_CREATE_PIN(PORTD, 2)
#define USARTA1_TXD   IOPORT_CREATE_PIN(PORTD, 3)