1 #ifndef HARDWARE_ADKBITS_H 2 #define HARDWARE_ADKBITS_H 3 4 /* 5 adkcon bit defines 6 7 Copyright © 2002 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 11 #define ADKB_SETCLR 15 12 #define ADKB_PRECOMP1 14 13 #define ADKB_PRECOMP0 13 14 #define ADKB_MFMPREC 12 15 #define ADKB_UARTBRK 11 16 #define ADKB_WORDSYNC 10 17 #define ADKB_MSBSYNC 9 18 #define ADKB_FAST 8 19 #define ADKB_USE3PN 7 20 #define ADKB_USE2P3 6 21 #define ADKB_USE1P2 5 22 #define ADKB_USE0P1 4 23 #define ADKB_USE3VN 3 24 #define ADKB_USE2V3 2 25 #define ADKB_USE1V2 1 26 #define ADKB_USE0V1 0 27 28 #define ADKF_SETCLR (1<<ADKB_SETCLR) 29 #define ADKF_PRECOMP1 (1<<ADKB_PRECOMP1) 30 #define ADKF_PRECOMP0 (1<<ADKB_PRECOMP0) 31 #define ADKF_MFMPREC (1<<ADKB_MFMPREC) 32 #define ADKF_UARTBRK (1<<ADKB_UARTBRK) 33 #define ADKF_WORDSYNC (1<<ADKB_WORDSYNC) 34 #define ADKF_MSBSYNC (1<<ADKB_MSBSYNC) 35 #define ADKF_FAST (1<<ADKB_FAST) 36 #define ADKF_USE3PN (1<<ADKB_USE3PN) 37 #define ADKF_USE2P3 (1<<ADKB_USE2P3) 38 #define ADKF_USE1P2 (1<<ADKB_USE1P2) 39 #define ADKF_USE0P1 (1<<ADKB_USE0P1) 40 #define ADKF_USE3VN (1<<ADKB_USE3VN) 41 #define ADKF_USE2V3 (1<<ADKB_USE2V3) 42 #define ADKF_USE1V2 (1<<ADKB_USE1V2) 43 #define ADKF_USE0V1 (1<<ADKB_USE0V1) 44 45 46 #define ADKF_PRE000NS 0 47 #define ADKF_PRE140NS (ADKF_PRECOMP0) 48 #define ADKF_PRE280NS (ADKF_PRECOMP1) 49 #define ADKF_PRE560NS (ADKF_PRECOMP0 | ADKF_PRECOMP1) 50 51 52 #endif /* HARDWARE_ADKBITS_H */