#include "pico.h"
#include "pico/stdio.h"
#include "pico/time.h"
#include "hardware/gpio.h"
#include "hardware/uart.h"
Go to the source code of this file.
Macros | |
#define | PICO_DEFAULT_LED_PIN_INVERTED 0 |
Functions | |
void | setup_default_uart (void) |
Set up the default UART and assign it to the default GPIO's. More... | |
void | set_sys_clock_48mhz (void) |
Initialise the system clock to 48MHz. More... | |
void | set_sys_clock_pll (uint32_t vco_freq, uint post_div1, uint post_div2) |
Initialise the system clock. More... | |
bool | check_sys_clock_khz (uint32_t freq_khz, uint *vco_freq_out, uint *post_div1_out, uint *post_div2_out) |
Check if a given system clock frequency is valid/attainable. More... | |
static bool | set_sys_clock_khz (uint32_t freq_khz, bool required) |
Attempt to set a system clock frequency in khz. More... | |