MPLAB ? C32 C Compiler User’s Guide
5.7.2.9.6
Interrupt Control Register ( IntCtl – CP0 Register 12, Select 1)
This register controls the expanded interrupt capability added in Release 2 of the
Architecture, including vectored interrupts and support for an external interrupt
controller.
This register contains the vector spacing for interrupt handling. The vector spacing
portion of this register (bits 9..5) is initialized with the value of the _vector_spacing
symbol by the PIC32MX startup code. All other bits are set to 1.
5.7.2.9.7
Shadow Register Control Register ( SRSCtl – CP0 Register 12, Select 2)
This register controls the operation of the GPR shadow sets in the processor.
No initialization is performed on this register in the PIC32MX startup code.
5.7.2.9.8
Shadow Register Map Register ( SRSMap – CP0 Register 12, Select 3)
This register contains eight 4-bit fields that provide the mapping from a vector number
to the shadow set number to use when servicing such an interrupt. The values from this
register are not used for a non-interrupt exception, or a non-vectored interrupt
( Cause IV = 0 or IntCtl VS = 0 ). In such cases, the shadow set number comes from
SRSCtl ESS . If SRSCtl HSS is zero, the results of a software read or write of this register
are UNPREDICTABLE. The operation of the processor is UNDEFINED if a value is
written to any field in this register that is greater than the value of SRSCtl HSS . The
SRSMap register contains the shadow register set numbers for vector numbers 7..0.
The same shadow set number can be established for multiple interrupt vectors,
creating a many-to-one mapping from a vector to a single shadow register set number.
No initialization is performed on this register in the PIC32MX startup code.
5.7.2.9.9
Cause Register ( Cause – CP0 Register 13, Select 0)
This register primarily describes the cause of the most recent exception. In addition,
fields also control software interrupt requests and the vector through which interrupts
are dispatched. With the exception of the DC , IV , and IP1..IP0 fields, all fields in the
Cause register are read-only. Release 2 of the Architecture added optional support for
an External Interrupt Controller (EIC) interrupt mode, in which IP7..IP2 are
interpreted as the Requested Interrupt Priority Level ( RIPL ).
The following settings are initialized by the PIC32MX startup code:
? Enable counting of Count register ( DC = no change )
? Use the special exception vector ( 16#200 ) ( IV = 1 )
? Disable software interrupt requests ( IP1..IP0 = 0 )
5.7.2.9.10 Exception Program Counter ( EPC – CP0 Register 14, Select 0)
This register is a read/write register that contains the address at which processing
resumes after an exception has been serviced. All bits of the EPC register are
significant and must be writable. For synchronous (precise) exceptions, the EPC
contains one of the following:
? The virtual address of the instruction that was the direct cause of the exception
? The virtual address of the immediately preceding branch or jump instruction, when
the exception causing instruction is a branch delay slot and the Branch Delay
bit in the Cause register is set.
On new exceptions, the processor does not write to the EPC register when the EXL bit
in the Status register is set, however, the register can still be written via the MTC0
instruction.
No initialization is performed on this register in the PIC32MX startup code.
DS51686A-page 68
? 2007 Microchip Technology Inc.
相关PDF资料
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
SW500012 HI-TECH C PRO FOR PIC32
SY87701LHI-EVAL BOARD EVAL SY87701 EXPERIMENT
SY87729LHI-EVAL BOARD EVAL N SY87729 EXPERIMENT
相关代理商/技术参数
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
SW006022-1 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC16, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Workstation License) 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC, dsPIC; Software Edition:Standard
SW006022-1N 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER ( 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Fltng Lic)
SW006022-2 功能描述:开发软件 MPLAB XC16 PRO Compiler RoHS:否 制造商:Microchip Technology 产品: 用于: