Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
|
4.2.99 |
Public APIs for the Renesas ELC driver. More...
#include <stdint.h>
#include <zephyr/sys/slist.h>
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#include <zephyr/internal/syscall_handler.h>
#include <zephyr/syscalls/renesas_elc.h>
Go to the source code of this file.
Data Structures | |
struct | renesas_elc_dt_spec |
Container for Renesas ELC information specified in devicetree. More... |
Macros | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_GET_BY_NAME(node_id, name) |
Get the device pointer from the "renesas-elcs" property by element name. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_GET_BY_IDX(node_id, idx) |
Get the device pointer from the "renesas-elcs" property by index. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_GET_BY_NAME_OR_NULL(node_id, name) |
Get the device pointer from the "renesas-elcs" property by element name, or return NULL if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_GET_BY_IDX_OR_NULL(node_id, idx) |
Get the device pointer from the "renesas-elcs" property by index, or return NULL if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_INST_GET_BY_NAME(inst, name) |
Get the device pointer from the "renesas-elcs" property by element name for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_INST_GET_BY_IDX(inst, idx) |
Get the device pointer from the "renesas-elcs" property by index for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_INST_GET_BY_NAME_OR_NULL(inst, name) |
Get the device pointer from the "renesas-elcs" property by element name for a DT_DRV_COMPAT instance, or return NULL if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_DEVICE_INST_GET_BY_IDX_OR_NULL(inst, idx) |
Get the device pointer from the "renesas-elcs" property by index for a DT_DRV_COMPAT instance, or return NULL if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_GET_BY_NAME(node_id, name) |
Get the peripheral cell value from the "renesas-elcs" property by element name. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_GET_BY_IDX(node_id, idx) |
Get the peripheral cell value from the "renesas-elcs" property by index. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_GET_BY_NAME_OR(node_id, name, default_value) |
Get the peripheral cell value from the "renesas-elcs" property by element name, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_GET_BY_IDX_OR(node_id, idx, default_value) |
Get the peripheral cell value from the "renesas-elcs" property by index, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_INST_GET_BY_NAME(inst, name) |
Get the peripheral cell value by element name for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_INST_GET_BY_IDX(inst, idx) |
Get the peripheral cell value by index for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_INST_GET_BY_NAME_OR(inst, name, default_value) |
Get the peripheral cell value by element name for a DT_DRV_COMPAT instance, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_PERIPHERAL_INST_GET_BY_IDX_OR(inst, idx, default_value) |
Get the peripheral cell value by index for a DT_DRV_COMPAT instance, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_GET_BY_NAME(node_id, name) |
Get the event cell value from the "renesas-elcs" property by element name. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_GET_BY_IDX(node_id, idx) |
Get the event cell value from the "renesas-elcs" property by index. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_GET_BY_NAME_OR(node_id, name, default_value) |
Get the event cell value from the "renesas-elcs" property by element name, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_GET_BY_IDX_OR(node_id, idx, default_value) |
Get the event cell value from the "renesas-elcs" property by index, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_INST_GET_BY_NAME(inst, name) |
Get the event cell value by element name for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_INST_GET_BY_IDX(inst, idx) |
Get the event cell value by index for a DT_DRV_COMPAT instance. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_INST_GET_BY_NAME_OR(inst, name, default_value) |
Get the event cell value by element name for a DT_DRV_COMPAT instance, or return a default value if the property does not exist. | |
#define | RENESAS_ELC_DT_SPEC_EVENT_INST_GET_BY_IDX_OR(inst, idx, default_value) |
Get the event cell value by index for a DT_DRV_COMPAT instance, or return a default value if the property does not exist. |
Functions | |
int | renesas_elc_software_event_generate (const struct device *dev, uint32_t event) |
Generate a software event in the Event Link Controller. | |
int | renesas_elc_link_set (const struct device *dev, uint32_t peripheral, uint32_t event) |
Create a single event link. | |
int | renesas_elc_link_break (const struct device *dev, uint32_t peripheral) |
Break an event link. | |
int | renesas_elc_enable (const struct device *dev) |
Enable the operation of the Event Link Controller. | |
int | renesas_elc_disable (const struct device *dev) |
Disable the operation of the Event Link Controller. |
Public APIs for the Renesas ELC driver.