| ??? 06/03/01 09:07 Read: times |
#12146 - RE: Keil C : read two byte? |
Here a example how I am doing the things:
#define LowB(x) (*((UINT8*)&(##x)+1)) #define HighB(x) (*((UINT8*)&(##x)+0)) access is then done: LowB(wordvar)=P0; HighB(wordvar)=P1; Thomas |
| Topic | Author | Date |
| Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
| RE: Keil C : read two byte? | 01/01/70 00:00 | |
RE: Keil C : read two byte? | 01/01/70 00:00 |



