Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gd32.h File Reference
#include <zephyr/device.h>

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ GD32_CLOCK_CONTROLLER

#define GD32_CLOCK_CONTROLLER   DEVICE_DT_GET(DT_NODELABEL(cctl))

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.