|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Persistent settings interface. More...
#include "modules/core/settings.h"#include "generated/settings.h"#include "generated/airframe.h"#include "pprzlink/messages.h"#include "pprzlink/dl_protocol.h"
Include dependency graph for settings.c:Go to the source code of this file.
Functions | |
| static void | settings_send_dl_value (struct link_device *dev, struct transport_tx *trans, uint8_t receiver_id, uint8_t index, float value) |
| void | settings_init (void) |
| int32_t | settings_store (void) |
| store settings marked as persistent to flash | |
| int32_t | settings_clear (void) |
| clear all persistent settings from flash | |
| void | settings_parse_msg_SETTING (struct link_device *dev, struct transport_tx *trans, uint8_t *buf) |
| void | settings_parse_msg_GET_SETTING (struct link_device *dev, struct transport_tx *trans, uint8_t *buf) |
Variables | |
| struct PersistentSettings | pers_settings |
| bool | settings_store_flag |
| flag for setting feedback. | |
| bool | settings_clear_flag |
Persistent settings interface.
Definition in file settings.c.
clear all persistent settings from flash
Definition at line 101 of file settings.c.
References persistent_clear(), and settings_clear_flag.
Referenced by autopilot_clear_settings().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 67 of file settings.c.
References foo, pers_settings, and persistent_read().
Referenced by cc2500_settings_init(), and main_init().
Here is the call graph for this function:
Here is the caller graph for this function:| void settings_parse_msg_GET_SETTING | ( | struct link_device * | dev, |
| struct transport_tx * | trans, | ||
| uint8_t * | buf | ||
| ) |
Definition at line 132 of file settings.c.
References dev, foo, settings_send_dl_value(), and val.
Here is the call graph for this function:| void settings_parse_msg_SETTING | ( | struct link_device * | dev, |
| struct transport_tx * | trans, | ||
| uint8_t * | buf | ||
| ) |
Definition at line 116 of file settings.c.
References dev, foo, and settings_send_dl_value().
Here is the call graph for this function:
|
static |
Definition at line 50 of file settings.c.
References dev, foo, msg, and pprzlog_tp.
Referenced by settings_parse_msg_GET_SETTING(), and settings_parse_msg_SETTING().
Here is the caller graph for this function:store settings marked as persistent to flash
Definition at line 81 of file settings.c.
References foo, pers_settings, persistent_write(), and settings_store_flag.
Referenced by autopilot_store_settings().
Here is the call graph for this function:
Here is the caller graph for this function:| struct PersistentSettings pers_settings |
Definition at line 38 of file settings.c.
Referenced by settings_init(), and settings_store().
| bool settings_clear_flag |
Definition at line 47 of file settings.c.
Referenced by autopilot_clear_settings(), and settings_clear().
| bool settings_store_flag |
flag for setting feedback.
if TRUE, was stored sucessfully. Also settings still need a variable, pure function call not possible yet.
Definition at line 45 of file settings.c.
Referenced by autopilot_store_settings(), and settings_store().