Package: avr-libc
Version: 1:1.4.5-3
Severity: normal
Tags: patch

In the include file for the at90pwm devices, in the register PLLCSR,
one bit has the wrong name.
According the datasheet (Atmel document id 4317H–AVR–12/06, page 36) bit
#2 should have the name PLLF, not PCKE.

The attached patch fixes the it.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
--- avr-libc-1.4.5.orig/include/avr/io90pwmx.h	2005-11-10 23:19:07.000000000 +0100
+++ avr-libc-1.4.5/include/avr/io90pwmx.h	2007-04-20 15:06:50.000000000 +0200
@@ -370,7 +370,7 @@
 /* PLL Control and Status Register */
 #define PLLCSR  _SFR_IO8(0x29)
 /* PLLCSR */
-#define PCKE    2   /* PCK Enable */
+#define PLLF    2   /* PCK Enable */
 #define PLLE    1   /* PLL Enable */
 #define PLOCK   0   /* PLL Lock Detector */
 

Reply via email to