Subversion Repositories svn.mios32

Rev

Rev 1312 | Rev 2385 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1312 Rev 2098
Line 1... Line 1...
1
// $Id: seq_cv.h 1312 2011-08-26 23:13:40Z tk $
1
// $Id: seq_cv.h 2098 2014-12-07 19:25:03Z tk $
2
/*
2
/*
3
 * Header file for CV functions
3
 * Header file for CV functions
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 34... Line 34...
34
#define SEQ_CV_NUM_CALI_MODES AOUT_NUM_CALI_MODES
34
#define SEQ_CV_NUM_CALI_MODES AOUT_NUM_CALI_MODES
35
35
36
// size of notestack(s)
36
// size of notestack(s)
37
#define SEQ_CV_NOTESTACK_SIZE 10
37
#define SEQ_CV_NOTESTACK_SIZE 10
38
38
-
 
39
// number of clock outputs
-
 
40
#define SEQ_CV_NUM_CLKOUT 8
39
41
40
/////////////////////////////////////////////////////////////////////////////
42
/////////////////////////////////////////////////////////////////////////////
41
// Global Types
43
// Global Types
42
/////////////////////////////////////////////////////////////////////////////
44
/////////////////////////////////////////////////////////////////////////////
43
45
Line 64... Line 66...
64
extern s32 SEQ_CV_SlewRateGet(u8 cv);
66
extern s32 SEQ_CV_SlewRateGet(u8 cv);
65
67
66
extern s32 SEQ_CV_PitchRangeSet(u8 cv, u8 range);
68
extern s32 SEQ_CV_PitchRangeSet(u8 cv, u8 range);
67
extern u8 SEQ_CV_PitchRangeGet(u8 cv);
69
extern u8 SEQ_CV_PitchRangeGet(u8 cv);
68
70
69
extern s32 SEQ_CV_ClkPulseWidthSet(u8 width);
71
extern s32 SEQ_CV_ClkPulseWidthSet(u8 clkout, u8 width);
70
extern u8 SEQ_CV_ClkPulseWidthGet(void);
72
extern u8 SEQ_CV_ClkPulseWidthGet(u8 clkout);
71
73
72
extern s32 SEQ_CV_ClkDividerSet(u16 div);
74
extern s32 SEQ_CV_ClkDividerSet(u8 clkout, u16 div);
73
extern u16 SEQ_CV_ClkDividerGet(void);
75
extern u16 SEQ_CV_ClkDividerGet(u8 clkout);
-
 
76
-
 
77
extern s32 SEQ_CV_Clk_Trigger(u8 clkout);
74
78
75
extern s32 SEQ_CV_GateInversionSet(u8 gate, u8 inverted);
79
extern s32 SEQ_CV_GateInversionSet(u8 gate, u8 inverted);
76
extern u8 SEQ_CV_GateInversionGet(u8 gate);
80
extern u8 SEQ_CV_GateInversionGet(u8 gate);
77
extern s32 SEQ_CV_GateInversionAllSet(u8 mask);
81
extern s32 SEQ_CV_GateInversionAllSet(u8 mask);
78
extern u8 SEQ_CV_GateInversionAllGet(void);
82
extern u8 SEQ_CV_GateInversionAllGet(void);
Line 85... Line 89...
85
89
86
90
87
/////////////////////////////////////////////////////////////////////////////
91
/////////////////////////////////////////////////////////////////////////////
88
// Export global variables
92
// Export global variables
89
/////////////////////////////////////////////////////////////////////////////
93
/////////////////////////////////////////////////////////////////////////////
-
 
94
-
 
95
u16 seq_cv_clkout_divider[SEQ_CV_NUM_CLKOUT];
-
 
96
u8  seq_cv_clkout_pulsewidth[SEQ_CV_NUM_CLKOUT];
90
97
91
98
92
#endif /* _SEQ_CV_H */
99
#endif /* _SEQ_CV_H */