Studentenversion des ESY6/A Praktikums "signal_processing".
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.

hardware_task.h 508B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. #include <inttypes.h>
  6. enum {
  7. HARDWARE_TASK_IDLE = 0,
  8. HARDWARE_TASK_RUNNING = 1,
  9. HARDWARE_TASK_DONE = 2
  10. };
  11. void hardware_task_start( uint32_t base );
  12. uint32_t hardware_task_get_state( uint32_t base );
  13. uint32_t hardware_task_get_cycle_count( uint32_t base );
  14. void hardware_task_set_config( uint32_t base, uint32_t offset, uint32_t value );
  15. uint32_t hardware_task_get_config( uint32_t base, uint32_t offset );
  16. #ifdef __cplusplus
  17. }
  18. #endif