OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [doc/] [or1ksim.texi] - Diff between revs 428 and 430

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 428 Rev 430
Line 1891... Line 1891...
@item edge_trigger = 0|1
@item edge_trigger = 0|1
@cindex @code{edge_trigger} (interrupt controller)
@cindex @code{edge_trigger} (interrupt controller)
If 1 (true, the default), the programmable interrupt controller is
If 1 (true, the default), the programmable interrupt controller is
edge triggered.  If 0 (false), it is level triggered.
edge triggered.  If 0 (false), it is level triggered.
 
 
 
@quotation Note
 
When configured to be edge triggered, interrupts must be cleared in the PICSR by the processor writing a '0' to the appropriate bit.
 
 
 
When configured to be level triggered, the interrupt must be cleared by lowering the peripheral's IRQ line. Writing '0' to the PICSR has no effect.
 
 
 
Peripherals can call the function @code{report_interrupt} to signal an interrupt request. When configured for level triggered interrupts, the function @code{clear_interrupt} will clear the appropriate bit in the PICSR. @code{clear_interrupt} has no effect when @value{OR1KSIM} is configured for edge triggered interrupts - interrupts must be cleared by the processor writing '0' to the appropriate bit in the PICSR in this case.
 
@end quotation
 
 
 
 
@end table
@end table
 
 
@node Power Management Configuration
@node Power Management Configuration
@subsection Power Management Configuration
@subsection Power Management Configuration
@cindex configuring power management
@cindex configuring power management

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.