bootloaderApp.h
Go to the documentation of this file.
1 /*
2 MIT LICENSE
3 
4 Copyright 2014-2019 Inertial Sense, Inc. - http://inertialsense.com
5 
6 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions :
7 
8 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9 
10 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11 */
12 
13 #ifndef __BOOTLOADER_APP_H__
14 #define __BOOTLOADER_APP_H__
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include "bootloaderShared.h"
20 
21 void unlockUserFlash(void);
22 void soft_reset_no_backup_register(void); // soft reset without setting backup register
23 void soft_reset_backup_register(uint32_t key); // soft reset and set backup register to a value
24 void set_reset_pin_enabled(int enabled); // enabled is 0 or 1
25 void enable_bootloader(int pHandle);
27 
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 #endif // __BOOTLOADER_APP_H__
void soft_reset_backup_register(uint32_t key)
Definition: bootloaderApp.c:49
void set_reset_pin_enabled(int enabled)
Definition: bootloaderApp.c:55
void unlockUserFlash(void)
Definition: bootloaderApp.c:20
void enable_bootloader_assistant(void)
void soft_reset_no_backup_register(void)
Definition: bootloaderApp.c:44
void enable_bootloader(int pHandle)
Definition: bootloaderApp.c:82


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:18:13