MCLKCTRLAMCLK Control A
- Address
0x80- Reset
0x00- Access
- read/write
- 7CLKOUT
- 6CLKOUTDIV
- 5–
- 4–
- 3CLKSEL3
- 2CLKSEL2
- 1CLKSEL1
- 0CLKSEL0
3 fields
| Field | Bits | What it does |
|---|---|---|
| CLKOUT | 7 | System Clock Out |
| CLKOUTDIV | 6 | Clock Out Divide
|
| CLKSEL | 3:0 | Clock Select
|
The 27 registers of CLKCTRL (Clock controller), from 0x80, with their reset value and every field. The AVR32SD20 has 580 registers in 51 peripherals, one page each.
0x800x00| Field | Bits | What it does |
|---|---|---|
| CLKOUT | 7 | System Clock Out |
| CLKOUTDIV | 6 | Clock Out Divide
|
| CLKSEL | 3:0 | Clock Select
|
0x810x00| Field | Bits | What it does |
|---|---|---|
| PDIV | 4:1 | Prescaler division
|
| PEN | 0 | Prescaler enable |
0x820x00| Field | Bits | What it does |
|---|---|---|
| CFD1 | 1 | Clock Failure Inject 1 |
| CFD0 | 0 | Clock Failure Inject 0 |
0x830x00| Field | Bits | What it does |
|---|---|---|
| CFMD1 | 5 | Clock Measurement Done 1 |
| CFMD0 | 4 | Clock Measurement Done 0 |
| CFM1 | 3 | Clock Measurement Failure Detected 1 |
| CFM0 | 2 | Clock Measurement Failure Detected 0 |
| CFD1 | 1 | Clock Failure Detected 1 |
| CFD0 | 0 | Clock Failure Detected 0 |
0x840x00| Field | Bits | What it does |
|---|---|---|
| CFMD1 | 5 | Clock Measurement Done 1 |
| CFMD0 | 4 | Clock Measurement Done 0 |
| CFM1 | 3 | Clock Measurement Failure Detected 1 |
| CFM0 | 2 | Clock Measurement Failure Detected 0 |
| CFD1 | 1 | Clock Failure Detected 1 |
| CFD0 | 0 | Clock Failure Detected 0 |
0x850x00| Field | Bits | What it does |
|---|---|---|
| PLLS | 5 | PLL Oscillator Status |
| EXTS | 4 | External Clock Status |
| XOSC32KS | 3 | 32.768 kHz Crystal Oscillator Status |
| OSC32KS | 2 | 32KHz Oscillator Status |
| OSCHFS | 1 | High Frequency Oscillator Status |
| SOSC | 0 | System Oscillator Changing |
0x860x00| Field | Bits | What it does |
|---|---|---|
| TIMEBASE | 4:0 | Timebase |
0x880x00| Field | Bits | What it does |
|---|---|---|
| CFDSRC | 5:3 | Clock Failure Detect Source
|
| CFDREF | 2:1 | Clock Failure Detect Reference
|
| CFDEN | 0 | Clock Failure Detect Enable |
0x890x00| Field | Bits | What it does |
|---|---|---|
| CFDSRC | 5:3 | Clock Failure Detect Source
|
| CFDREF | 2:1 | Clock Failure Detect Reference
|
| CFDEN | 0 | Clock Failure Detect Enable |
0x900x00000x920x00000x940x00000x960x00000x980x00| Field | Bits | What it does |
|---|---|---|
| TYPE | 4 | Measurement Type
|
| CFMSRC | 3:1 | CFM Clock Reference
|
| MEN | 0 | Measurement Enable |
0x990x00| Field | Bits | What it does |
|---|---|---|
| CFMREF | 2:1 | CFM Reference Source
|
| REFCEN | 0 | Reference Clock Enable |
0xA00x00000xA20x00000xA40x00000xA60x00000xA80x00| Field | Bits | What it does |
|---|---|---|
| TYPE | 4 | Measurement Type
|
| CFMSRC | 3:1 | CFM Clock Reference
|
| MEN | 0 | Measurement Enable |
0xA90x00| Field | Bits | What it does |
|---|---|---|
| CFMREF | 2:1 | CFM Reference Source
|
| REFCEN | 0 | Reference Clock Enable |
0xC00x0C| Field | Bits | What it does |
|---|---|---|
| RUNSTDBY | 7 | Run in Standby |
| FRQSEL | 5:2 | Frequency select
|
| AUTOTUNE | 0 | Autotune
|
0xC10x00| Field | Bits | What it does |
|---|---|---|
| TUNE | 7:0 | Oscillator Tune |
0xC80x00| Field | Bits | What it does |
|---|---|---|
| RUNSTDBY | 7 | Run in Standby |
| SOURCE | 6 | Source
|
| MULFAC | 1:0 | Multiplication Factor
|
0xD00x00| Field | Bits | What it does |
|---|---|---|
| RUNSTDBY | 7 | Run in Standby |
0xD40x00| Field | Bits | What it does |
|---|---|---|
| RUNSTDBY | 7 | Run in Standby |
| CSUT | 5:4 | Crystal Oscillator Startup Time
|
| SEL | 2 | Crystal Selection
|
| LPMODE | 1 | Low-power Mode
|
| ENABLE | 0 | Enable |
0xD80x00| Field | Bits | What it does |
|---|---|---|
| RUNSTDBY | 7 | Run in Standby |
| CSUTHF | 5:4 | Start-up Time
|
| FRQRANGE | 3:2 | Frequency Range
|
| SELHF | 1 | External Source Select
|
| ENABLE | 0 | Enable |