mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 16:46:00 +00:00
Any word started with underscore followed by and uppercase letter or a second underscore is a reserved word according with C99. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
32 lines
482 B
C
32 lines
482 B
C
/* pinmux.h - the private pinmux driver header */
|
|
|
|
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef ZEPHYR_DRIVERS_PINMUX_PINMUX_H_
|
|
#define ZEPHYR_DRIVERS_PINMUX_PINMUX_H_
|
|
|
|
#include <zephyr/types.h>
|
|
#include <device.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct pin_config {
|
|
u8_t pin_num;
|
|
u32_t mode;
|
|
};
|
|
|
|
struct pinmux_config {
|
|
u32_t base_address;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_DRIVERS_PINMUX_PINMUX_H_ */
|