Changeset 89076a8e in rtems


Ignore:
Timestamp:
May 21, 2010, 8:02:23 AM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
19d11850
Parents:
23f35aa
Message:

2010-05-21 Sebastian Huber <sebastian.huber@…>

  • include/lpc32xx.h: Update for utility macro changes.
Location:
c/src/lib/libbsp/arm/lpc32xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc32xx/ChangeLog

    r23f35aa r89076a8e  
     12010-05-21      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * include/lpc32xx.h: Update for utility macro changes.
     4
    152010-05-20      Sebastian Huber <sebastian.huber@embedded-brains.de>
    26
  • c/src/lib/libbsp/arm/lpc32xx/include/lpc32xx.h

    r23f35aa r89076a8e  
    230230#define HCLK_PLL_LOCK BIT32(0)
    231231#define HCLK_PLL_M(val) FIELD32(val, 1, 8)
    232 #define HCLK_PLL_N(val) FIELD32(val, 9, 2)
    233 #define HCLK_PLL_P(val) FIELD32(val, 11, 2)
     232#define HCLK_PLL_N(val) FIELD32(val, 9, 10)
     233#define HCLK_PLL_P(val) FIELD32(val, 11, 12)
    234234#define HCLK_PLL_FBD_FCLKOUT BIT32(13)
    235235#define HCLK_PLL_DIRECT BIT32(14)
     
    245245 */
    246246
    247 #define HCLK_DIV_HCLK(val) FIELD32(val, 0, 2)
    248 #define HCLK_DIV_PERIPH_CLK(val) FIELD32(val, 2, 5)
    249 #define HCLK_DIV_DDRAM_CLK(val) FIELD32(val, 7, 2)
     247#define HCLK_DIV_HCLK(val) FIELD32(val, 0, 1)
     248#define HCLK_DIV_PERIPH_CLK(val) FIELD32(val, 2, 6)
     249#define HCLK_DIV_DDRAM_CLK(val) FIELD32(val, 7, 8)
    250250
    251251/** @} */
Note: See TracChangeset for help on using the changeset viewer.