1 /*
2  * Copyright (c) 2023 IoT.bzh
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_DRIVERS_PINCTRL_PFC_RCAR_H_
8 #define ZEPHYR_DRIVERS_PINCTRL_PFC_RCAR_H_
9 
10 #include <stdint.h>
11 #include <pinctrl_soc.h>
12 
13 const struct pfc_bias_reg *pfc_rcar_get_bias_regs(void);
14 const struct pfc_drive_reg *pfc_rcar_get_drive_regs(void);
15 
16 /**
17  * @brief set the register index for a given pin
18  *
19  * @param the pin
20  * @param pointer for the resulting register index
21  * @return 0 if the register index is found, negative
22  * errno otherwise.
23  */
24 int pfc_rcar_get_reg_index(uint8_t pin, uint8_t *reg_index);
25 
26 #endif /* ZEPHYR_DRIVERS_PINCTRL_PFC_RCAR_H_ */
27