-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpic18_sysfs_gpio.h
20 lines (14 loc) · 942 Bytes
/
pic18_sysfs_gpio.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Copyright (c) 2012-2013, Stuart Wheater, Newcastle upon Tyne, England. All rights reserved.
*/
#ifndef _PIC18_SYSFS_GPIO_H_
#define _PIC18_SYSFS_GPIO_H_
#include <linux/types.h>
#include <linux/kobject.h>
extern ssize_t pic18_gpio_pgd_show(struct kobject *kobject, struct kobj_attribute *attribute, char *buffer);
extern ssize_t pic18_gpio_pgd_store(struct kobject *kobject, struct kobj_attribute *attribute, const char *buffer, size_t count);
extern ssize_t pic18_gpio_pgc_show(struct kobject *kobject, struct kobj_attribute *attribute, char *buffer);
extern ssize_t pic18_gpio_pgc_store(struct kobject *kobject, struct kobj_attribute *attribute, const char *buffer, size_t count);
extern ssize_t pic18_gpio_vpp_show(struct kobject *kobject, struct kobj_attribute *attribute, char *buffer);
extern ssize_t pic18_gpio_vpp_store(struct kobject *kobject, struct kobj_attribute *attribute, const char *buffer, size_t count);
#endif