Atmel SAM4L-EK Atmel ATSAM4L-EK ATSAM4L-EK Ficha De Dados
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Códigos do produto
ATSAM4L-EK
229
42023E–SAM–07/2013
ATSAM4L8/L4/L2
13.7.8
Oscillator Control Register
Name:
OSCCTRLn
Access Type:
Read/Write
Reset Value:
0x00000000
• OSCEN: Oscillator Enable
0: The oscillator is disabled.
1: The oscillator is enabled.
• STARTUP: Oscillator Start-up Time
Select start-up time for the oscillator. Refer to the “Oscillator Startup Time” table in the SCIF Module Configuration section for
details.
• AGC: Automatic Gain Control
For test purposes.
• GAIN: Gain
Selects the gain for the oscillator. Refer to the “Oscillator Gain Settings” table in the SCIF Module Configuration section for
details.
• MODE: Oscillator Mode
0: External clock connected on XIN. XOUT can be used as general-purpose I/O (no crystal).
1: Crystal is connected to XIN/XOUT.
Note that this register is protected by a lock. To write to this register the UNLOCK register has to be written first. Refer to
for details.
31
30
29
28
27
26
25
24
-
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
OSCEN
15
14
13
12
11
10
9
8
-
-
-
-
STARTUP[3:0]
7
6
5
4
3
2
1
0
-
-
-
AGC
GAIN[1:0]
MODE