Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
WIFI_Driver/nordic/pca10001.h
- Committer:
- Marcomissyou
- Date:
- 2015-06-26
- Revision:
- 0:4085cc9441f3
File content as of revision 0:4085cc9441f3:
/* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use of the information. NO
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
*//* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use of the information. NO
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
*/
#ifndef PCA10001_H
#define PCA10001_H
#include "nrf_gpio.h"
#define LED_START 18
#define LED_0 18
#define LED_1 19
#define LED_STOP 19
#define BUTTON_START 16
#define BUTTON_0 16
#define BUTTON_1 17
#define BUTTON_STOP 17
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
#define RX_PIN_NUMBER 23//22//0//11 // modified by Tsungta
#define TX_PIN_NUMBER 25//2//9 // modified by Tsungta
#define CTS_PIN_NUMBER 10
#define RTS_PIN_NUMBER 8
#define HWFC false//true
#endif
#ifndef PCA10001_H
#define PCA10001_H
#define LED_START 18
#define LED0 18
#define LED_STOP 19
#define LED1 19
#define LED_PORT NRF_GPIO_PORT_SELECT_PORT2
#define LED_OFFSET 2
#define BUTTON_START 16
#define BUTTON0 16
#define BUTTON_STOP 17
#define BUTTON1 17
#define RX_PIN_NUMBER 11
#define TX_PIN_NUMBER 9
#define CTS_PIN_NUMBER 10
#define RTS_PIN_NUMBER 8
#define HWFC false
#define BLINKY_STATE_MASK 0x01
#endif