Skip to content
Snippets Groups Projects
Select Git revision
  • cdd1c2c05f8787ce1b59b665c0f4fd6a71e12d6f
  • main default protected
  • phhw
  • captouch-threshold
  • t
  • dos
  • test2
  • test
  • slewtest
  • simtest
  • view-think
  • vm-pending
  • media-buf
  • scope
  • passthrough
  • wave
  • vsync
  • dos-main-patch-50543
  • json-error
  • rahix/big-flow3r
  • pippin/media_framework
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

st3m_gfx.h

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    etshal.h 1.18 KiB
    #ifndef _INCLUDED_ETSHAL_H_
    #define _INCLUDED_ETSHAL_H_
    
    #include <os_type.h>
    
    // see http://esp8266-re.foogod.com/wiki/Random_Number_Generator
    #define WDEV_HWRNG ((volatile uint32_t*)0x3ff20e44)
    
    void ets_delay_us();
    void ets_intr_lock(void);
    void ets_intr_unlock(void);
    void ets_isr_mask(uint32_t mask);
    void ets_isr_unmask(uint32_t mask);
    void ets_isr_attach(int irq_no, void (*handler)(void *), void *arg);
    void ets_install_putc1();
    void uart_div_modify();
    void ets_set_idle_cb(void (*handler)(void *), void *arg);
    
    void ets_timer_arm_new(os_timer_t *tim, uint32_t millis, bool repeat, bool is_milli_timer);
    void ets_timer_setfn(os_timer_t *tim, ETSTimerFunc callback, void *cb_data);
    void ets_timer_disarm(os_timer_t *tim);
    
    extern void ets_wdt_disable(void);
    extern void wdt_feed(void);
    
    // Opaque structure
    typedef char MD5_CTX[64];
    
    void MD5Init(MD5_CTX *context);
    void MD5Update(MD5_CTX *context, const void *data, unsigned int len);
    void MD5Final(unsigned char digest[16], MD5_CTX *context);
    
    // These prototypes are for recent SDKs with "malloc tracking"
    void *pvPortMalloc(unsigned sz, const char *fname, int line);
    void vPortFree(void *p, const char *fname, int line);
    
    #endif // _INCLUDED_ETSHAL_H_