Definition in file calibration.h.
Go to the source code of this file.
Defines | |
| #define | CAL_CC_BIT_POS 2 |
| #define | CAL_CC_FAIL (CAL_FAIL << CAL_CC_BIT_POS) |
| #define | CAL_CC_MASK (3 << CAL_CC_BIT_POS) |
| #define | CAL_CC_OK (CAL_OK << CAL_CC_BIT_POS) |
| #define | CAL_CC_RUN (RUN_CAL << CAL_CC_BIT_POS) |
| #define | CAL_FAIL 2 |
| #define | CAL_OK 3 |
| #define | CAL_VREF_BIT_POS 0 |
| #define | CAL_VREF_FAIL (CAL_FAIL << CAL_VREF_BIT_POS) |
| #define | CAL_VREF_MASK (3 << CAL_VREF_BIT_POS) |
| #define | CAL_VREF_OK (CAL_OK << CAL_VREF_BIT_POS) |
| #define | CAL_VREF_RUN (RUN_CAL << CAL_VREF_BIT_POS) |
| #define | NO_CAL 0 |
| #define | RUN_CAL 1 |
Functions | |
| unsigned char | CalibrateCCoffset (void) |
| unsigned char | CalibrateVREF (void) |
Variables | |
| unsigned int | calibration_state |
| unsigned int | calibration_state_req |
| #define CAL_CC_BIT_POS 2 |
| #define CAL_CC_FAIL (CAL_FAIL << CAL_CC_BIT_POS) |
| #define CAL_CC_MASK (3 << CAL_CC_BIT_POS) |
Definition at line 119 of file calibration.h.
Referenced by DoCalibrate(), and ReadFactoryCalibration().
| #define CAL_CC_OK (CAL_OK << CAL_CC_BIT_POS) |
Definition at line 122 of file calibration.h.
Referenced by DoCalibrate(), and ReadFactoryCalibration().
| #define CAL_CC_RUN (RUN_CAL << CAL_CC_BIT_POS) |
| #define CAL_FAIL 2 |
| #define CAL_OK 3 |
| #define CAL_VREF_BIT_POS 0 |
| #define CAL_VREF_FAIL (CAL_FAIL << CAL_VREF_BIT_POS) |
| #define CAL_VREF_MASK (3 << CAL_VREF_BIT_POS) |
Definition at line 114 of file calibration.h.
Referenced by DoCalibrate(), and ReadFactoryCalibration().
| #define CAL_VREF_OK (CAL_OK << CAL_VREF_BIT_POS) |
Definition at line 117 of file calibration.h.
Referenced by DoCalibrate(), and ReadFactoryCalibration().
| #define CAL_VREF_RUN (RUN_CAL << CAL_VREF_BIT_POS) |
| #define NO_CAL 0 |
| #define RUN_CAL 1 |
| unsigned char CalibrateCCoffset | ( | void | ) |
Definition at line 679 of file analog.c.
References CC_delay_acc, CCarray, CCindex, ChangePowerMode(), EESTORAGE_CC_valid, EESTORAGE_CCIoffset, EESTORAGE_CCoffset, and POWERMODE_ACTIVE.
| unsigned char CalibrateVREF | ( | void | ) |
| unsigned int calibration_state |
Referenced by DoCalibrate(), ReadFactoryCalibration(), and SMBR_Opt4().
| unsigned int calibration_state_req |
Referenced by DoCalibrate(), and SMBW_Opt4().
1.5.3