need header.h w all bits number definiton for atmega's

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

standart .h files has not all bits definiton in CVAVR IAR and ICC

file like this

#define RXB8 1
#define TXB8 0
#define UPE 2
#define OVR 3
#define FE 4
#define UDRE 5
#define RXC 7

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In ImageCraft, the individual I/O bits are named in the ioxxxv.h files. Replace 'xxx' according to your particular AVR model.

I don't think CodeVision includes a standard location to find individual I/O bit definitions.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

there got some like those in GCC too, I saw sometime.

A|)vanc3|) |\/|anUFactu|2InG

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

With IAR, you have to:

#define ENABLE_BIT_DEFINITIONS