aboutsummaryrefslogtreecommitdiff
path: root/src/tcl/chip/atmel/at91/pmc.tcl
blob: 584acb80bdf2e34360301ca4a7ec7d1deca659c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if [info exists AT91C_MAINOSC_FREQ] {
    # user set this... let it be.
} {
    # 18.432mhz is a common thing...
    set AT91C_MAINOSC_FREQ 18432000
}
global AT91C_MAINOSC_FREQ

if [info exists AT91C_SLOWOSC_FREQ] {
    # user set this... let it be.
} {
    # 32khz is the norm
    set AT91C_SLOWOSC_FREQ 32768
}
global AT91C_SLOWOSC_FREQ