ScEpTIC.emulator.custom_devices package
Subpackages
- ScEpTIC.emulator.custom_devices.D2VFS package
- ScEpTIC.emulator.custom_devices.FBTC package
- ScEpTIC.emulator.custom_devices.FBTCLogicOnly package
- Submodules
- ScEpTIC.emulator.custom_devices.FBTCLogicOnly.changepoint_detector module
- Module contents
FBTCSystemModelLogicOnly
FBTCSystemModelLogicOnly.get_signals()
FBTCSystemModelLogicOnly.get_signals_strings()
FBTCSystemModelLogicOnly.init()
FBTCSystemModelLogicOnly.name
FBTCSystemModelLogicOnly.op_mode_name
FBTCSystemModelLogicOnly.operational_zones
FBTCSystemModelLogicOnly.run_logic()
FBTCSystemModelLogicOnly.sensitivity
FBTCSystemModelLogicOnly.setup()
FBTCSystemModelLogicOnly.voltage_dividers
- ScEpTIC.emulator.custom_devices.HibernusVoltageMonitor package
Module contents
- class ScEpTIC.emulator.custom_devices.CustomDevice
Bases:
object
Custom device skeleton
- get_signals()
- Returns:
a list with the signals collected from this device
- get_signals_strings()
- Returns:
a list with the names of the signals that may be collected from this device
- init(print_enabled=True)
Initializes the device :param print_enabled: enables/disables print messages :return: the number of clock cycles executed by the MCU during custom device operations
- name = 'GENERIC_CUSTOM_DEVICE'
- run_logic()
Runs the logic of the custom device :return: the number of clock cycles executed by the MCU during custom device operations
- setup(system_model)
Sets up the custom device. Note that this is a callback called by the system model :param system_model: the system model