Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
#include <zephyr/devicetree.h>
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl-rcar-common.h>
#include <stdint.h>
#include <zephyr/sys/util_macro.h>
Go to the source code of this file.
Data Structures | |
struct | rcar_pin_func |
struct | pinctrl_soc_pin |
Type for R-Car pin. More... | |
struct | pfc_drive_reg_field |
struct | pfc_drive_reg |
struct | pfc_bias_reg |
Macros | |
#define | RCAR_PIN_FLAGS_PULL_SET BIT(0) |
Pull-up, pull-down, or bias disable is requested. | |
#define | RCAR_PIN_FLAGS_PUEN BIT(1) |
Performs on/off control of the pull resistors. | |
#define | RCAR_PIN_FLAGS_PUD BIT(2) |
Select pull-up resistor if set pull-down otherwise. | |
#define | RCAR_PIN_FLAGS_FUNC_SET BIT(3) |
Alternate function for the pin is requested. | |
#define | RCAR_PIN_FLAGS_FUNC_DUMMY BIT(4) |
Ignore IPSR settings for alternate function pin. | |
#define | RCAR_PIN_PULL_UP (RCAR_PIN_FLAGS_PULL_SET | RCAR_PIN_FLAGS_PUEN | RCAR_PIN_FLAGS_PUD) |
#define | RCAR_PIN_PULL_DOWN (RCAR_PIN_FLAGS_PULL_SET | RCAR_PIN_FLAGS_PUEN) |
#define | RCAR_PIN_PULL_DISABLE RCAR_PIN_FLAGS_PULL_SET |
#define | RCAR_IPSR(node_id) |
#define | RCAR_HAS_IPSR(node_id) |
#define | RCAR_PIN_FUNC(node_id) |
#define | RCAR_PIN_IS_FUNC_DUMMY(node_id) |
#define | RCAR_PIN_FLAGS(node_id) |
#define | RCAR_DT_PIN(node_id) |
#define | RCAR_IS_GP_PIN(pin) |
Utility macro to check if a pin is GPIO capable. | |
Typedefs | |
typedef struct pinctrl_soc_pin | pinctrl_soc_pin_t |
Type for R-Car pin. | |
#define RCAR_DT_PIN | ( | node_id | ) |
#define RCAR_HAS_IPSR | ( | node_id | ) |
#define RCAR_IPSR | ( | node_id | ) |
#define RCAR_IS_GP_PIN | ( | pin | ) |
Utility macro to check if a pin is GPIO capable.
pin |
#define RCAR_PIN_FLAGS | ( | node_id | ) |
#define RCAR_PIN_FLAGS_FUNC_DUMMY BIT(4) |
Ignore IPSR settings for alternate function pin.
#define RCAR_PIN_FLAGS_FUNC_SET BIT(3) |
Alternate function for the pin is requested.
#define RCAR_PIN_FLAGS_PUD BIT(2) |
Select pull-up resistor if set pull-down otherwise.
#define RCAR_PIN_FLAGS_PUEN BIT(1) |
Performs on/off control of the pull resistors.
#define RCAR_PIN_FLAGS_PULL_SET BIT(0) |
Pull-up, pull-down, or bias disable is requested.
#define RCAR_PIN_FUNC | ( | node_id | ) |
#define RCAR_PIN_IS_FUNC_DUMMY | ( | node_id | ) |
#define RCAR_PIN_PULL_DISABLE RCAR_PIN_FLAGS_PULL_SET |
#define RCAR_PIN_PULL_DOWN (RCAR_PIN_FLAGS_PULL_SET | RCAR_PIN_FLAGS_PUEN) |
#define RCAR_PIN_PULL_UP (RCAR_PIN_FLAGS_PULL_SET | RCAR_PIN_FLAGS_PUEN | RCAR_PIN_FLAGS_PUD) |
typedef struct pinctrl_soc_pin pinctrl_soc_pin_t |
Type for R-Car pin.