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

Files

file  gd32.h
 Clock control definitions for GigaDevice GD32 devices.

Macros

#define GD32_CLOCK_CONTROLLER   DEVICE_DT_GET(DT_NODELABEL(cctl))
 Obtain a reference to the GD32 clock controller.

Detailed Description

Macro Definition Documentation

◆ GD32_CLOCK_CONTROLLER

#define GD32_CLOCK_CONTROLLER   DEVICE_DT_GET(DT_NODELABEL(cctl))

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

Obtain a reference to the GD32 clock controller.

There is a single clock controller in the GD32: cctl. The device can be used without checking for it to be ready since it has no initialization code subject to failures.