mbed(SerialHalfDuplex入り)

Fork of mbed by mbed official

Committer:
yusuke_kyo
Date:
Wed Apr 08 08:04:18 2015 +0000
Revision:
98:01a414ca7d6d
Parent:
94:9ad691361fac
remove SerialHalfDuplex.h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 93:e188a91d3eaa 1 /* mbed Microcontroller Library
Kojto 93:e188a91d3eaa 2
Kojto 93:e188a91d3eaa 3 * Copyright (c) 2013 Nordic Semiconductor.
Kojto 93:e188a91d3eaa 4 *
Kojto 93:e188a91d3eaa 5 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 93:e188a91d3eaa 6 * you may not use this file except in compliance with the License.
Kojto 93:e188a91d3eaa 7 * You may obtain a copy of the License at
Kojto 93:e188a91d3eaa 8 *
Kojto 93:e188a91d3eaa 9 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 93:e188a91d3eaa 10 *
Kojto 93:e188a91d3eaa 11 * Unless required by applicable law or agreed to in writing, software
Kojto 93:e188a91d3eaa 12 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 93:e188a91d3eaa 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 93:e188a91d3eaa 14 * See the License for the specific language governing permissions and
Kojto 93:e188a91d3eaa 15 * limitations under the License.
Kojto 93:e188a91d3eaa 16 */
Kojto 93:e188a91d3eaa 17
Kojto 93:e188a91d3eaa 18
Kojto 93:e188a91d3eaa 19 #ifndef SYSTEM_NRF51_H
Kojto 93:e188a91d3eaa 20 #define SYSTEM_NRF51_H
Kojto 93:e188a91d3eaa 21
Kojto 93:e188a91d3eaa 22 #ifdef __cplusplus
Kojto 93:e188a91d3eaa 23 extern "C" {
Kojto 93:e188a91d3eaa 24 #endif
Kojto 93:e188a91d3eaa 25
Kojto 93:e188a91d3eaa 26 #include <stdint.h>
Kojto 93:e188a91d3eaa 27
Kojto 93:e188a91d3eaa 28
Kojto 93:e188a91d3eaa 29 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
Kojto 93:e188a91d3eaa 30
Kojto 93:e188a91d3eaa 31 /**
Kojto 93:e188a91d3eaa 32 * Initialize the system
Kojto 93:e188a91d3eaa 33 *
Kojto 93:e188a91d3eaa 34 * @param none
Kojto 93:e188a91d3eaa 35 * @return none
Kojto 93:e188a91d3eaa 36 *
Kojto 93:e188a91d3eaa 37 * @brief Setup the microcontroller system.
Kojto 93:e188a91d3eaa 38 * Initialize the System and update the SystemCoreClock variable.
Kojto 93:e188a91d3eaa 39 */
Kojto 93:e188a91d3eaa 40 extern void SystemInit (void);
Kojto 93:e188a91d3eaa 41
Kojto 93:e188a91d3eaa 42
Kojto 93:e188a91d3eaa 43 /**
Kojto 93:e188a91d3eaa 44 * Update SystemCoreClock variable
Kojto 93:e188a91d3eaa 45 *
Kojto 93:e188a91d3eaa 46 * @param none
Kojto 93:e188a91d3eaa 47 * @return none
Kojto 93:e188a91d3eaa 48 *
Kojto 93:e188a91d3eaa 49 * @brief Updates the SystemCoreClock with current core Clock
Kojto 93:e188a91d3eaa 50 * retrieved from cpu registers.
Kojto 93:e188a91d3eaa 51 */
Kojto 93:e188a91d3eaa 52 extern void SystemCoreClockUpdate (void);
Kojto 93:e188a91d3eaa 53
Kojto 93:e188a91d3eaa 54 #ifdef __cplusplus
Kojto 93:e188a91d3eaa 55 }
Kojto 93:e188a91d3eaa 56 #endif
Kojto 93:e188a91d3eaa 57
Kojto 93:e188a91d3eaa 58 #endif /* SYSTEM_NRF51_H */