1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
trezor-firmware/mocks/machine.py

42 lines
455 B
Python

def reset():
pass
def reset_cause():
pass
def disable_irq():
pass
def enable_irq(state):
pass
def freq():
pass
def idle():
pass
def sleep():
pass
def deepsleep():
pass
def unique_id():
pass
def time_pulse_us(pin, pulse_level, timeout_us=1000000):
pass
IDLE = 0
SLEEP = 0
DEEPSLEEP = 0
PWRON_RESET = 0
HARD_RESET = 0
WDT_RESET = 0
DEEPSLEEP_RESET = 0
SOFT_RESET = 0
WLAN_WAKE = 0
PIN_WAKE = 0
RTC_WAKE = 0