Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Files

file  clock_control_numaker.h
 Clock control definitions for Nuvoton NuMaker devices.

Data Structures

struct  numaker_scc_subsys_pcc
 Peripheral clock control configuration. More...
struct  numaker_scc_subsys_pcc_rate
 Peripheral clock control rate information. More...
struct  numaker_scc_subsys
 NuMaker clock subsystem selector. More...
struct  numaker_scc_subsys_rate
 NuMaker clock subsystem rate selector. More...

Macros

#define NUMAKER_SCC_SUBSYS_ID_PCC   1
 SCC subsystem ID for peripheral clock control (PCC).

Oscillator/clock switch actions

#define NUMAKER_SCC_CLKSW_UNTOUCHED   0
 Leave the clock switch unchanged.
#define NUMAKER_SCC_CLKSW_ENABLE   1
 Enable the oscillator/clock.
#define NUMAKER_SCC_CLKSW_DISABLE   2
 Disable the oscillator/clock.

Detailed Description

Macro Definition Documentation

◆ NUMAKER_SCC_CLKSW_DISABLE

#define NUMAKER_SCC_CLKSW_DISABLE   2

#include <zephyr/drivers/clock_control/clock_control_numaker.h>

Disable the oscillator/clock.

◆ NUMAKER_SCC_CLKSW_ENABLE

#define NUMAKER_SCC_CLKSW_ENABLE   1

#include <zephyr/drivers/clock_control/clock_control_numaker.h>

Enable the oscillator/clock.

◆ NUMAKER_SCC_CLKSW_UNTOUCHED

#define NUMAKER_SCC_CLKSW_UNTOUCHED   0

#include <zephyr/drivers/clock_control/clock_control_numaker.h>

Leave the clock switch unchanged.

◆ NUMAKER_SCC_SUBSYS_ID_PCC

#define NUMAKER_SCC_SUBSYS_ID_PCC   1

#include <zephyr/drivers/clock_control/clock_control_numaker.h>

SCC subsystem ID for peripheral clock control (PCC).