Conversion macros for user-declarations of startup timing periods of the boost converter. More...
#define | BOOST_POD (uint16_t)(((float)BOOST_POWER_ON_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Conversion Macros of Startup Timing Settings. More... | |
#define | BOOST_VRAMP_PER (uint16_t)(((float)BOOST_VRAMP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
#define | BOOST_VREF_STEP (uint16_t)((float)BOOST_VOUT_REF / (float)(BOOST_VRAMP_PER + 1.0)) |
#define | BOOST_IRAMP_PER (uint16_t)(((float)BOOST_IRAMP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
#define | BOOST_IREF_STEP (uint16_t)((float)BOOST_ISNS_REF / (float)(BOOST_VRAMP_PER + 1.0)) |
#define | BOOST_PGD (uint16_t)(((float)BOOST_POWER_GOOD_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0) |
#define | BOOST_CHRG_PER (uint16_t)(((float)BOOST_CHARGEUP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
#define | BOOST_CHRG_TOUT (uint16_t)(((float)BOOST_CHARGEUP_TIMEOUT / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Conversion macros for user-declarations of startup timing periods of the boost converter.
#define BOOST_CHRG_PER (uint16_t)(((float)BOOST_CHARGEUP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Definition at line 1451 of file dpsk3_hwdescr.h.
#define BOOST_CHRG_TOUT (uint16_t)(((float)BOOST_CHARGEUP_TIMEOUT / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Definition at line 1452 of file dpsk3_hwdescr.h.
#define BOOST_IRAMP_PER (uint16_t)(((float)BOOST_IRAMP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Definition at line 1448 of file dpsk3_hwdescr.h.
#define BOOST_IREF_STEP (uint16_t)((float)BOOST_ISNS_REF / (float)(BOOST_VRAMP_PER + 1.0)) |
Definition at line 1449 of file dpsk3_hwdescr.h.
#define BOOST_PGD (uint16_t)(((float)BOOST_POWER_GOOD_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Definition at line 1450 of file dpsk3_hwdescr.h.
#define BOOST_POD (uint16_t)(((float)BOOST_POWER_ON_DELAY / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Conversion Macros of Startup Timing Settings.
These conversion macros are used to convert user settings defined as physical quantities into binary (integer) numbers, which will be written to registers and variables and used in calculations throughout the firmware.
Definition at line 1445 of file dpsk3_hwdescr.h.
#define BOOST_VRAMP_PER (uint16_t)(((float)BOOST_VRAMP_PERIOD / (float)MAIN_EXECUTION_PERIOD)-1.0) |
Definition at line 1446 of file dpsk3_hwdescr.h.
#define BOOST_VREF_STEP (uint16_t)((float)BOOST_VOUT_REF / (float)(BOOST_VRAMP_PER + 1.0)) |
Definition at line 1447 of file dpsk3_hwdescr.h.