/* 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 <stdint.h> | |
#include <device.h> | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
struct pin_config { | |
uint8_t pin_num; | |
uint32_t mode; | |
}; | |
struct pinmux_config { | |
uint32_t base_address; | |
}; | |
#ifdef __cplusplus | |
} | |
#endif | |
#endif /* __DRIVERS_PINMUX_H */ |