Microchip® Advanced Software Framework

helper.c File Reference

ATmegaRFX RCB 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 "conf_board.h"
#include "helper.h"
#include <asf.h>

Functions

void board_identify (void)
 
void led_ctrl (led_id_t led_no, led_action_t led_setting)
 
void led_helper_func (void)
 
bool stb_button_read (void)
 
uint8_t xram_read (uint16_t addr)
 Read XRAM. More...
 
void xram_write (uint16_t addr, uint8_t data)
 Read XRAM. More...
 

Variables

static board_t board_type
 

void board_identify ( void  )
void led_helper_func ( void  )

References LED_ADDR_DEC_DDR, and LED_ADDR_DEC_PORT.

Referenced by led_ctrl().

uint8_t xram_read ( uint16_t  addr)
void xram_write ( uint16_t  addr,
uint8_t  data 
)

board_t board_type
static