Changes between Version 20 and Version 21 of Component/Vci Xicu


Ignore:
Timestamp:
Apr 13, 2013, 11:01:01 PM (11 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Component/Vci Xicu

    v20 v21  
    99 * up to 32 internal programmable timer interrupts (PTI),
    1010 * up to 32 external hardware interrupt lines (HWI),
    11  * up to 32 internal write-triggered interrupts (WTI).
     11 * up to 32 internal software-triggered interrupts (WTI).
    1212All these interrupt sources can be routed to up to 32 interrupt outputs. Each output can
    1313mask individual interrupt sources.
     
    5252||W   || XICU_MSK_HWI_DISABLE  || 01010 || OUT_INDEX ||
    5353||R   || XICU_HWI_ACTIVE       || 01010 || OUT_INDEX ||
    54 ||    || Reserved              || 01111 ||           ||
     54||    || Reserved              || 01011 ||           ||
    5555||R/W || XICU_MSK_WTI          || 01100 || OUT_INDEX ||
    5656||W   || XICU_MSK_WTI_ENABLE   || 01101 || OUT_INDEX ||
     
    5858||R   || XICU_WTI_ACTIVE       || 01110 || OUT_INDEX ||
    5959||R   || XICU_PRIO             || 01111 || OUT_INDEX ||
    60 ||    || Reserved              || 1---- ||          ||
    61 
     60||R   || XICU_CONFIG           || 10000 || unused    ||
    6261Software can use the following macro to access registers:
    6362
     
    168167'''PRIO[OUT_INDEX] : Priority Encoder for IRQ[OUT_INDEX]'''
    169168
    170 This register holds the index of the highest priority, active and unmasked interrupt for each source type.
     169This read-only register holds the index of the highest priority, active and unmasked interrupt for each source type.
    171170 * On write : Unsupported
    172171 * On read : Get the three highest-priority active interrupt indexes for IRQ[OUT_INDEX].
     
    180179 * Field PRIO_HWI (5 bits) contains the index of the highest priority hardware interrupt.
    181180 * Field PRIO_WTI (5 bits) contains the index of the highest priority software interrupt.
     181
     182'''CONFIG : Global XICU configuration register'''
     183
     184This read-only register return the XICU hardware parameters.
     185 * On write : Unsupported
     186 * On read : returns the IRQ_COUNT, WTI_COUNT, HWI_COUNT, PTI_COUNT values. Each value (between 0 & 32) coded on 6 bits
     187
     188||00IRQ_COUNT||00WTI_COUNT||00HWI_COUNT||00PTI_COUNT||
     189
     190 * IRQ_COUNT : total number of output IRQs.
     191 * WTI_COUNT : total number of software triggered interrupts.
     192 * HWI_COUNT : total number of hardware interrupts.
     193 * PTI_COUNT : total number of programmable timer interrupts.
    182194
    183195Complete specification is in [attachment:xicu-1.0.pdf].