Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: Ic82127b5a4426872b11da5434a8feddf53f4244e
struct _peripheral_gpio_s {
int pin;
uint handle;
+ int fd_direction;
+ int fd_edge;
+ int fd_value;
};
/**
*/
struct _peripheral_i2c_s {
uint handle;
+ int fd;
};
/**
*/
struct _peripheral_pwm_s {
uint handle;
+ int fd_period;
+ int fd_duty_cycle;
+ int fd_polarity;
+ int fd_enable;
};
/**
*/
struct _peripheral_uart_s {
uint handle;
+ int fd;
};
/**
*/
struct _peripheral_spi_s {
uint handle;
+ int fd;
};
#endif /* __PERIPHERAL_INTERNAL_H__ */