TMPM037FWUG
*************************************************************************************************************************
ARM,
Cortex and Thumb are registered trademarks of ARM Limited (or its subsidiaries ) in the EU
and/or elsewhere. All
rights
reserved.
*******************************************************************************************************************
R
TMPM037FWUG
Introduction: Notes on the description of SFR (Special Function Register) under this specifica-
tion
An SFR (Special Function Register) is a control register for periperal circuits (IP).
The SFR addressses of IPs are described in the chapter on memory map, and the details of SFR are given in
the chapter of each IP.
Definition of SFR used in this specification is in accordance with the following rules.
a.
SFR table of each IP as an example
・
SFR tables in each chapter of IP provides register names, addresses and brief descriptions.
・
All registers have a 32-bit unique address and the addresses of the registers are defined as follows,
with some exceptions: "Base address + (Unique) address"
Base Address = 0x0000_0000
Register name
Control register
SAMCR
Address(Base+)
0x0004
0x000C
Note:
SAMCR register address is 32 bits wide from the address 0x0000_0004 (Base Address(0x00000000) +
unique address (0x0004)).
The register shown above is an example for explanation purpose and not for demonstration purpose.
This register does not exist in this microcontroller.
Note:
b. SFR(register)
・
Each register basically consists of a 32-bit register (some exceptions).
・
The description of each register provides bits, bit symbols, types, initial values after reset and func-
tions.
TMPM037FWUG
1.2.2 SAMCR(Control register)
31
bit symbol
After reset
-
0
23
bit symbol
After reset
-
0
15
bit symbol
After reset
-
0
7
bit symbol
After reset
MODE
0
30
-
0
22
-
0
14
-
0
6
29
-
0
21
-
0
13
-
0
5
28
-
0
20
-
0
12
-
0
4
27
-
0
19
-
0
11
-
0
3
TDATA
26
-
0
18
-
0
10
-
0
2
25
-
0
17
-
0
9
MODE
0
1
24
-
0
16
-
0
8
0
0
0
0
1
0
0
0
0
Bit
31-10
9-7
−
Bit Symbol
Type
R
R/W
"0" can be read.
Operation mode settings
000 : Sample mode 0
001 : Sample mode 1
010 : Sample mode 2
011 : Sample mode 3
The settings other than those above: Reserved
Function
MODE[2:0]
6-0
TDATA[6:0]
W
Transmitted data
Note:
The Type is divided into three as shown below.
R/W
R
W
READ WRITE
READ
WRITE
c.
Data descriptopn
Meanings of symbols used in the SFR description are as shown below.
・
x:channel numbers/ports
・
n,m:bit numbers
d. Register descriptoption
Registers are described as shown below.
・
Register name <Bit Symbol>
Exmaple: SAMCR<MODE>="000" or SAMCR<MODE[2:0]>="000"
<MODE[2:0]> indicates bit 2 to bit 0 in bit symbol mode (3bit width).
・
Register name [Bit]
Example: SAMCR[9:7]="000"
It indicates bit 9 to bit 7 of the register SAMCR (32 bit width).