pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 240

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
PIC32MX FAMILY
EXAMPLE 11-2:
DS61143A-page 238
// Code example to change the PBCLK divisor
// This example is for a device running at 40 MHz
// Make sure that there is no UART send/receive in progress
... user code ...
U1BRG = 0x81;
... user code ...
OSCCONCLR = 0x3 << 19;
... user code ...
// Change Peripheral Clock value
U1BRG = 0x0F;
OSCCONSET = 0x3 << 19;
// Reset Peripheral Clock
OSCCONCLR = 0x3 << 19;
U1BRG = 0x81;
CHANGING THE PB CLOCK DIVISOR
// set baud rate for UART1 for 9600
// set PB divisor to minimum (1:1)
// set baud rate for UART1 for 9600 based on
// new PB clock frequency
// set PB divisor to maximum (1:8)
// set PB divisor to minimum (1:1)
// restore baud rate for UART1 to 9600 based
// on new PB clock frequency
Advance Information
© 2007 Microchip Technology Inc.

Related parts for pic32mx320f064h