Main Page
Namespaces
Classes
Files
File List
File Members
src
ros_lib
tivac_hardware.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015, Robosavvy Ltd.
3
* All rights reserved.
4
* Author: Vitor Matos
5
*
6
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
7
* following conditions are met:
8
*
9
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
* following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
12
* following disclaimer in the documentation and/or other materials provided with the distribution.
13
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote
14
* products derived from this software without specific prior written permission.
15
*
16
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
17
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
20
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
21
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
*/
24
25
#include <stdbool.h>
26
#include <stdint.h>
27
28
#ifndef USE_USBCON
29
#include <utils/ringbuf.h>
30
31
tRingBufObject
rxBuffer
;
32
tRingBufObject
txBuffer
;
33
#endif
34
35
volatile
uint32_t
g_ui32milliseconds
= 0;
36
volatile
uint32_t
g_ui32heartbeat
= 0;
g_ui32milliseconds
volatile uint32_t g_ui32milliseconds
Definition:
tivac_hardware.cpp:35
txBuffer
tRingBufObject txBuffer
Definition:
tivac_hardware.cpp:32
g_ui32heartbeat
volatile uint32_t g_ui32heartbeat
Definition:
tivac_hardware.cpp:36
rxBuffer
tRingBufObject rxBuffer
Definition:
tivac_hardware.cpp:31
rosserial_tivac
Author(s): Vitor Matos, Vitor Matos
autogenerated on Mon Jun 10 2019 14:53:43