aboutsummaryrefslogtreecommitdiffstats
path: root/src/hal/components/streamer.h
blob: 656df5095bafd789fbcf94815311ebff678559ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/********************************************************************
* Description:  streamer.h
*               Typedefs and such for the "streamer" and "sampler"
*               HAL components.
*
* Author: John Kasunich <jmkasunich at sourceforge dot net>
* License: GPL Version 2
*    
* Copyright (c) 2006 All rights reserved.
*
********************************************************************/

#define MAX_STREAMERS		8
#define MAX_SAMPLERS		8
#define MAX_PINS 		20
#define MAX_SHMEM 		128000
#define STREAMER_SHMEM_KEY 	0x48535430
#define SAMPLER_SHMEM_KEY	0x48534130

/* this struct lives in HAL shared memory */

typedef union {
    hal_bit_t *hbit;
    hal_float_t *hfloat;
    hal_u32_t *hu32;
    hal_s32_t *hs32;
} pin_data_t;

bues.ch cgit interface