UpdatedDecryp

Dependencies:   BahlDecrypModified CyaSSL mbed nRF51822

Fork of Decryptulator by Mobius IoT

Committer:
vbahl2
Date:
Tue May 09 03:06:55 2017 +0000
Revision:
13:8b706583610a
Parent:
9:69a2ad0bcdb7
UpdatedDecryp

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 9:69a2ad0bcdb7 1 /* mbed Microcontroller Library
rgrover1 9:69a2ad0bcdb7 2 * Copyright (c) 2006-2015 ARM Limited
rgrover1 9:69a2ad0bcdb7 3 *
rgrover1 9:69a2ad0bcdb7 4 * Licensed under the Apache License, Version 2.0 (the "License");
rgrover1 9:69a2ad0bcdb7 5 * you may not use this file except in compliance with the License.
rgrover1 9:69a2ad0bcdb7 6 * You may obtain a copy of the License at
rgrover1 9:69a2ad0bcdb7 7 *
rgrover1 9:69a2ad0bcdb7 8 * http://www.apache.org/licenses/LICENSE-2.0
rgrover1 9:69a2ad0bcdb7 9 *
rgrover1 9:69a2ad0bcdb7 10 * Unless required by applicable law or agreed to in writing, software
rgrover1 9:69a2ad0bcdb7 11 * distributed under the License is distributed on an "AS IS" BASIS,
rgrover1 9:69a2ad0bcdb7 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rgrover1 9:69a2ad0bcdb7 13 * See the License for the specific language governing permissions and
rgrover1 9:69a2ad0bcdb7 14 * limitations under the License.
rgrover1 9:69a2ad0bcdb7 15 */
rgrover1 9:69a2ad0bcdb7 16
rgrover1 9:69a2ad0bcdb7 17 #ifndef TMP_NRF51_H
rgrover1 9:69a2ad0bcdb7 18 #define TMP_NRF51_H
rgrover1 9:69a2ad0bcdb7 19
rgrover1 9:69a2ad0bcdb7 20 #include "mbed.h"
rgrover1 9:69a2ad0bcdb7 21
rgrover1 9:69a2ad0bcdb7 22 //!Library for the nrf51822 internal temperature sensor.
rgrover1 9:69a2ad0bcdb7 23
rgrover1 9:69a2ad0bcdb7 24 class TMP_nrf51
rgrover1 9:69a2ad0bcdb7 25 {
rgrover1 9:69a2ad0bcdb7 26 public:
rgrover1 9:69a2ad0bcdb7 27 typedef float TempSensorValue_t;
rgrover1 9:69a2ad0bcdb7 28
rgrover1 9:69a2ad0bcdb7 29 /**
rgrover1 9:69a2ad0bcdb7 30 * @brief Get the temperature value.
rgrover1 9:69a2ad0bcdb7 31 *
rgrover1 9:69a2ad0bcdb7 32 * @return Die temperature in °C.
rgrover1 9:69a2ad0bcdb7 33 */
rgrover1 9:69a2ad0bcdb7 34 TempSensorValue_t get(void);
rgrover1 9:69a2ad0bcdb7 35 };
rgrover1 9:69a2ad0bcdb7 36
rgrover1 9:69a2ad0bcdb7 37 #endif