Zephyr API Documentation 4.0.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
7#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
8#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_
9
10#include <zephyr/device.h>
11#include <zephyr/drivers/gpio.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
34 gpio_pin_t pin);
35
47 uint8_t intensity_val);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_SX1509B_H_ */
Public APIs for GPIO drivers.
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_t gpio_pin_t
Provides a type to hold a GPIO pin index.
Definition gpio.h:254
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:412