Skip to content

machine

クラス定義

ADC

machine.ADC

DAC

machine.DAC

I2C

machine.I2C

I2S

machine.I2S

Modbus

machine.Modbus

ModbusSlave

machine.ModbusSlave

Neopixel

machine.Neopixel

PWM

machine.PWM

Pin

machine.Pin

RTC

machine.RTC

SDCard

machine.SDCard

SPI

machine.SPI

Signal

machine.Signal

Timer

machine.Timer

TouchPad

machine.TouchPad

UART

machine.UART

WDT

machine.WDT

関数

deepsleep

machine.deepsleep()

disable_irq

machine.disable_irq()

enable_irq

machine.enable_irq()

freq

machine.freq()

idle

machine.idle()

lightsleep

machine.lightsleep()

reset

machine.reset()

reset_cause

machine.reset_cause()

sleep

machine.sleep()

soft_reset

machine.soft_reset()

time_pulse_us

machine.time_pulse_us()

unique_id

machine.unique_id()

wake_reason

machine.wake_reason()

定数

DEEPSLEEP

machine.DEEPSLEEP = int(4)

DEEPSLEEP_RESET

machine.DEEPSLEEP_RESET = int(4)

EXT0_WAKE

machine.EXT0_WAKE = int(2)

EXT1_WAKE

machine.EXT1_WAKE = int(3)

HARD_RESET

machine.HARD_RESET = int(2)

PIN_WAKE

machine.PIN_WAKE = int(2)

PWRON_RESET

machine.PWRON_RESET = int(1)

SLEEP

machine.SLEEP = int(2)

SOFT_RESET

machine.SOFT_RESET = int(5)

TIMER_WAKE

machine.TIMER_WAKE = int(4)

TOUCHPAD_WAKE

machine.TOUCHPAD_WAKE = int(5)

ULP_WAKE

machine.ULP_WAKE = int(6)

WDT_RESET

machine.WDT_RESET = int(3)

__name__

machine.__name__ = str('umachine')

mem16

machine.mem16 = mem(<16-bit memory>)

mem32

machine.mem32 = mem(<32-bit memory>)

mem8

machine.mem8 = mem(<8-bit memory>)