Main Page
Classes
Files
File List
File Members
src
hcl_gpio.h
Go to the documentation of this file.
1
//==============================================================================
2
//
3
// hcl_gpio.h - Seiko Epson Hardware Control Library
4
//
5
//
6
// THE SOFTWARE IS RELEASED INTO THE PUBLIC DOMAIN.
7
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
8
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT,
9
// SECURITY, SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
10
// SHALL EPSON BE LIABLE FOR ANY LOSS, DAMAGE OR CLAIM, ARISING FROM OR IN CONNECTION
11
// WITH THE SOFTWARE OR THE USE OF THE SOFTWARE.
12
//
13
//==============================================================================
14
15
#ifndef HCL_GPIO_H_
16
#define HCL_GPIO_H_
17
18
// Prototypes for generic GPIO functions
19
int
gpioInit
(
void
);
20
int
gpioRelease
(
void
);
21
22
void
gpioSet
(uint8_t pin);
23
void
gpioClr
(uint8_t pin);
24
uint8_t
gpioGetPinLevel
(uint8_t pin);
25
26
// Dummy assignments if below signal are not connected to anything
27
#define EPSON_RESET 0
28
#define EPSON_DRDY 0
29
#define EPSON_CS 0
30
31
#endif
gpioInit
int gpioInit(void)
Definition:
hcl_gpio.c:29
gpioRelease
int gpioRelease(void)
Definition:
hcl_gpio.c:41
gpioClr
void gpioClr(uint8_t pin)
Definition:
hcl_gpio.c:65
gpioSet
void gpioSet(uint8_t pin)
Definition:
hcl_gpio.c:53
gpioGetPinLevel
uint8_t gpioGetPinLevel(uint8_t pin)
Definition:
hcl_gpio.c:77
epson_g364_imu_driver
Author(s):
autogenerated on Mon Jun 10 2019 13:12:32