datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

NJU3505L Ver la hoja de datos (PDF) - Japan Radio Corporation

Número de pieza
componentes Descripción
Lista de partido
NJU3505L
JRC
Japan Radio Corporation  JRC
NJU3505L Datasheet PDF : 64 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
NJU3505
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
/ 1:Start
Operation mode / 0:Single mode, 1:Repeat mode
Prescaler control / 0:On, 1:Off
EX.) An example of the start procedure in the single mode and the internal clock operation.
:
:
SRPC
LDI Y,3
LDI A,%0000
TAP
LDI A,%0001
TAP
:
:
;
;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
/ 1:Overflow
Operation mode / 0:Single mode, 1:Repeat mode
Prescaler control / 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 ]