datasheetbank_Logo
전자부품 반도체 검색엔진( 무료 PDF 다운로드 ) - 데이터시트뱅크

NJU3504FA1 데이터 시트보기 (PDF) - Japan Radio Corporation

부품명
상세내역
일치하는 목록
NJU3504FA1
JRC
Japan Radio Corporation  JRC
NJU3504FA1 Datasheet PDF : 60 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
NJU3504
TIMER1 / PRESCALER CONTROL REGISTER {PHY3 ; (Y'=3, Peripheral register table 0)}
[Writing to the Timer1 / Prescaler Control Register]
(MSB) 3
2
1
0 (LSB)
PHY3
Start control
Operation mode
Prescaler control
/ 1:Start
/ 0:Single mode, 1:Repeat mode
/ 0:On, 1:Off
EX.)An example of the start procedure in the single mode and the internal clock operation.
SRPC
LDI
LDI
TAP
LDI
TAP
:
:
Y,3
A,%0000
A,%0001
:
:
;
;PHY3(Timer1/Prescaler Control Register) is pointed.
;"0000"(BIN) is stored to accumulator
Single mode,
;Data is transferred from accumulator to PHY3
Prescaler is enable
;"0001"(BIN) is stored to accumulator
;Data is transferred from accumulator to PHY3
The count is started.
Remarks) When the prescaler generating the internal count clock is stopped the operation, Timer is also stopped.
But the data in the counter is kept. Therefore Timer can continue to count from the kept condition of
the counter when the prescaler is started the operation again. However, the clocks from the prescaler
are delivered to Serial I/O, CKOUT terminal and A/D converter controller , therefore the prescaler
requires careful operation, especially stop or start.
When the prescaler is started the operation again after it was stopped, it is reset and start to count from
“zero”.
[Reading from the Timer1 / Prescaler Control Register]
(MSB) 3
2
1
0 (LSB)
PHY3
“0”
Overflow flag
Operation mode
Prescaler control
/ 1:Overflow
/ 0:Single mode, 1:Repeat mode
/ 0:On, 1:Off
EX.)An example of the overflow in the single mode and the internal clock operation.(The data of the Timer1 /
Prescaler Control Register is "0001"(BIN).)
:
:
SRPC
LDI
Y,3
TPA
:
:
;
;PHY3(Timer1/Prescaler Control Register) is pointed.
;"0001"(BIN) of PHY3 is transferred to accumulator.
- 26 -

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]