Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60720930
test_double_buffering.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 2, 04:44
Size
510 B
Mime Type
text/x-c
Expires
Sat, May 4, 04:44 (2 d)
Engine
blob
Format
Raw Data
Handle
17402313
Attached To
rADAPTIVERPEAKPUBLIC Adaptive R peak detection in PULP - Public
test_double_buffering.c
View Options
#include "test_double_buffering.h"
#include "rt/rt_api.h"
#include <stdio.h>
void testDoubleBuff(int32_t* arg[]){
int16_t* ecg_buff = (int16_t*) arg[0]; // pointing at ecg_buff from 0 and then using start_index_w and end_main_loop to use the correct part of the buffer
int32_t start_index_w = *(arg[1]);
int32_t end_main_loop = *(arg[2]);
// printf("start_index_w: %d end_main_loop: %d\n",start_index_w,end_main_loop );
// for(int i=start_index_w; i<end_main_loop;i++)
// printf("%d\n",ecg_buff[i]);
}
Event Timeline
Log In to Comment