hx711-pico-c
common.h File Reference
#include "hx711.h"
#include "hx711_multi.h"

Go to the source code of this file.

Functions

void hx711_get_default_config (hx711_config_t *const cfg)
 
void hx711_multi_get_default_config (hx711_multi_config_t *const cfg)
 

Variables

const hx711_config_t HX711__DEFAULT_CONFIG
 
const hx711_multi_config_t HX711__MULTI_DEFAULT_CONFIG
 

Function Documentation

◆ hx711_get_default_config()

void hx711_get_default_config ( hx711_config_t *const  cfg)

Definition at line 56 of file common.c.

56  {
57  assert(cfg != NULL);
58  *cfg = HX711__DEFAULT_CONFIG;
59 }
const hx711_config_t HX711__DEFAULT_CONFIG
Definition: common.c:33

References HX711__DEFAULT_CONFIG.

◆ hx711_multi_get_default_config()

void hx711_multi_get_default_config ( hx711_multi_config_t *const  cfg)

Definition at line 61 of file common.c.

61  {
62  assert(cfg != NULL);
64 }
const hx711_multi_config_t HX711__MULTI_DEFAULT_CONFIG
Definition: common.c:42

References HX711__MULTI_DEFAULT_CONFIG.

Variable Documentation

◆ HX711__DEFAULT_CONFIG

const hx711_config_t HX711__DEFAULT_CONFIG
extern

Definition at line 33 of file common.c.

Referenced by hx711_get_default_config().

◆ HX711__MULTI_DEFAULT_CONFIG

const hx711_multi_config_t HX711__MULTI_DEFAULT_CONFIG
extern

Definition at line 42 of file common.c.

Referenced by hx711_multi_get_default_config().