mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-17 10:26:10 +00:00
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. Jira: ZEP-2051 Change-Id: I08f51e2bfd475f6245771c1bd2df7ffc744c48c4 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
32 lines
443 B
C
32 lines
443 B
C
/* pinmux.h - the private pinmux driver header */
|
|
|
|
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef __DRIVERS_PINMUX_H
|
|
#define __DRIVERS_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 /* __DRIVERS_PINMUX_H */
|