Spinlock
17.2.1.25 LOCK_REG_21 Register (offset = 854h) [reset = 0h]
LOCK_REG_21 is shown in
and described in
This register is read when attempting to acquire a lock. The lock is automatically taken if it was not taken
and the value returned by the read is zero. If the lock was already taken, then the read returns one.
Writing a zero to this register frees the lock.
Figure 17-69. LOCK_REG_21 Register
31
30
29
28
27
26
25
24
Reserved
R-0h
23
22
21
20
19
18
17
16
Reserved
R-0h
15
14
13
12
11
10
9
8
Reserved
R-0h
7
6
5
4
3
2
1
0
Reserved
TAKEN
R-0h
R/W-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset
Table 17-82. LOCK_REG_21 Register Field Descriptions
Bit
Field
Type
Reset
Description
31-1
Reserved
R
0h
0
TAKEN
R/W
0h
3333
SPRUH73H – October 2011 – Revised April 2013
Interprocessor Communication
Copyright © 2011–2013, Texas Instruments Incorporated