tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 234

no-image

tmp89fm42a

Manufacturer Part Number
tmp89fm42a
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42aUG
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 68μs duty
pulse in 96μs cycles (fcgck = 10 MHz)
SET
SET
LD
DI
SET
EI
LD
LD
LD
LD
LD
LD
(P7FC).1
(P7CR).1
(POFFCR0),0x10
(EIRH).4
(T01MOD),0xF3
(T00REG),0xE0
(T01REG),0x01
(T00PWM),0x54
(T01PWM),0x01
(T001CR),0x06
Page 215
; 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)
; 96μs / (2/fcgck) = 0x01E0
; Sets the timer register (duty pulse)
; Sets the timer register (duty pulse)
; 68μs / (2/fcgck) = 0x0154
; Starts TC00 and TC01
TMP89FM42A

Related parts for tmp89fm42a