tmp89fm42l TOSHIBA Semiconductor CORPORATION, tmp89fm42l Datasheet - Page 225

no-image

tmp89fm42l

Manufacturer Part Number
tmp89fm42l
Description
8 Bit Microcontroller Tlcs-870/c1 Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42lUG
Manufacturer:
ST
Quantity:
500
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA
Quantity:
745
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
tmp89fm42lUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
RA005
(Example) Operate TC00 and TC01 in the 16-bit PPG mode with the operation clock of fcgck/2 and output the 136μs duty
pulse in 192μs cycles (fcgck = 4 MHz)
SET
SET
LD
DI
SET
EI
LD
LD
LD
LD
LD
LD
(P7FC).1
(P7CR).1
(POFFCR0),0x10
(EIRH).4
(T01MOD),0xF3
(T00REG),0x80
(T01REG),0x01
(T00PWM),0x10
(T01PWM),0x01
(T001CR),0x06
Page 211
; Sets P7FC0 to "1"
; Sets P7CR0 to "1"
; Sets TC001EN to "1"
; Sets the interrupt master enable flag to "disable"
; Sets the INTTC00 interrupt enable register to "1"
; Sets the interrupt master enable flag to "enable"
; Selects the 8-bit PPG mode and fcgck/2
; Sets the timer register (cycle)
; Sets the timer register (cycle)
; 192μs / (2/fcgck) = 0x0180
; Sets the timer register (duty pulse)
; Sets the timer register (duty pulse)
; 136μs / (2/fcgck) = 0x0110
; Starts TC00 and TC01
TMP89FM42L

Related parts for tmp89fm42l