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...
Sunday, 3 January 2010 - 15:54
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;...
Wednesday, 18 November 2009 - 15:47
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...
Wednesday, 22 April 2009 - 03:45
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...
Saturday, 27 December 2008 - 17:01
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...
Saturday, 13 December 2008 - 08:01
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...
Thursday, 27 November 2008 - 03:55
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 =...
Wednesday, 19 November 2008 - 15:58
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...
Wednesday, 30 January 2008 - 13:51
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 *...
Tuesday, 21 August 2007 - 07:55
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...
Tuesday, 7 August 2007 - 14:24
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...
Tuesday, 7 August 2007 - 06:55
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)(...
Tuesday, 24 July 2007 - 08:49

Pages