Author |
Message |
Topic: setup_oscillator() |
BradleyEE
Replies: 5
Views: 20244
|
Forum: General CCS C Discussion Posted: Wed Jun 29, 2005 5:07 pm Subject: setup_oscillator() |
To be honest, I dislike the setup_oscillator() function. I just have OSC_CON defined and have the settings I want #defined. That way, I know exactly what it's doing. This is on a 16F88 / 18F2420. (It' ... |
Topic: setup_oscillator() |
BradleyEE
Replies: 5
Views: 20244
|
Forum: General CCS C Discussion Posted: Wed Jun 29, 2005 5:04 pm Subject: setup_oscillator() |
// Constants used in setup_oscillator() are:
// First param:
#define OSC_31KHZ 0
#define OSC_125KHZ 0x10
#define OSC_250KHZ 0x20
#define OSC_500KHZ 0x30
#define OSC_ ... |
Topic: setup_oscillator() |
BradleyEE
Replies: 5
Views: 20244
|
Forum: General CCS C Discussion Posted: Wed Jun 29, 2005 11:01 am Subject: setup_oscillator() |
I'm using the latest compiler (3.226), but the help file doesn't include setup_oscillator. I'm looking at the 18F8490.h device file at the oscillator section and am wondering which bits some of these ... |
|