Haavard Skinnemoen 8dfe8f29cd [AVR32] Clean up OCD register usage
Generate a new set of OCD register definitions in asm/ocd.h and rename
__mfdr() and __mtdr() to ocd_read() and ocd_write() respectively.

The bitfield definitions are a lot more complete now, and they are
entirely based on bit numbers, not masks. This is because OCD
registers are frequently accessed from assembly code, where bit
numbers are a lot more useful (can be fed directly to sbr, bfins,
etc.)

Bitfields that consist of more than one bit have two definitions:
_START, which indicates the number of the first bit, and _SIZE, which
indicates the number of bits. These directly correspond to the
parameters taken by the bfextu, bfexts and bfins instructions.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-12-07 14:54:40 +01:00
..
2007-11-27 09:19:39 +01:00
2007-12-07 14:54:40 +01:00
2007-11-28 01:24:04 +09:00
2007-11-26 19:15:31 -08:00
2007-11-05 12:18:17 +09:00
2007-12-05 05:38:00 -08:00
2007-12-05 05:38:01 -08:00
2007-10-20 01:24:05 +02:00