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
8
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9
// NONINFRINGEMENT, SECURITY, SATISFACTORY QUALITY, AND FITNESS FOR A
10
// PARTICULAR PURPOSE. IN NO EVENT SHALL EPSON BE LIABLE FOR ANY LOSS, DAMAGE
11
// OR CLAIM, ARISING FROM OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF THE
12
// SOFTWARE.
13
//
14
//==============================================================================
15
16
#ifndef HCL_GPIO_H_
17
#define HCL_GPIO_H_
18
19
// Prototypes for generic GPIO functions
20
int
gpioInit
(
void
);
21
int
gpioRelease
(
void
);
22
23
void
gpioSet
(uint8_t pin);
24
void
gpioClr
(uint8_t pin);
25
uint8_t
gpioGetPinLevel
(uint8_t pin);
26
27
// Dummy assignments if below signal are not connected to anything
28
#define EPSON_RESET 0
29
#define EPSON_DRDY 0
30
#define EPSON_CS 0
31
32
#endif
gpioGetPinLevel
uint8_t gpioGetPinLevel(uint8_t pin)
gpioRelease
int gpioRelease(void)
Definition:
hcl_gpio.c:41
gpioClr
void gpioClr(uint8_t pin)
gpioInit
int gpioInit(void)
Definition:
hcl_gpio.c:33
gpioSet
void gpioSet(uint8_t pin)
ess_imu_ros1_uart_driver
Author(s):
autogenerated on Sun Dec 3 2023 03:11:32