dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_iap.c
Go to the documentation of this file.
1 
16 /*
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation; either version 3 of the License, or
20  * (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful, but
23  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25  * for more details.
26  *
27  * You should have received a copy of the GNU General Public License along
28  * with this program; if not, see <http://www.gnu.org/licenses/>
29  */
30 
31 /****************************************************************************************
32  * Header files
33  ****************************************************************************************/
34 #include <pios.h>
35 #include <stdio.h>
36 
44 void PIOS_IAP_Init( void )
45 {
46 
47 }
48 
57 uint32_t PIOS_IAP_CheckRequest( void )
58 {
59 
60  return false;
61 }
62 
63 uint32_t PIOS_Boot_CheckRequest( void )
64 {
65  return false;
66 }
67 
75 {
76  printf("IAP SetRequest1\n");
77 }
78 
80 {
81  printf("IAP SetRequest2\n");
82 }
83 
85 {
86  printf("IAP SetRequest3\n");
87 }
88 
90 {
91 }
92 
93 uint16_t PIOS_IAP_ReadBootCount(void)
94 {
95  return 0;
96 }
97 
98 void PIOS_IAP_WriteBootCount (uint16_t boot_count)
99 {
100 }
uint32_t PIOS_IAP_CheckRequest(void)
Determines if an In-Application-Programming request has been made.
Definition: pios_iap.c:57
Main PiOS header to include all the compiled in PiOS options.
uint16_t PIOS_IAP_ReadBootCount(void)
Definition: pios_iap.c:93
void PIOS_IAP_Init(void)
PIOS_IAP_Init - performs required initializations for iap module.
Definition: pios_iap.c:44
void PIOS_IAP_SetRequest3(void)
Definition: pios_iap.c:84
void PIOS_IAP_ClearRequest(void)
Definition: pios_iap.c:89
uint32_t PIOS_Boot_CheckRequest(void)
Determines if a boot request has been made.
Definition: pios_iap.c:63
int printf(const char *format,...)
void PIOS_IAP_WriteBootCount(uint16_t)
Definition: pios_iap.c:98
void PIOS_IAP_SetRequest2(void)
Definition: pios_iap.c:79
void PIOS_IAP_SetRequest1(void)
Sets the 1st word of the request sequence.
Definition: pios_iap.c:74