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.
Dependencies: mbed LoRaWAN-lib SX1276Lib
board/board.h@0:92bca02df485, 2015-10-20 (annotated)
- Committer:
 - mluis
 - Date:
 - Tue Oct 20 13:23:35 2015 +0000
 - Revision:
 - 0:92bca02df485
 - Child:
 - 1:352f608c3337
 
LoRaWAN-demo project creation using LoRaWAN-lib library
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| mluis | 0:92bca02df485 | 1 | /* | 
| mluis | 0:92bca02df485 | 2 | / _____) _ | | | 
| mluis | 0:92bca02df485 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ | 
| mluis | 0:92bca02df485 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ | 
| mluis | 0:92bca02df485 | 5 | _____) ) ____| | | || |_| ____( (___| | | | | 
| mluis | 0:92bca02df485 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| | 
| mluis | 0:92bca02df485 | 7 | (C)2015 Semtech | 
| mluis | 0:92bca02df485 | 8 | |
| mluis | 0:92bca02df485 | 9 | Description: Target board general functions implementation | 
| mluis | 0:92bca02df485 | 10 | |
| mluis | 0:92bca02df485 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project | 
| mluis | 0:92bca02df485 | 12 | |
| mluis | 0:92bca02df485 | 13 | Maintainer: Miguel Luis and Gregory Cristian | 
| mluis | 0:92bca02df485 | 14 | */ | 
| mluis | 0:92bca02df485 | 15 | #ifndef __BOARD_H__ | 
| mluis | 0:92bca02df485 | 16 | #define __BOARD_H__ | 
| mluis | 0:92bca02df485 | 17 | |
| mluis | 0:92bca02df485 | 18 | #include "mbed.h" | 
| mluis | 0:92bca02df485 | 19 | #include "timer.h" | 
| mluis | 0:92bca02df485 | 20 | #include "debug.h" | 
| mluis | 0:92bca02df485 | 21 | #include "utilities.h" | 
| mluis | 0:92bca02df485 | 22 | |
| mluis | 0:92bca02df485 | 23 | /*! | 
| mluis | 0:92bca02df485 | 24 | * \brief Initializes the target board peripherals. | 
| mluis | 0:92bca02df485 | 25 | */ | 
| mluis | 0:92bca02df485 | 26 | void BoardInit( void ); | 
| mluis | 0:92bca02df485 | 27 | |
| mluis | 0:92bca02df485 | 28 | /*! | 
| mluis | 0:92bca02df485 | 29 | * \brief Measure the Battery level | 
| mluis | 0:92bca02df485 | 30 | * | 
| mluis | 0:92bca02df485 | 31 | * \retval value battery level ( 0: very low, 254: fully charged ) | 
| mluis | 0:92bca02df485 | 32 | */ | 
| mluis | 0:92bca02df485 | 33 | uint8_t BoardGetBatterieLevel( void ); | 
| mluis | 0:92bca02df485 | 34 | |
| mluis | 0:92bca02df485 | 35 | |
| mluis | 0:92bca02df485 | 36 | #endif // __BOARD_H__ |