Skip to content
Snippets Groups Projects
Select Git revision
  • 2a8cf4204765b56ea99bffc19b66346924e1db36
  • ctx default
  • master protected
  • rahix/bhi160-cleanup
  • schneider/ble-hid
  • schneider/bsec
  • schneider/212-reset-hardware-when-entering-repl
  • schneider/exnostat-remove-gapple
  • schneider/g-watch
  • schneider/ble-time
  • schneider/bonding-fail-if-full
  • schneider/bonding-naming
  • schneider/rng-btle
  • schneider/trng-enable-fix
  • schneider/sdk-0.2.1-12
  • schneider/ble-critical-section
  • schneider/covid-tracing
  • schneider/ble-fixes-2020-3
  • schneider/spo2-playground
  • schneider/mpy-portstate
  • schneider/fix-ble-mac-write
  • v1.15
  • v1.14
  • v1.13
  • v1.12
  • v1.11
  • 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
40 results

qstrdefs.h

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    qstrdefs.h 2.94 KiB
    #include "py/mpconfig.h"
    
    #ifndef Q
    #define Q(x)
    #endif
    
    /* leds */
    Q(sys_leds)
    Q(update)
    Q(set)
    Q(get_rgb)
    Q(set_hsv)
    Q(prep)
    Q(prep_hsv)
    Q(set_all)
    Q(set_all_hsv)
    Q(set_flashlight)
    Q(set_rocket)
    Q(get_rocket)
    Q(flash_rocket)
    Q(set_powersave)
    Q(set_gamma)
    Q(dim_top)
    Q(dim_bottom)
    Q(BOTTOM_LEFT)
    Q(BOTTOM_RIGHT)
    Q(TOP_LEFT)
    Q(TOP_RIGHT)
    
    /* buttons */
    Q(buttons)
    Q(read)
    Q(BOTTOM_LEFT)
    Q(TOP_LEFT)
    Q(BOTTOM_RIGHT)
    Q(TOP_RIGHT)
    Q(RESET)
    
    /* utime */
    Q(utime)
    Q(alarm)
    Q(sleep)
    Q(sleep_ms)
    Q(sleep_us)
    Q(ticks_ms)
    Q(ticks_us)
    Q(ticks_cpu)
    Q(ticks_add)
    Q(ticks_diff)
    Q(localtime)
    Q(mktime)
    Q(monotonic)
    Q(monotonic_ms)
    Q(time)
    Q(time_ms)
    Q(unix_time)
    Q(unix_time_ms)
    Q(set_time)
    Q(set_time_ms)
    Q(set_unix_time)
    Q(set_unix_time_ms)
    
    /* vibra */
    Q(vibra)
    Q(vibrate)
    
    Q(set_callback)
    Q(enable_callback)
    Q(disable_callback)
    Q(BHI160_ACCELEROMETER)