Skip to content
Snippets Groups Projects
Select Git revision
  • bdd77470739bdb23944ac3940184a70c14fbcc95
  • master default protected
  • add_menu_vibration
  • genofire/ble-follow-py
  • schneider/standby
  • plaetzchen/ios-workaround
  • blinkisync-as-preload
  • schneider/max30001-pycardium
  • schneider/max30001-epicaridum
  • schneider/max30001
  • schneider/stream-locks
  • schneider/fundamental-test
  • schneider/ble-buffers
  • schneider/maxim-sdk-update
  • ch3/splashscreen
  • koalo/bhi160-works-but-dirty
  • koalo/wip/i2c-for-python
  • renze/safe_mode
  • renze/hatchery_apps
  • koalo/factory-reset
  • msgctl/gfx_rle
  • v1.10
  • v1.9
  • v1.8
  • v1.7
  • v1.6
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
35 results

trng.c

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    modmachine.h 1.11 KiB
    #ifndef MICROPY_INCLUDED_ESP32_MODMACHINE_H
    #define MICROPY_INCLUDED_ESP32_MODMACHINE_H
    
    #include "py/obj.h"
    
    typedef enum {
        // MACHINE_WAKE_IDLE=0x01,
        MACHINE_WAKE_SLEEP=0x02,
        MACHINE_WAKE_DEEPSLEEP=0x04
    } wake_type_t;
    
    extern const mp_obj_type_t machine_timer_type;
    extern const mp_obj_type_t machine_wdt_type;
    extern const mp_obj_type_t machine_pin_type;
    extern const mp_obj_type_t machine_touchpad_type;
    extern const mp_obj_type_t machine_adc_type;
    extern const mp_obj_type_t machine_adcblock_type;
    extern const mp_obj_type_t machine_dac_type;
    extern const mp_obj_type_t machine_i2c_type;
    extern const mp_obj_type_t machine_spi_type;
    extern const mp_obj_type_t machine_i2s_type;
    extern const mp_obj_type_t machine_uart_type;
    extern const mp_obj_type_t machine_rtc_type;
    extern const mp_obj_type_t machine_sdcard_type;
    
    void machine_init(void);
    void machine_deinit(void);
    void machine_pins_init(void);
    void machine_pins_deinit(void);
    void machine_pwm_deinit_all(void);
    // TODO: void machine_rmt_deinit_all(void);
    void machine_timer_deinit_all(void);
    void machine_i2s_init0();
    
    #endif // MICROPY_INCLUDED_ESP32_MODMACHINE_H