aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_lowspeed.iom
diff options
context:
space:
mode:
authorNicolas Schodet2023-03-06 17:36:31 +0100
committerNicolas Schodet2023-03-06 17:36:31 +0100
commitd383f2bcdb6ff13cc562fce1ff55d826035debad (patch)
treef5cd0440869b8ba823fd254b361cdefe95e153b4 /AT91SAM7S256/Source/c_lowspeed.iom
parent8fce63fda48a6593870ffd3c584c9dd0808bc2c2 (diff)
Simplify source tree
Now just use make in the root directory to build.
Diffstat (limited to 'AT91SAM7S256/Source/c_lowspeed.iom')
-rw-r--r--AT91SAM7S256/Source/c_lowspeed.iom95
1 files changed, 0 insertions, 95 deletions
diff --git a/AT91SAM7S256/Source/c_lowspeed.iom b/AT91SAM7S256/Source/c_lowspeed.iom
deleted file mode 100644
index 290ed35..0000000
--- a/AT91SAM7S256/Source/c_lowspeed.iom
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-// Date init 14.12.2004
-//
-// Revision date $Date:: 14-11-07 12:40 $
-//
-// Filename $Workfile:: c_lowspeed.iom $
-//
-// Version $Revision:: 1 $
-//
-// Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/c_lows $
-//
-// Platform C
-//
-
-#ifndef CLOWSPEED_IOM
-#define CLOWSPEED_IOM
-
-#define pMapLowSpeed ((IOMAPLOWSPEED*)(pHeaders[ENTRY_LOWSPEED]->pIOMap))
-
-#define MAX_RETRY_TX_COUNT 3
-#define NO_OF_LOWSPEED_COM_CHANNEL 4
-#define NO_OF_LSBUF NO_OF_LOWSPEED_COM_CHANNEL
-#define SIZE_OF_LSBUF 16
-
-//Constants referring to LowSpeedDeviceType
-enum
-{
- ULTRA_SONIC = 2,
- CUSTOM_LS_DEVICE
-};
-
-// Constants reffering to State
-enum
-{
- COM_CHANNEL_NONE_ACTIVE = 0x00,
- COM_CHANNEL_ONE_ACTIVE = 0x01,
- COM_CHANNEL_TWO_ACTIVE = 0x02,
- COM_CHANNEL_THREE_ACTIVE = 0x04,
- COM_CHANNEL_FOUR_ACTIVE = 0x08
-};
-
-// Constants reffering to ChannelState
-enum
-{
- LOWSPEED_IDLE,
- LOWSPEED_INIT,
- LOWSPEED_LOAD_BUFFER,
- LOWSPEED_COMMUNICATING,
- LOWSPEED_ERROR,
- LOWSPEED_DONE
-};
-
-// Constants reffering to Mode
-enum
-{
- LOWSPEED_TRANSMITTING = 1,
- LOWSPEED_RECEIVING,
- LOWSPEED_DATA_RECEIVED
-};
-
-// Constants reffering to ErrorType
-enum
-{
- LOWSPEED_NO_ERROR = 0,
- LOWSPEED_CH_NOT_READY,
- LOWSPEED_TX_ERROR,
- LOWSPEED_RX_ERROR
-};
-
-
-typedef struct
-{
- UBYTE Buf[SIZE_OF_LSBUF];
- UBYTE InPtr;
- UBYTE OutPtr;
- UBYTE BytesToRx;
-}LSBUF;
-
-typedef struct
-{
- LSBUF InBuf[NO_OF_LSBUF];
- LSBUF OutBuf[NO_OF_LSBUF];
- UBYTE Mode[NO_OF_LSBUF];
- UBYTE ChannelState[NO_OF_LSBUF];
- UBYTE ErrorType[NO_OF_LSBUF];
- UBYTE State;
- UBYTE Speed;
- UBYTE Spare1;
-}IOMAPLOWSPEED;
-
-
-#endif
-
-
-