Loesung des Praktikums Systementwurf - Bjarne Hoesch - Bernhard Schoeffel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

binding.h 507B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #include <inttypes.h>
  6. enum {
  7. BINDING_SW = 0,
  8. BINDING_HW = 1
  9. };
  10. typedef struct {
  11. uint32_t sink;
  12. uint32_t source;
  13. } DataChannelBinding;
  14. void binding_from_value( uint32_t value, uint32_t * config );
  15. int binding_get_channel_binding( const uint32_t * connections,
  16. const uint32_t * binding,
  17. uint32_t n,
  18. DataChannelBinding * channel_binding );
  19. const char * binding_to_string( uint32_t binding );
  20. #ifdef __cplusplus
  21. }
  22. #endif