mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-22 16:59:57 +00:00
Reduces 32kHz load capacitance. I believe it is now at the appropriate level.
This commit is contained in:
parent
fb486c80c3
commit
8179d2c023
@ -25,7 +25,7 @@ void ucs_slow(){
|
|||||||
//! Initialize the XT1 crystal, and stabilize it.
|
//! Initialize the XT1 crystal, and stabilize it.
|
||||||
void ucs_init(){
|
void ucs_init(){
|
||||||
P5SEL |= BIT0 + BIT1; // Select XT1
|
P5SEL |= BIT0 + BIT1; // Select XT1
|
||||||
UCSCTL6 |= XCAP_3; // Internal load cap
|
UCSCTL6 |= XCAP_1; // Internal load cap
|
||||||
|
|
||||||
// Loop until XT1 & DCO stabilizes
|
// Loop until XT1 & DCO stabilizes
|
||||||
do{
|
do{
|
||||||
|
Loading…
Reference in New Issue
Block a user