Ignore:
Timestamp:
Dec 5, 2013, 4:26:41 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6eb1733
Parents:
5df9bf6
git-author:
Sebastian Huber <sebastian.huber@…> (12/05/13 16:26:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/16/13 14:15:42)
Message:

bsp/genmcf548x: Add initial values for INTC_ICRn

According to the manual the application must use unique and
non-overlapping level and priority definitions for enabled interrupts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/genmcf548x/clock/clock.c

    r5df9bf6 r8d292011  
    9191  do {                                                                  \
    9292    int level;                                                          \
    93     MCF548X_INTC_ICR54 =   MCF548X_INTC_ICRn_IL(SLT0_IRQ_LEVEL) |       \
    94       MCF548X_INTC_ICRn_IP(SLT0_IRQ_PRIORITY);                          \
    9593    rtems_interrupt_disable( level );                                   \
    9694    MCF548X_INTC_IMRH &= ~(MCF548X_INTC_IMRH_INT_MASK54);               \
Note: See TracChangeset for help on using the changeset viewer.