ScEpTIC.emulator.energy.mcu.datasheets.msp430g2553_utils package
Submodules
ScEpTIC.emulator.energy.mcu.datasheets.msp430g2553_utils.lookup_table module
ScEpTIC.emulator.energy.mcu.datasheets.msp430g2553_utils.voltage_lookup_hash module
- ScEpTIC.emulator.energy.mcu.datasheets.msp430g2553_utils.voltage_lookup_hash.voltage_lookup_hash(voltage)
The voltage lookup hash of a voltage V corresponds to the highest voltage that is (i) multiple of 5 and (ii) lower than V e.g. 3.49V has an hash of 345 :param voltage: voltage :return: hash (dictionary key) associated to voltage