Main Page
Classes
Class List
Class Members
All
a
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
Functions
Variables
a
c
d
e
f
g
h
i
m
n
o
p
q
r
t
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
u
v
w
Functions
c
d
g
i
m
n
o
p
r
s
u
w
Variables
Enumerations
Enumerator
Macros
a
b
c
d
e
f
m
n
o
r
s
v
w
src
sensor_epsonUart.h
Go to the documentation of this file.
1
//==============================================================================
2
//
3
// sensor_epsonUart.h - Epson IMU sensor definitions for UART interface
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
#pragma once
16
17
#include <stdio.h>
18
19
#include "
hcl.h
"
20
#include "
hcl_uart.h
"
21
#include "
sensor_epsonCommon.h
"
22
23
// UART Interface Timing
24
// TWRITERATE/TREADRATE = 200us min @ 460800 BAUD, 1 command = 3 bytes =
25
// 3 * 22us = 66us TSTALL = 200us - 66us = 134us
26
#define EPSON_STALL 134 // Microseconds
27
28
// Required delay between bus cycles for serial timings
29
#define epsonStall() seDelayMicroSecs(EPSON_STALL)
sensor_epsonCommon.h
hcl.h
hcl_uart.h
ess_imu_driver
Author(s):
autogenerated on Wed Dec 11 2024 03:06:30