pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 343

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
EXAMPLE 17-4:
17.4
Enabling the SPI modules will configure the I/O pin
direction as defined by the SPI control bits (see
Table 17-7). The port TRIS and LATCH registers will be
overridden.
© 2007 Microchip Technology Inc.
/*
*/
void __ISR(_SPI1_VECTOR, IPL7) __SPI1Interrupt(void)
{
}
Note:
The following code example demonstrates a simple interrupt service routine for SPI1
interrupts. The user’s code at this vector should perform any application specific operations
and must clear the SPI1 interrupt flags before exiting.
// ... perform application specific operations in response to the interrupt
IFS0CLR = 0x03800000;
I/O Pin Control
The SPI1 ISR code example shows MPLAB
Refer to your compiler manual regarding support for ISRs.
SPI1 ISR
Advance Information
// Be sure to clear the SPI1 interrupt flags
// before exiting the service routine.
®
C32 C Compiler specific syntax.
PIC32MX FAMILY
DS61143A-page 341

Related parts for pic32mx320f064h