/shark/tags/rel_0_4/include/drivers/pci6025e/pci6025e.h |
---|
38,6 → 38,10 |
#include "regconst.h" |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
//#define __REG_DEBUG__ //enable this in debug mode to see |
//configuration registers value |
101,5 → 105,6 |
extern WORD joint_reset, interrupt_a_enable, interrupt_a_ack, |
interrupt_b_enable, interrupt_b_ack, clock_and_fout; |
__END_DECLS |
#endif |
/*End of File: Pci6025e.h*/ |
/shark/tags/rel_0_4/include/drivers/pci6025e/timer.h |
---|
37,7 → 37,10 |
#include <drivers/pci6025e/pci6025e.h> |
#include <drivers/pci6025e/regconst.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
#define C0 0 |
#define C1 1 |
62,5 → 65,7 |
void TIM_bufferedEventCounting(BYTE, BYTE, BYTE, BYTE, DWORD); |
void TIM_timeMeasurement(BYTE, BYTE, BYTE, BYTE, BYTE, DWORD); |
void TIM_bufferedTimeMeasurement(BYTE, BYTE, BYTE, BYTE, DWORD); |
__END_DECLS |
#endif |
/*--------------------------------------------------------------------------*/ |
/shark/tags/rel_0_4/include/drivers/pci6025e/dio_ppi.h |
---|
34,7 → 34,10 |
#define _MY_DIO_H_ |
#include <drivers/pci6025e/pci6025e.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
#define ALL_IN 0x0000 //All 8 STC line in input |
#define ALL_OUT 0x00FF //All 8 STC line in output |
66,5 → 69,7 |
WORD PPI_setConfig(BYTE, BYTE, BYTE, BYTE, BYTE, BYTE); |
WORD PPI_getConfig(BYTE); |
BYTE PPI_getAddress(BYTE); |
__END_DECLS |
#endif |
/*--------------------------------------------------------------------------*/ |
/shark/tags/rel_0_4/include/drivers/pci6025e/dac.h |
---|
33,7 → 33,10 |
#include <drivers/pci6025e/pci6025e.h> |
#include <drivers/pci6025e/regconst.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
#define DAC0 0 |
#define DAC1 1 |
53,5 → 56,7 |
void DAC_Init(void); |
void DAC_output(BYTE, WORD); |
__END_DECLS |
#endif |
/*End of file: DAC.H*/ |