Missing #defines for UC3C2512

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Toolchains 3.3.2 & 3.4.0 are missing #defines.

Analogue input 10 (ADCIN10) needs ;
#define AVR32_ADCIN10_PIN 21
#define AVR32_ADCIN10_FUNCTION 0

To write to the SCIF registers the unlock code is the port address, but some definitions are missing.
ie. there are ; two OSCCTRL, two PLL control and 2 GPLP registers, but only the '0' registers have been defined.
Therefore the existing
#define AVR32_SCIF_OSCCTRL 0x00000024
#define AVR32_SCIF_PLL 0x0000001c
#define AVR32_SCIF_GPLP 0x0000005c

should be changed to
#define AVR32_SCIF_OSCCTRL0 0x00000024
#define AVR32_SCIF_PLL0 0x0000001c
#define AVR32_SCIF_GPLP0 0x0000005c

and add
#define AVR32_SCIF_OSCCTRL1 0x00000028
#define AVR32_SCIF_PLL1 0x00000020
#define AVR32_SCIF_GPLP1 0x00000060