summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/HAL/avr/atmega1281/rcb231_212/include/halRfPio.h
blob: bbce93f486d1af070818ce8ae7c111bb4362ccb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**************************************************************************//**
  \file  halRfPio.h

  \brief AT86RF230 control pins declarations.

  \author
      Atmel Corporation: http://www.atmel.com \n
      Support email: avr@atmel.com

    Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
    Licensed under Atmel's Limited License Agreement (BitCloudTM).

  \internal
    History:
      29/05/07 A. Luzhetsky - Created
 ******************************************************************************/
/******************************************************************************
 *   WARNING: CHANGING THIS FILE MAY AFFECT CORE FUNCTIONALITY OF THE STACK.  *
 *   EXPERT USERS SHOULD PROCEED WITH CAUTION.                                *
 ******************************************************************************/

#ifndef _HALRFPIO_H
#define _HALRFPIO_H

#include <gpio.h>

// Macros for the RF_SLP_TR pin manipulation.
HAL_ASSIGN_PIN(RF_SLP_TR, B, 4);
// Macros for the RF_RST pin manipulation.
HAL_ASSIGN_PIN(RF_RST, B, 5);
// Macros for the RF_IRQ pin manipulation.
HAL_ASSIGN_PIN(RF_IRQ, D, 0);
// Macros for the SPI_CS pin manipulation.
HAL_ASSIGN_PIN(SPI_CS, B, 0);
// Macros for the SPI_SCK pin manipulation.
HAL_ASSIGN_PIN(SPI_SCK, B, 1);
// Macros for the SPI_MOSI pin manipulation.
HAL_ASSIGN_PIN(SPI_MOSI, B, 2);
// Macros for the SPI_MISO pin manipulation.
HAL_ASSIGN_PIN(SPI_MISO, B, 3);
#endif /* _HALRFPIO_H */