Detail Of Register; Cgprotect] (Cg Write Protection Register); Cgosccr] (Oscillation Control Register) - Toshiba TXZ+ TMPM4MNFYAFG Reference Manual

32-bit risc microcontroller, clock control and operation mode
Table of Contents

Advertisement

1.4.2. Detail of Register

[CGPROTECT] (CG write protection register)

Bit
Bit Symbol
31:8
-
7:0
PROTECT[7:0]

[CGOSCCR] (Oscillation control register)

Bit
Bit Symbol
31:20
-
19
IHOSC2F
18:17
-
16
IHOSC1F
15:13
-
12
-
11:10
-
9
OSCF
8
OSCSEL
7:4
-
3
IHOSC2EN
2:1
EOSCEN[1:0]
0
IHOSC1EN
Note1: When the setting is modified, confirm whether the written value has been reflected to the [CGOSCCR]
<OSCF> bit before executing the next operation.
Note2: Setting cannot be changed, when it is [SIWDxOSCCR]<OSCPRO> =1 (Write protect of SIWDT is
effective)
Note3: When using the oscillator connection, set this bit to "01"(external high speed oscillator).
After reset
Type
0
R
Read as "0".
Control write-protection for the CG register (all registers except for
this register)
0xC1
R/W
0xC1:
Other than 0xC1: Sets write protection (Protect enable)
After reset
Type
0
R
Read as "0".
Indicates the stability flag of internal oscillation for IHOSC2
0
R
0: Stopping or being in warming-up
1: Stable oscillation
0
R
Read as "0".
Indicates the stability flag of internal oscillation for IHOSC1
1
R
0: Stopping or being in warming-up
1: Stable oscillation
0
R
Read as "0".
0
R/W
Write as "0"
0
R
Read as "0".
Indicates high speed oscillator for f
0
R
0: Internal high speed oscillator 1 (IHOSC1)
1: External high speed oscillator (EHOSC)
Selects a high speed oscillation for f
0
R/W
0: Internal high speed oscillator 1 (IHOSC1)
1: External high speed oscillator (EHOSC)
0
R
Read as "0".
Enables the internal high speed oscillator 2. (IHOSC2)(Note 2)
0
R/W
0: Stop
1: Oscillation
Selects the operation of the external high speed oscillator.
(EHOSC) (Note3)
00: External high speed oscillator is not used
00
R/W
01: Uses the external high speed oscillator (EHOSC)
10: Uses the external clock (EHCLKIN)
11: Reserved
Internal high speed oscillator 1 (IHOSC1)
1
R/W
0: Stop
1: Oscillation
31 / 64
Clock Control and Operation Mode
Function
CG Registers are write-enabled.
Function
selection status.
OSC
. (Note1)
OSC
TXZ+ Family
TMPM4M Group(1)
2022-06-24
Rev. 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cg-m4m(1)-e

Table of Contents