Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

PM0056 Datasheet(PDF) 137 Page - STMicroelectronics

Part # PM0056
Description  This programming manual provides information
PDF  156 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0056 Datasheet(HTML) 137 Page - STMicroelectronics

Back Button PM0056 Datasheet HTML 133Page - STMicroelectronics PM0056 Datasheet HTML 134Page - STMicroelectronics PM0056 Datasheet HTML 135Page - STMicroelectronics PM0056 Datasheet HTML 136Page - STMicroelectronics PM0056 Datasheet HTML 137Page - STMicroelectronics PM0056 Datasheet HTML 138Page - STMicroelectronics PM0056 Datasheet HTML 139Page - STMicroelectronics PM0056 Datasheet HTML 140Page - STMicroelectronics PM0056 Datasheet HTML 141Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 137 / 156 page
background image
DocID15491 Rev 5
137/156
PM0056
Core peripherals
4.4.7
Configuration and control register (SCB_CCR)
Address offset: 0x14
Reset value: 0x0000 0200 (STM32F2 and STM32L series)
Reset value: 0x0000 0000 (STM32F1 series)
Required privilege: Privileged
The CCR controls entry to Thread mode and enables:
The handlers for NMI, hard fault and faults escalated by FAULTMASK to ignore bus
faults
Trapping of divide by zero and unaligned accesses
Access to the STIR by unprivileged software, see Software trigger interrupt register
(NVIC_STIR) on page 126.
31
3029
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
76
54
3
21
0
Reserved
STK
ALIGN
BFHF
NMIGN
Reserved
DIV_0_
TRP
UN
ALIGN_
TRP
Res.
USER
SET
MPEND
NON
BASE
THRD
ENA
rw
rw
rw
rw
rw
rw
Bits 31:10
Reserved, must be kept cleared
Bit 9
STKALIGN
Configures stack alignment on exception entry. On exception entry, the processor uses bit 9 of
the stacked PSR to indicate the stack alignment. On return from the exception it uses this
stacked bit to restore the correct stack alignment.
0: 4-byte aligned
1: 8-byte aligned
Bit 8
BFHFNMIGN
Enables handlers with priority -1 or -2 to ignore data bus faults caused by load and store
instructions. This applies to the hard fault, NMI, and FAULTMASK escalated handlers. Set this
bit to 1 only when the handler and its data are in absolutely safe memory. The normal use of
this bit is to probe system devices and bridges to detect control path problems and fix them.
0: Data bus faults caused by load and store instructions cause a lock-up
1: Handlers running at priority -1 and -2 ignore data bus faults caused by load and store
instructions.
Bits 7:5
Reserved, must be kept cleared
Bit 4
DIV_0_TRP
Enables faulting or halting when the processor executes an SDIV or UDIV instruction with a
divisor of 0:
0: Do not trap divide by 0
1: Trap divide by 0.
When this bit is set to 0, a divide by zero returns a quotient of 0.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com