Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
clock_control_litex.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Antmicro <www.antmicro.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef CLK_CTRL_LITEX_H
13#define CLK_CTRL_LITEX_H
14
23#include <zephyr/types.h>
24
25#define MMCM DT_NODELABEL(clock0)
26#define NCLKOUT DT_PROP_LEN(MMCM, clock_output_names)
27
43
48#endif /* CLK_CTRL_LITEX_H */
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Structure for interfacing with clock control API.
Definition clock_control_litex.h:37
uint8_t duty
Definition clock_control_litex.h:41
uint8_t clkout_nr
Definition clock_control_litex.h:38
uint16_t phase
Definition clock_control_litex.h:40
uint32_t rate
Definition clock_control_litex.h:39