this repo has no description
1/*
2 VIAEMDEV.h
3
4 Copyright (C) 2004 Philip Cummins, Paul C. Pratt
5
6 You can redistribute this file and/or modify it under the terms
7 of version 2 of the GNU General Public License as published by
8 the Free Software Foundation. You should have received a copy
9 of the license along with this file; see the file COPYING.
10
11 This file is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 license for more details.
15*/
16
17#ifdef VIAEMDEV_H
18#error "header already included"
19#else
20#define VIAEMDEV_H
21#endif
22
23EXPORTPROC VIA1_Zap(void);
24EXPORTPROC VIA1_Reset(void);
25
26EXPORTFUNC ui5b VIA1_Access(ui5b Data, blnr WriteMem, CPTR addr);
27
28EXPORTPROC VIA1_ExtraTimeBegin(void);
29EXPORTPROC VIA1_ExtraTimeEnd(void);
30#ifdef VIA1_iCA1_PulseNtfy
31EXPORTPROC VIA1_iCA1_PulseNtfy(void);
32#endif
33#ifdef VIA1_iCA2_PulseNtfy
34EXPORTPROC VIA1_iCA2_PulseNtfy(void);
35#endif
36#ifdef VIA1_iCB1_PulseNtfy
37EXPORTPROC VIA1_iCB1_PulseNtfy(void);
38#endif
39#ifdef VIA1_iCB2_PulseNtfy
40EXPORTPROC VIA1_iCB2_PulseNtfy(void);
41#endif
42EXPORTPROC VIA1_DoTimer1Check(void);
43EXPORTPROC VIA1_DoTimer2Check(void);
44
45EXPORTFUNC ui4b VIA1_GetT1InvertTime(void);
46
47EXPORTPROC VIA1_ShiftInData(ui3b v);
48EXPORTFUNC ui3b VIA1_ShiftOutData(void);