Type in the full discussion title or a part of it.
Discussion Title Created date
Question on memory allocation in program memory
Hi all, I know these will allocated to program memory section, but not sure are these allocated to .text section ? or any section on program memory ? unsigned char var1[] = "Is...
Sun. Jan 3, 2010 - 03:54 PM
Need idea for io bit field macro
hi all, Currently I'm using bit field style for I/O and I'm making the definitions of I/O bit field as below. typedef struct { unsigned char b0:1; unsigned char b1:1;...
Wed. Nov 18, 2009 - 03:47 PM
ATMEGA64 TIMSK issue
Dear all, I found some problem on ATMEGA64, first I'm using only timer0 in output compare mode to make a system basetime every thing work perfectly. // Base timer using timer0...
Wed. Apr 22, 2009 - 03:45 AM
Optimize problem
Hi all, I'm trying to make software keypad4x4 by using ATMEG64 with GCC. The software will get the keypad and convert it to 16bit key status (bit0 = KEY1 status...bit15 = KEY16...
Sat. Dec 27, 2008 - 05:01 PM
switch depress from danni debounce code
Hi all, I'm trying to do a switch depress routine from danni debounce code, in my understanding I may need to keeping the prvious fixed debounce data, then compare with the...
Sat. Dec 13, 2008 - 08:01 AM
Confusion on __attribute__((__packed__))
Hi all, I have to confuse on using of __attribute__((__packed__)). struct bits { uint8_t b0:1; uint8_t b1:1; uint8_t b2:1; uint8_t b3:1; uint8_t b4:1; uint8_t b5:1...
Thu. Nov 27, 2008 - 03:55 AM
Question on program memory and structure
#include typedef struct { unsigned int a; unsigned char b; }dataStruct; const dataStruct data PROGMEM = {0xfe02, 0x01}; int main() { unsigned int readData; readData =...
Wed. Nov 19, 2008 - 03:58 PM
Asynchronous operation on timer2
Hi all, I'm trying to make the RTC on ATMEGA48 by using timer/counter2 in asynchronous operation mode by base on AVR134 application note, but no counting start on timer/counter2...
Wed. Jan 30, 2008 - 01:51 PM
Circular Buffers
Hi all, I'm trying to implement the circular buffers in C for AVR. Any one have good experience? #define BufferSize 10 unsigned char Buffer[BufferSize]; unsigned char *...
Tue. Aug 21, 2007 - 07:55 AM
could we declare variable by give address ?
Hi all, Has any one ever declare variable by give address? Such as I need to declare the variable name "temp" at address 0x0180. How to implement it in C ? I tried to find it in...
Tue. Aug 7, 2007 - 02:24 PM
How to indicated the first of data in data frame
Hi all, I'm trying to send 100 byte data to rs232, each byte have value from 0-255, I try to find the good way to indicated the first byte of data frame. Now I have only one idea...
Tue. Aug 7, 2007 - 06:55 AM
function pointer
Hi..all, I have some problem on function pointer in winavr. On 8051 C compiler I can do... /* Pointer to the function (must be a 'void (void)'function) */ void (code * pFunc)(...
Tue. Jul 24, 2007 - 08:49 AM

Pages