Post Created date
winar 2D flash array
Try to read this tutorial first. https://www.avrfreaks.net/index.p...
Saturday, 16 January 2010 - 04:39
Interrupt Doubt...
astro_sailor04 wrote:kk..i get it...thank you all so much for helping... And you may need to read this tutorial also. https://www.avrfreaks.net/index.p...
Tuesday, 5 January 2010 - 12:24
32 bit variables in C on Atmega 16
ch = (IR_HEAD&(1 << i) ? '1' : '0'); try this. ch = (IR_HEAD&(1UL << i) ? '1' : '0'); regards,
Monday, 4 January 2010 - 07:39
Need idea for io bit field macro
Currently I'm using this idea already. #ifdef PORTG #define ioPORTG ((volatile io_reg*)...
Wednesday, 18 November 2009 - 16:03
Interrupt routine help
Remove your variable to global area (above your main), and also read this FAQ. http://www.nongnu.org/avr-libc/u...
Monday, 2 November 2009 - 05:46
how can i distrubute bits to other varibles
union{ unsigned char byte; struct{ unsigned char low:4; unsigned char high:4; }nibble; }data; unsigned char a,b; int main() { data.byte = 0b11110000; a =...
Tuesday, 6 October 2009 - 04:43
C pointer questioin
Do you want to do like this ? typedef union{ struct{ unsigned bit:1; unsigned char byte; }member; unsigned int all; }variable_TypeDef; variable_TypeDef...
Friday, 7 August 2009 - 10:07
C pointer questioin
address = (unsigned int)&variable.member.byte;
Friday, 7 August 2009 - 09:47
I/O port bit operations as boolean variables - a study
I'm done similar your method, calling it in "IoBIT.h" #ifndef _AVR_IO_BIT_H_INCLUDED #define _AVR_IO_BIT_H_INCLUDED #include /* * Struct Definition */ typedef struct...
Tuesday, 28 July 2009 - 12:01
Atomic code to prevent interrupt
I updated the WINAVR, and test again it is ok. #include #include volatile uint16_t shared_varible; uint16_t copy_varible; int main (void) { sei(); for(;;) {...
Friday, 29 May 2009 - 16:04
Atomic code to prevent interrupt
Thank you. But still not work. Quote:Build started 29.5.2009 at 00:46:38 avr-gcc.exe -mmcu=atmega168 -Wall -gdwarf-2 -O0 -std=gnu99 -MD -MP -MT main.o -MF dep/main.o.d -c ../...
Friday, 29 May 2009 - 05:46
Atomic code to prevent interrupt
Quote:Perhaps but the library already provides: http://www.nongnu.org/avr-libc/u... ... tomic.html Sorry, This lib is require C99 standard. How to set this standard ? I'm using...
Friday, 29 May 2009 - 03:11

Pages