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.
pca10001.h
00001 /* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is property of Nordic Semiconductor ASA. 00004 * Terms and conditions of usage are described in detail in NORDIC 00005 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 *//* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. 00012 * 00013 * The information contained herein is property of Nordic Semiconductor ASA. 00014 * Terms and conditions of usage are described in detail in NORDIC 00015 * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00016 * 00017 * Licensees are granted free, non-transferable use of the information. NO 00018 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from 00019 * the file. 00020 * 00021 */ 00022 #ifndef PCA10001_H 00023 #define PCA10001_H 00024 00025 #include "nrf_gpio.h" 00026 00027 #define LED_START 18 00028 #define LED_0 18 00029 #define LED_1 19 00030 #define LED_STOP 19 00031 00032 #define BUTTON_START 16 00033 #define BUTTON_0 16 00034 #define BUTTON_1 17 00035 #define BUTTON_STOP 17 00036 #define BUTTON_PULL NRF_GPIO_PIN_PULLUP 00037 00038 #define RX_PIN_NUMBER 23//22//0//11 // modified by Tsungta 00039 #define TX_PIN_NUMBER 25//2//9 // modified by Tsungta 00040 #define CTS_PIN_NUMBER 10 00041 #define RTS_PIN_NUMBER 8 00042 #define HWFC false//true 00043 00044 #endif 00045 00046 #ifndef PCA10001_H 00047 #define PCA10001_H 00048 00049 #define LED_START 18 00050 #define LED0 18 00051 #define LED_STOP 19 00052 #define LED1 19 00053 #define LED_PORT NRF_GPIO_PORT_SELECT_PORT2 00054 #define LED_OFFSET 2 00055 00056 #define BUTTON_START 16 00057 #define BUTTON0 16 00058 #define BUTTON_STOP 17 00059 #define BUTTON1 17 00060 00061 #define RX_PIN_NUMBER 11 00062 #define TX_PIN_NUMBER 9 00063 #define CTS_PIN_NUMBER 10 00064 #define RTS_PIN_NUMBER 8 00065 #define HWFC false 00066 00067 #define BLINKY_STATE_MASK 0x01 00068 00069 #endif
Generated on Mon Jul 25 2022 10:33:26 by
1.7.2