Skip to content
Snippets Groups Projects
Select Git revision
  • 1f41b761a914ee535375faca3e08a75747f37eb8
  • master default protected
  • backslash
  • nickname-match-configs
  • genofire/leds_rgb_get_state
  • genofire/rockets-state
  • genofire/ble-follow-py
  • plaetzchen/ios-workaround
  • blinkisync-as-preload
  • genofire/haule-ble-fs-deactive
  • schneider/max30001-pycardium
  • schneider/max30001-epicaridum
  • schneider/max30001
  • schneider/stream-locks
  • ios-workarounds
  • schneider/fundamental-test
  • schneider/ble-buffers
  • schneider/maxim-sdk-update
  • ch3/splashscreen
  • koalo/bhi160-works-but-dirty
  • koalo/wip/i2c-for-python
  • 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
34 results

meson.build

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    caller.h 773 B
    #include <stdint.h>
    #include "api/common.h"
    
    /*
     * Initiate an API call.  This function is used internally by code
     * generated from the API header.
     *
     * Args:
     *   - id: ID of the call to be initiated
     *   - size: Size of the arguments buffer
     *
     * Returns:
     *   - A pointer to the argument buffer which the caller is supposed
     *     to fill.  NULL if an error occured or no buffer of the requested
     *     size is available.
     */
    void*_api_call_start(api_id_t id, uintptr_t size);
    
    /*
     * Actually do the API call that was previously initiated using
     * _api_call_start().
     *
     * Args:
     *   - buffer: Pointer to the buffer that was returned by _api_call_start().
     *
     * Returns:
     *   - Pointer to a buffer containing the return value
     */
    void*_api_call_transact(void*buffer);