參數資料
型號: M38006M1-XXXSS
廠商: Mitsubishi Electric Corporation
元件分類: 串行ADC
英文描述: 8-Bit 37.9 kSPS ADC Serial Out, Ratiometric Op or Vcc Ref, TTL/MOS Input & Output Compatible, 8 Ch. 20-SOIC
中文描述: 8位單片機
文件頁數: 70/173頁
文件大?。?/td> 4203K
代理商: M38006M1-XXXSS
2-22
3800 GROUP USER’S MANUAL
APPLICATION
2.2 Timer
Fig. 2.2.22 Control procedure [Measurement of pulse width]
Figure 2.2.22 shows a control procedure.
Initialization
SEI
.
All interrupts : Disabled
Timer X : Pulse width measurement mode
(Count “H” level width of pulse input from CNTR
0
pin.)
Set the division ratio so that the Timer X interrupt
occurs every 250 ms.
Timer X interrupt : Enabled
CNTR
0
interrupt : Enabled
G
G
G
G
G
G
TM
PREX
TX
ICON1
IREQ1
ICON2
IREQ2
.
.
CLI
(Address : 23
16
)
(Address : 24
16
)
(Address : 25
16
)
(Address : 3E
16
), bit4
(Address : 3C
16
), bit4
(Address : 3F
16
), bit0
(Address : 3D
16
), bit0
(Address : 23
16
), bit3
256–1
256–1
1
0
1
0
0
G
X
: This bit is not used in this application.
Set it to
“0”
or
“1.”
It’s value can be disregarded.
Timer X interrupt processing routine
Processing for error
RTI
Error occurs
G
CNTR
0
interrupt processing routine
CLT (
Note 1
)
CLD (
Note 2
)
Push register to stack
RTI
Pop registers
G
G
A count value is read out and stored to RAM.
Set the division ratio so that the Timer X
interrupt occurs every 250 ms.
G
G
(A)
Result of pulse width measurement
low–order 8-bit
(A)
Result of pulse width measurement
high–order 8-bit
PREX (Address : 24
16
)
TX (Address : 25
16
)
PREX
Inversion of (A)
TX
256 – 1
Inversion of (A)
256 – 1
Push the register used in the interrupt
processing routine into the stack.
Pop registers which is pushed to stack
.
Interrupts : Enabled
Timer X count : Start
G
Note 1:
When using the Index X mode flag (T).
Note 2:
When using the Decimal mode flag (D).
XXXX
1011
2
RESET
相關PDF資料
PDF描述
M38006M2-XXXFP 8-Bit 37.9 kSPS ADC Serial Out, Ratiometric Op or Vcc Ref, TTL/MOS Input & Output Compatible, 8 Ch. 20-PDIP
M38006M2-XXXFS 8-Bit 37.9 kSPS ADC Serial Out, Ratiometric Op or Vcc Ref, TTL/MOS Input & Output Compatible, 8 Ch. 20-TSSOP 0 to 70
M38006M2-XXXHP 8-Bit 37.9 kSPS ADC Serial Out, Ratiometric Op or Vcc Ref, TTL/MOS Input & Output Compatible, 8 Ch. 20-TSSOP 0 to 70
M38006M2-XXXSP 1 watt dc-dc converters
M38006M2-XXXSS 1 watt dc-dc converters
相關代理商/技術參數
參數描述
M38007RSS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M38007T-ADS 功能描述:DEV TEMPORARY TARGET BOARD FOR M RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 配件 系列:- 標準包裝:1 系列:- 附件類型:適配器板 適用于相關產品:RCB230,RCB231,RCB212 配用:26790D-ND - RCB BREAKOUT BOARD RS232 CABLE
M38007T-PRB 功能描述:EV 64-PIN RSS/MCU TO .5, .65 & . RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 配件 系列:- 產品培訓模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program RoHS指令信息:IButton RoHS Compliance Plan 標準包裝:1 系列:- 附件類型:USB 至 1-Wire? RJ11 適配器 適用于相關產品:1-Wire? 設備 產品目錄頁面:1429 (CN2011-ZH PDF)
M3801 BK001 制造商:Alpha Wire 功能描述:CBL 3COND 18AWG BLK 1000'
M3801 BK002 制造商:Alpha Wire 功能描述:CBL 3COND 18AWG BLK 500'