EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Beginners
»
AVR C
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: AVR C (Read 2502 times)
0 Members and 1 Guest are viewing this topic.
bogdan2013
Regular Contributor
Posts: 54
Country:
Always is someone better than you !
AVR C
«
on:
February 21, 2013, 01:22:03 pm »
Hello !
I want to learn more about AVR C programming language . I understand the basics , but I saw in more complex scripts this words :
uint8_t
voilatile
TTCR
TIMSK
TCNT
I don't know what are and what are doing .
Logged
Simon
Global Moderator
Posts: 17830
Country:
Did that just blow up? No? might work after all !!
Re: AVR C
«
Reply #1 on:
February 21, 2013, 01:24:25 pm »
You could start by posting in the microcontroller section of the forum !
Logged
bogdan2013
Regular Contributor
Posts: 54
Country:
Always is someone better than you !
Re: AVR C
«
Reply #2 on:
February 21, 2013, 01:25:48 pm »
Ok . Sorry !
Logged
Kremmen
Super Contributor
Posts: 1289
Country:
Re: AVR C
«
Reply #3 on:
February 21, 2013, 01:34:51 pm »
Like the man said, there is a better forum for this. Anyway, you have a lot of study in your future. Suggested reading:
"uint8_t" - one of the machine architecture independent typedefs in <stdint.h>, a standard toolchain header file. Study AVR-libc runtime library, documented at:
http://www.nongnu.org/avr-libc/
"volatile" - C keyword; study C language tutorials and guides, available in Interweb and all over the place.
TTCR, TIMSK, TCNT - processor peripheral register defines in <avr/io.h>. Study the relevant MCU documentation from Atmel, freely available at
http://www.atmel.com
. For example, the popular ATMega328 used in Arduino, can be found here:
http://www.atmel.com/Images/Atmel-8271-8-bit-AVR-Microcontroller-ATmega48A-48PA-88A-88PA-168A-168PA-328-328P_datasheet.pdf
Logged
Nothing sings like a kilovolt.
Dr W. Bishop
bogdan2013
Regular Contributor
Posts: 54
Country:
Always is someone better than you !
Re: AVR C
«
Reply #4 on:
February 21, 2013, 01:42:27 pm »
I started a new topic here :
https://www.eevblog.com/forum/microcontrollers/avr-c-14347/
.
@ Kremmen : Thanks ! I will try to do something with that commands .
Logged
MikeK
Super Contributor
Posts: 1314
Country:
Re: AVR C
«
Reply #5 on:
February 21, 2013, 07:20:24 pm »
The guys at AVRFreaks.net can probably provide help.
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Beginners
»
AVR C
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee