@web-font-path: "roboto-debian.css";
v2.2.0 (RP2040)
Loading...
Searching...
No Matches
xosc.h
Go to the documentation of this file.
/*
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _HARDWARE_XOSC_H
#define _HARDWARE_XOSC_H
#include "pico.h"
#include "hardware/structs/xosc.h"
// Allow lengthening startup delay to accommodate slow-starting oscillators
// PICO_CONFIG: PICO_XOSC_STARTUP_DELAY_MULTIPLIER, Multiplier (from 1ms) for xosc startup delay to accommodate slow-starting oscillators, type=int, min=1, default=6, group=hardware_xosc
#ifndef PICO_XOSC_STARTUP_DELAY_MULTIPLIER
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 6
#endif
#ifdef __cplusplus
extern "C" {
#endif
void xosc_init(void);
void xosc_disable(void);
void xosc_dormant(void);
#ifdef __cplusplus
}
#endif
#endif
xosc_init
void xosc_init(void)
Initialise the crystal oscillator system.
Definition xosc.c:29
xosc_dormant
void xosc_dormant(void)
Set the crystal oscillator system to dormant.
Definition xosc.c:56
xosc_disable
void xosc_disable(void)
Disable the Crystal oscillator.
Definition xosc.c:45
pico.h