Microchip PIC24FJ48GA004 Bedienungsanleitung


Lesen Sie kostenlos die 📖 deutsche Bedienungsanleitung für Microchip PIC24FJ48GA004 (42 Seiten) in der Kategorie Nicht kategorisiert. Dieser Bedienungsanleitung war für 2 Personen hilfreich und wurde von 2 Benutzern mit durchschnittlich 4.5 Sternen bewertet

Seite 1/42
 2014 Microchip Technology Inc. DS70005157A-page 1
HIGHLIGHTS
This section of the manual contains the following major topics:
1.0 Introduction ....................................................................................................................... 2
2.0 Output Compare Registers ............................................................................................... 4
3.0 Timer Selection ................................................................................................................. 6
4.0 Modes of Operation .......................................................................................................... 6
5.0 Output Compare Operation with DMA ............................................................................ 33
6.0 Output Compare Operation in Power-Saving States ...................................................... 34
7.0 I/O Pin Control ................................................................................................................ 35
8.0 Register Maps................................................................................................................. 36
9.0 Design Tips ..................................................................................................................... 37
10.0 Related Application Notes............................................................................................... 38
11.0 Revision History .............................................................................................................. 39
Output Compare
dsPIC33/PIC24 Family Reference Manual
DS70005157A-page 2  2014 Microchip Technology Inc.
This document supersedes the following PIC24 and dsPIC Family Reference Manual sections:
1.0 INTRODUCTION
The Output Compare module has the ability to compare the value of a selected time base with
the value of one or two Compare registers (depending on the operation mode selected).
Furthermore, it has the ability to generate a single output pulse, or a train of output pulses, on a
compare match event. Like most PIC® MCU peripherals, it also has the ability to generate
interrupts on compare match events.
Refer to the specific device data sheet for the number of channels available in a particular device.
All Output Compare channels are functionally identical. In this section, an ‘x’ in the pin, register
or bit name denotes the specific Output Compare channel.
Each Output Compare channel can use one of two selectable time bases. The time base is
selected using the OCTSEL bit (OCxCON<3>). Please refer to the device data sheet for the
specific timers that can be used with each Output Compare channel number. The available time
bases, Timer2 and Timer3 do not support Asynchronous mode; therefore, the Output Compare
module will operate only in Synchronous mode.
Note: Refer to the specific device data sheet for further information on the number of
channels available in a particular device. All Output Compare channels are function-
ally identical. In this section, an ‘x’ in the register name is a generic reference to an
Output Compare channel in place of a specific Output Compare channel number.
DS Number Section Number Title
DS39706A 16 Output Compare
DS70061D 14 Output Compare
DS70209A 13 Output Compare
DS70247A 13 Output Compare
 2014 Microchip Technology Inc. DS70005157A-page 3
Output Compare
Figure 1-1: Output Compare Block Diagram
OCxR(1)
Comparator
Output
Logic
OCM<2:0>
Output Enable
OCx(1)
Set Flag bit
OCxIF(1)
OCxRS(1)
Mode Select
3
Note 1: Where ‘x’ is shown, reference is made to the registers associated with the respective Output Compare
Channels 1 through 5.
2: OCFA pin controls Channels OC1-OC4. OCFB pin controls Channel OC5.
3: Each Output Compare channel can use one of two selectable time bases. Refer to the device data sheet for
the time bases associated with the module.
0 1 OCTSEL 0 1
1616
OCFA or OCFB(2)
TMR Register Inputs
from Time Bases
(see Note 3)
Period Match Signals
from Time Bases
(see Note 3)
QS
R


Produktspezifikationen

Marke: Microchip
Kategorie: Nicht kategorisiert
Modell: PIC24FJ48GA004

Brauchst du Hilfe?

Wenn Sie Hilfe mit Microchip PIC24FJ48GA004 benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten




Bedienungsanleitung Nicht kategorisiert Microchip

Bedienungsanleitung Nicht kategorisiert

Neueste Bedienungsanleitung für -Kategorien-