Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
settings.h File Reference
#include "std.h"
#include "generated/settings.h"
+ Include dependency graph for settings.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define settings_StoreSettings(_v)   { settings_store_now = _v; settings_store(); }
 

Functions

void settings_init (void)
 
void settings_store (void)
 
int32_t persistent_write (uint32_t ptr, uint32_t size)
 
int32_t persistent_read (uint32_t ptr, uint32_t size)
 

Variables

bool_t settings_store_now
 

Macro Definition Documentation

#define settings_StoreSettings (   _v)    { settings_store_now = _v; settings_store(); }

Definition at line 11 of file settings.h.

Function Documentation

int32_t persistent_read ( uint32_t  ptr,
uint32_t  size 
)

Definition at line 255 of file settings_arch.c.

References FlashInfo::addr, FCHK, flash_detect(), FSIZ, FlashInfo::page_size, and pflash_checksum().

Referenced by settings_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int32_t persistent_write ( uint32_t  ptr,
uint32_t  size 
)

Definition at line 243 of file settings_arch.c.

References flash_detect(), FSIZ, FlashInfo::page_size, pflash_checksum(), and pflash_program_bytes().

Referenced by settings_store().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void settings_init ( void  )

Definition at line 8 of file settings.c.

References pers_settings, and persistent_read().

Referenced by init_ap(), and main_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void settings_store ( void  )

Definition at line 17 of file settings.c.

References pers_settings, and persistent_write().

+ Here is the call graph for this function:

Variable Documentation

bool_t settings_store_now

Definition at line 5 of file settings.c.