#include "hal.h"
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "system.h"
#include "settings.h"
#include "ngc_params.h"
Data Structures | |
struct | ngc_ro_param_t |
struct | ngc_rw_param |
struct | ngc_named_ro_param_t |
struct | ngc_named_rw_param |
struct | ngc_param_context_t |
Macros | |
#define | NGC_MAX_CALL_LEVEL 10 |
Typedefs | |
typedef float(* | ngc_param_get_ptr) (ngc_param_id_t id) |
typedef float(* | ngc_named_param_get_ptr) (void) |
typedef struct ngc_rw_param | ngc_rw_param_t |
typedef struct ngc_named_rw_param | ngc_named_rw_param_t |
Functions | |
bool | ngc_param_get (ngc_param_id_t id, float *value) |
bool | ngc_param_is_rw (ngc_param_id_t id) |
bool | ngc_param_exists (ngc_param_id_t id) |
bool | ngc_param_set (ngc_param_id_t id, float value) |
float | ngc_named_param_get_by_id (ncg_name_param_id_t id) |
bool | ngc_named_param_get (char *name, float *value) |
bool | ngc_named_param_exists (char *name) |
bool | ngc_named_param_set (char *name, float value) |
bool | ngc_modal_state_save (gc_modal_t *state, bool auto_restore) |
void | ngc_modal_state_invalidate (void) |
bool | ngc_modal_state_restore (void) |
bool | ngc_call_push (void *context) |
bool | ngc_call_pop (void) |
uint_fast8_t | ngc_call_level (void) |
uint8_t | ngc_float_decimals (void) |
#define NGC_MAX_CALL_LEVEL 10 |
typedef float(* ngc_named_param_get_ptr) (void) |
typedef struct ngc_named_rw_param ngc_named_rw_param_t |
typedef float(* ngc_param_get_ptr) (ngc_param_id_t id) |
typedef struct ngc_rw_param ngc_rw_param_t |
uint_fast8_t ngc_call_level | ( | void | ) |
bool ngc_call_pop | ( | void | ) |
bool ngc_call_push | ( | void * | context | ) |
uint8_t ngc_float_decimals | ( | void | ) |
void ngc_modal_state_invalidate | ( | void | ) |
bool ngc_modal_state_restore | ( | void | ) |
bool ngc_modal_state_save | ( | gc_modal_t * | state, |
bool | auto_restore | ||
) |
bool ngc_named_param_exists | ( | char * | name | ) |
bool ngc_named_param_get | ( | char * | name, |
float * | value | ||
) |
float ngc_named_param_get_by_id | ( | ncg_name_param_id_t | id | ) |
bool ngc_named_param_set | ( | char * | name, |
float | value | ||
) |
bool ngc_param_exists | ( | ngc_param_id_t | id | ) |
bool ngc_param_get | ( | ngc_param_id_t | id, |
float * | value | ||
) |
bool ngc_param_is_rw | ( | ngc_param_id_t | id | ) |
bool ngc_param_set | ( | ngc_param_id_t | id, |
float | value | ||
) |