Title / Description
Code typedef struct { uint16_t MAGIC; // valid eeprom identifier uint8_t VERSION; // eeprom version uint8_t RF_ID; // node ID uint8_t RF_NETWORK; // network ID uint8_t RF_NODETYPE; // node type. Bitmask; // 0: TX/polling only, 1: perm. RX, 2: router char RF_KEY[17]; // RF network encryption key int8_t RF_PWR; // RF transmit power uint8_t RF_PWRMODE; // RFM W=0 HW=1 uint8_t RF_RETRAN; // number of retransmissions uint8_t RF_ACKTIME; // ACK timeout uint8_t PWR_MODE; // BATT=0 PSU=1 RTC=2 uint8_t PWR_SLEEPTIME; // Mains power sleep time uint16_t PWR_SLEEPCNT; // Mains power sleep count uint16_t PWR_RBTInt; // Reboot every # wakeups uint16_t CALIB_VRef; // Calibration VRef uint8_t CALIB_VBATSamp; // Calibration VBat samples uint8_t CALIB_VCCSamp; // Calibration Vcc samples uint8_t CALIB_TempSamp; // Calibration Vcc samples float CALIB_TOffset; // Calibration internal temp offset float CALIB_TCoeff; // Calibration internal temp coefficient float CALIB_VBAT_R1; // Calibration VBat resistor1 value float CALIB_VBAT_R2; // Calibration VBat resistor2 value } eeprom_config, *peeprom_config;
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code