參數(shù)資料
型號: MPC555
廠商: Motorola, Inc.
元件分類: 32位微控制器
英文描述: Highly Integrated, Low-Power, 32-Bit Microcontroller
中文描述: 高度集成,低功耗,32位微控制器
文件頁數(shù): 23/32頁
文件大小: 219K
代理商: MPC555
Application Note
Using the MPC555 as a Frequency Counter
AN1778
MOTOROLA
23
C onfiguring
MDASM C hannels
The MDASM must be initialized to the kind of function that the user
wants it to perform. There are two waveforms of 5 MHz and 2.5 MHz to
measure. The user will measure the periods to calculate their
frequencies and compare.
Similar to the pulse width modulator in the last example, each MDASM
channel has its own configuration registers. In this case, only one
channel is used.
Each MDASM channel is configured and read using four registers:
Data A register — Contains a value for the counter when the last
event occurred
Data B register — Can contain the previous value of Data A or an
independent measurement
Duplicate status/control register — Reserved. Do not use.
Status/control register — Contains a read-only bit reflecting the
status of the MDASM pin as well as read/write bits related to its
control and configuration.
The MDASM status and control register (address 0x30605E) will be
used to initialize MDASM channel 11.
Figure 8
and
Table 7
define the
bits in this register.
Figure 8. MDASM Status/Control Register (MDASMSCR) 0x30 605E
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
PIN
WOR
FREN
0
EDPOL FORCA FORCB
RESERVED
BSL
0
MOD
RESET:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
相關(guān)PDF資料
PDF描述
MPC561 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC561MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC562MZP56 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
MPC563 RISC MCU Including Peripheral Pin Multiplexing with Flash and Code Compression Options
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MPC5553 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553_07 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller Data Sheet
MPC5553AVF112 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF112R2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller
MPC5553AVF132 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontroller