4381f5512f
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@107 9fe90eed-be63-e94b-8204-d34ff4c2ff93
1 line
2.7 KiB
C
1 line
2.7 KiB
C
/* ---------------------------------------------------------------------------
|
|
* analogue_test.h (c) 2008 Micro-key bv
|
|
* ---------------------------------------------------------------------------
|
|
* Micro-key bv
|
|
* Industrieweg 28, 9804 TG Noordhorn
|
|
* Postbus 92, 9800 AB Zuidhorn
|
|
* The Netherlands
|
|
* Tel: +31 594 503020
|
|
* Fax: +31 594 505825
|
|
* Email: support@microkey.nl
|
|
* Web: www.microkey.nl
|
|
* ---------------------------------------------------------------------------
|
|
* Description:
|
|
* ---------------------------------------------------------------------------
|
|
* Version(s): 0.1, Dez 11, 2008, MMi
|
|
* Creation.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* System include files.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Application include files.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
#include "BusProtocol.h"
|
|
/* ---------------------------------------------------------------------------
|
|
* Constant and macro definitions.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
#define NUMBEROFAI_MB 6
|
|
#define NUMBEROFAO_MB 8
|
|
|
|
#define NUMBEROFAI_EB 6
|
|
#define NUMBEROFAO_EB 8
|
|
/* ---------------------------------------------------------------------------
|
|
* Type definitions.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Variable declarations.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
/* ---------------------------------------------------------------------------
|
|
* Function declarations.
|
|
* ---------------------------------------------------------------------------
|
|
*/
|
|
|
|
void analogueWrite (UINT8 senderId, UINT8 targetId, UINT8 requestNr,
|
|
UINT8 functionId, UINT8 nrOfParams, UINT32 *params);
|
|
void analogueWriteAll (UINT8 senderId, UINT8 targetId, UINT8 requestNr,
|
|
UINT8 functionId, UINT8 nrOfParams, UINT32 *params);
|
|
void analogueRead (UINT8 senderId, UINT8 targetId, UINT8 requestNr,
|
|
UINT8 functionId, UINT8 nrOfParams, UINT32 *params);
|
|
void analogueReadAll (UINT8 senderId, UINT8 targetId, UINT8 requestNr,
|
|
UINT8 functionId, UINT8 nrOfParams, UINT32 *params);
|
|
|
|
void analogueMB_test_execute (void);
|
|
void analogueEB_test_execute (void);
|
|
|