I may be missing something here, but being new to Flowcode (and C for that matter), I am sometimes struggling to understand and
find all the various C statements I can put into the C blocks. Although Flowcode is excellent on its own, the C block is an extremely important
element in that it give the user the ability to go beyond any Flowcode limitations. I find myself using it more and more.
I have looked (but cannot find) a definitive document that lists and descibes all the C statements that can be used within AVR C blocks. I have in the past
asked on the forum for particular answers and some of these have refered to the BoostC documentation, some of the literature says that the professional
versions (which is what I have) ... it comes bundled with that, but I cannot find it !.
Now I could be wrong here, but I get the impression that there may be some C statements that are more pertinent to "embedded programming" and indeed
may be specifically included as such, and some may have more relevence to one micro rather to another so it would be good to have a source of reference
for all this. For instance I have just stumbled on one I did not know about, that could be very useful .... set_bit (reg_name,bit) ..... now is there a C statement that I can use to test a bit in a register directly ?.
Perhaps this BoostC information contains all this, but I cannot find it.
Iain
C Documentation for AVR
Moderator: Benj
-
iain wilkie
- Posts: 97
- Joined: Tue Jul 14, 2009 4:37 pm
- Has thanked: 13 times
- Been thanked: 9 times
- Steve
- Matrix Staff
- Posts: 3434
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: C Documentation for AVR
Flowcode for PICmicros uses the BoostC C compiler (and can also be used with the HITECH C compiler). But Flowcode for AVR and Flowcode for ARM both use the GCC compiler.
There are a lot of resources on the Internet for this compiler - for example, search for the following: "documentation AVR GCC". The AVRFreaks website contains a lot of useful information about programming AVRs and this might be a good place to start.
There are a lot of resources on the Internet for this compiler - for example, search for the following: "documentation AVR GCC". The AVRFreaks website contains a lot of useful information about programming AVRs and this might be a good place to start.