241
Chapter 8
Clock Generator
Preliminary User’s Manual U14913EE1V0UM00
Data is set in the power save control register (PSC) according to the following sequence.
<1> Set the power save mode register (PSM) (with the following instructions).
• Store instruction (ST/SST instruction)
• Bit manipulation instruction (SET1/CLR1/NOT1 instruction)
<2> Prepare data in any one of the general-purpose registers to set to the specific register.
<3> Write arbitrary data to the command register (PRCMD).
<4> Set the power save control register (PSC) (with the following instructions).
• Store instruction (ST/SST instruction)
• Bit manipulation instruction (SET1/CLR1/NOT1 instruction)
<5> Assert the NOP instructions (5 instructions (<5> to <9>).
Sample coding
<1> ST.B
r11, PSM [r0]
; Set PSM register
<2> MOV
0x04, r10
<3> ST.B
r10, PRCMD [r0] ; Write PRCMD register
<4> ST.B
r10, PSC [r0]
; Set PSC register
<5> NOP
; Dummy instruction
<6> NOP
; Dummy instruction
<7> NOP
; Dummy instruction
<8> NOP
; Dummy instruction
<9> NOP
; Dummy instruction
(next instruction)
; Execution routine after software STOP mode and IDLE mode release
No special sequence is required to read the specific register.
Cautions: 1. A store instruction for the command register does not accept interrupts. This cod-
ing is made on assumption that <3> and <4> above are executed by the program
with consecutive store instructions. If another instruction is set between <3> and
<4>, the above sequence may become ineffective when the interrupt is accepted by
that instruction, and a malfunction of the program may result.
2. Although the data written to the PHCMD register is dummy data, use the same reg-
ister as the general register used in specific register setting <4> for writing to the
PHCMD register (<3>). The same method should be applied when using a general
register for addressing.
3. At least 5 NOP instructions must be inserted after executing a store instruction to
the PSC register to set software STOP or IDLE mode.
4. Do not perform a write operation to the PRCMD and specific registers using DMA
transfer.
To write data to the PSC register, use the store instruction (ST/SST) and bit manipulation instruction
(SET1/CLR1/NOT1).
The contents of this register can be read in the normal sequence.
Содержание V850E/CA1 ATOMIC
Страница 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Страница 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...