Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SAMD21J Datasheet(PDF) 32 Page - Microchip Technology

Part # SAMD21J
Description  32-bit ARM-Based Microcontrollers
PDF  59 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

SAMD21J Datasheet(HTML) 32 Page - Microchip Technology

Back Button SAMD21J Datasheet HTML 28Page - Microchip Technology SAMD21J Datasheet HTML 29Page - Microchip Technology SAMD21J Datasheet HTML 30Page - Microchip Technology SAMD21J Datasheet HTML 31Page - Microchip Technology SAMD21J Datasheet HTML 32Page - Microchip Technology SAMD21J Datasheet HTML 33Page - Microchip Technology SAMD21J Datasheet HTML 34Page - Microchip Technology SAMD21J Datasheet HTML 35Page - Microchip Technology SAMD21J Datasheet HTML 36Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 59 page
background image
Figure 7-2. APB Read Access.
T0
T1
T2
T3
Addr 1
Data 1
PADDR
PWRITE
PCLK
PSEL
PENABLE
PRDATA
PREADY
T0
T1
T2
T3
Addr 1
Data 1
PADDR
PWRITE
PCLK
PSEL
PENABLE
PRDATA
PREADY
T4
T5
Wait states
No wait states
Related Links
Product Mapping
7.6
PAC - Peripheral Access Controller
7.6.1
Overview
There is one PAC associated with each AHB-APB bridge. The PAC can provide write protection for
registers of each peripheral connected on the same bridge.
The PAC peripheral bus clock (CLK_PACx_APB) can be enabled and disabled in the Power Manager.
CLK_PAC0_APB and CLK_PAC1_APB are enabled are reset. CLK_PAC2_APB is disabled at reset.
Refer to PM – Power Manager for details. The PAC will continue to operate in any sleep mode where the
selected clock source is running. Write-protection does not apply for debugger access. When the
debugger makes an access to a peripheral, write-protection is ignored so that the debugger can update
the register.
Write-protect registers allow the user to disable a selected peripheral’s write-protection without doing a
read-modify-write operation. These registers are mapped into two I/O memory locations, one for clearing
and one for setting the register bits. Writing a one to a bit in the Write Protect Clear register (WPCLR) will
clear the corresponding bit in both registers (WPCLR and WPSET) and disable the write-protection for
the corresponding peripheral, while writing a one to a bit in the Write Protect Set (WPSET) register will set
the corresponding bit in both registers (WPCLR and WPSET) and enable the write-protection for the
corresponding peripheral. Both registers (WPCLR and WPSET) will return the same value when read.
If a peripheral is write-protected, and if a write access is performed, data will not be written, and the
peripheral will return an access error (CPU exception).
The PAC also offers a safety feature for correct program execution, with a CPU exception generated on
double write-protection or double unprotection of a peripheral. If a peripheral n is write-protected and a
write to one in WPSET[n] is detected, the PAC returns an error. This can be used to ensure that the
application follows the intended program flow by always following a write-protect with an unprotect, and
vice versa. However, in applications where a write-protected peripheral is used in several contexts, e.g.,
interrupts, care should be taken so that either the interrupt can not happen while the main application or
other interrupt levels manipulate the write-protection status, or when the interrupt handler needs to
unprotect the peripheral, based on the current protection status, by reading WPSET.
32-bit ARM-Based Microcontrollers
© 2017 Microchip Technology Inc.
Datasheet Summary
40001884A-page 32



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


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