-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further pulse train streaming preparation.
- Loading branch information
1 parent
0532671
commit 4f31283
Showing
11 changed files
with
1,646 additions
and
1,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* ptd_queue.h | ||
* | ||
* NOTICE (do not remove): | ||
* This file is part of project NeoDK (https://github.com/Onwrikbaar/NeoDK). | ||
* See https://github.com/Onwrikbaar/NeoDK/blob/main/LICENSE.txt for full license details. | ||
* | ||
* Created on: 12 Jan 2025 | ||
* Author: mark | ||
* Copyright 2025 Neostim™ | ||
*/ | ||
|
||
#ifndef INC_PTD_QUEUE_H_ | ||
#define INC_PTD_QUEUE_H_ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
#include "pulse_train.h" | ||
|
||
typedef struct _PtdQueue PtdQueue; // Opaque type. | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
// Class method. | ||
PtdQueue *PtdQueue_new(uint16_t nr_of_descriptors); | ||
|
||
// Instance methods. | ||
void PtdQueue_bytesFree(PtdQueue *, uint16_t[2]); | ||
bool PtdQueue_addDescriptor(PtdQueue *, PulseTrain const *, uint16_t sz); | ||
void PtdQueue_delete(PtdQueue *); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -634,7 +634,7 @@ void BSP_init() | |
|
||
char const *BSP_firmwareVersion() | ||
{ | ||
return "v0.48-beta"; | ||
return "v0.49-beta"; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters