??? 08/07/07 09:32 Read: times |
#142855 - Experience Responding to: ???'s previous message |
Through painfull experience I now also use similar typedefs and the like. It seems to me that this is one of the areas where experience is the only teacher, as you just don't appreciate the can of worms behind the phrase compiler dependant. Endian problems are probably the hardest to spot.
I really think it would be good if C had a standarised way of dealing with some basic microcontroller hardware. 1. Declaring a function to be an interrupt handler 2. Variables located at a fixed address to match memory mapped IO 3. Boolean type and/or 1 bit variable. |
Topic | Author | Date |
A Simpler Way? | 01/01/70 00:00 | |
Logical AND ? | 01/01/70 00:00 | |
Shift? | 01/01/70 00:00 | |
I Agree. | 01/01/70 00:00 | |
Another Option | 01/01/70 00:00 | |
the simplest way | 01/01/70 00:00 | |
capitals | 01/01/70 00:00 | |
I copyued what the OP used | 01/01/70 00:00 | |
The common use of CAPs in C | 01/01/70 00:00 | |
totally agree, however | 01/01/70 00:00 | |
Why are you rambling about variables... | 01/01/70 00:00 | |
not to me | 01/01/70 00:00 | |
Variable capitalisation? | 01/01/70 00:00 | |
'code 'never is | 01/01/70 00:00 | |
Did not think it mattered. | 01/01/70 00:00 | |
Code modifier | 01/01/70 00:00 | |
both | 01/01/70 00:00 | |
Use both | 01/01/70 00:00 | |
C++ ? | 01/01/70 00:00 | |
Mixed | 01/01/70 00:00 | |
Extensions | 01/01/70 00:00 | |
Experience | 01/01/70 00:00 |