Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gpio_sx1509b.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
13#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
14#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
15
23#include <zephyr/device.h>
24#include <zephyr/drivers/gpio.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
47 gpio_pin_t pin);
48
60 uint8_t intensity_val);
61
62#ifdef __cplusplus
63}
64#endif
65
70#endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_ */
Public APIs for GPIO drivers.
uint8_t gpio_pin_t
Provides a type to hold a GPIO pin index.
Definition gpio.h:261
int sx1509b_led_intensity_pin_set(const struct device *dev, gpio_pin_t pin, uint8_t intensity_val)
Set LED intensity of selected pin.
int sx1509b_led_intensity_pin_configure(const struct device *dev, gpio_pin_t pin)
Configure a pin for LED intensity.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:510