Set write permission for 'write without response' characteristics.
Fork of nRF51822 by
nordic/nrf-sdk/system_nrf51.h@37:c29c330d942c, 2014-07-07 (annotated)
- Committer:
- Rohit Grover
- Date:
- Mon Jul 07 13:43:31 2014 +0100
- Revision:
- 37:c29c330d942c
- Parent:
- 0:eff01767de02
changes required to upgrade to V7 of the soft-device
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Rohit Grover |
37:c29c330d942c | 1 | /* Copyright (c) 2013, Nordic Semiconductor ASA |
Rohit Grover |
37:c29c330d942c | 2 | * All rights reserved. |
Rohit Grover |
37:c29c330d942c | 3 | * |
Rohit Grover |
37:c29c330d942c | 4 | * Redistribution and use in source and binary forms, with or without |
Rohit Grover |
37:c29c330d942c | 5 | * modification, are permitted provided that the following conditions are met: |
Rohit Grover |
37:c29c330d942c | 6 | * |
Rohit Grover |
37:c29c330d942c | 7 | * * Redistributions of source code must retain the above copyright notice, this |
Rohit Grover |
37:c29c330d942c | 8 | * list of conditions and the following disclaimer. |
Rohit Grover |
37:c29c330d942c | 9 | * |
Rohit Grover |
37:c29c330d942c | 10 | * * Redistributions in binary form must reproduce the above copyright notice, |
Rohit Grover |
37:c29c330d942c | 11 | * this list of conditions and the following disclaimer in the documentation |
Rohit Grover |
37:c29c330d942c | 12 | * and/or other materials provided with the distribution. |
bogdanm | 0:eff01767de02 | 13 | * |
Rohit Grover |
37:c29c330d942c | 14 | * * Neither the name of Nordic Semiconductor ASA nor the names of its |
Rohit Grover |
37:c29c330d942c | 15 | * contributors may be used to endorse or promote products derived from |
Rohit Grover |
37:c29c330d942c | 16 | * this software without specific prior written permission. |
bogdanm | 0:eff01767de02 | 17 | * |
Rohit Grover |
37:c29c330d942c | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
Rohit Grover |
37:c29c330d942c | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
Rohit Grover |
37:c29c330d942c | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
Rohit Grover |
37:c29c330d942c | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
Rohit Grover |
37:c29c330d942c | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
Rohit Grover |
37:c29c330d942c | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
Rohit Grover |
37:c29c330d942c | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
Rohit Grover |
37:c29c330d942c | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
Rohit Grover |
37:c29c330d942c | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
Rohit Grover |
37:c29c330d942c | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 0:eff01767de02 | 28 | * |
bogdanm | 0:eff01767de02 | 29 | */ |
bogdanm | 0:eff01767de02 | 30 | #ifndef SYSTEM_NRF51_H |
bogdanm | 0:eff01767de02 | 31 | #define SYSTEM_NRF51_H |
bogdanm | 0:eff01767de02 | 32 | |
bogdanm | 0:eff01767de02 | 33 | #ifdef __cplusplus |
bogdanm | 0:eff01767de02 | 34 | extern "C" { |
bogdanm | 0:eff01767de02 | 35 | #endif |
bogdanm | 0:eff01767de02 | 36 | |
bogdanm | 0:eff01767de02 | 37 | #include <stdint.h> |
bogdanm | 0:eff01767de02 | 38 | |
bogdanm | 0:eff01767de02 | 39 | |
bogdanm | 0:eff01767de02 | 40 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 0:eff01767de02 | 41 | |
bogdanm | 0:eff01767de02 | 42 | /** |
bogdanm | 0:eff01767de02 | 43 | * Initialize the system |
bogdanm | 0:eff01767de02 | 44 | * |
bogdanm | 0:eff01767de02 | 45 | * @param none |
bogdanm | 0:eff01767de02 | 46 | * @return none |
bogdanm | 0:eff01767de02 | 47 | * |
bogdanm | 0:eff01767de02 | 48 | * @brief Setup the microcontroller system. |
bogdanm | 0:eff01767de02 | 49 | * Initialize the System and update the SystemCoreClock variable. |
bogdanm | 0:eff01767de02 | 50 | */ |
bogdanm | 0:eff01767de02 | 51 | extern void SystemInit (void); |
bogdanm | 0:eff01767de02 | 52 | |
bogdanm | 0:eff01767de02 | 53 | /** |
bogdanm | 0:eff01767de02 | 54 | * Update SystemCoreClock variable |
bogdanm | 0:eff01767de02 | 55 | * |
bogdanm | 0:eff01767de02 | 56 | * @param none |
bogdanm | 0:eff01767de02 | 57 | * @return none |
bogdanm | 0:eff01767de02 | 58 | * |
bogdanm | 0:eff01767de02 | 59 | * @brief Updates the SystemCoreClock with current core Clock |
bogdanm | 0:eff01767de02 | 60 | * retrieved from cpu registers. |
bogdanm | 0:eff01767de02 | 61 | */ |
bogdanm | 0:eff01767de02 | 62 | extern void SystemCoreClockUpdate (void); |
bogdanm | 0:eff01767de02 | 63 | |
bogdanm | 0:eff01767de02 | 64 | #ifdef __cplusplus |
bogdanm | 0:eff01767de02 | 65 | } |
bogdanm | 0:eff01767de02 | 66 | #endif |
bogdanm | 0:eff01767de02 | 67 | |
bogdanm | 0:eff01767de02 | 68 | #endif /* SYSTEM_NRF51_H */ |