documentation: fix some spelling
This commit is contained in:
parent
7ed44a508c
commit
fbf59878d6
|
@ -1,10 +1,10 @@
|
|||
# libeismultiplexer
|
||||
|
||||
libeismultiplexer is a shared library that allows you to control EISmulitplexer devices.
|
||||
libeismultiplexer is a shared library that allows you to control EISmultiplexer devices.
|
||||
|
||||
For questions or comments, please write to klemm@rhd-instruments.de
|
||||
|
||||
Full Online API documentation can be built with the "doc" target and is also avialable [here](http://uvos.xyz/kiss/libeismultiplexer).
|
||||
Full Online API documentation can be built with the "doc" target and is also available [here](http://uvos.xyz/kiss/libeismultiplexer).
|
||||
A PDF with API documentation can be found [here](http://uvos.xyz/kiss/libeismultiplexer.pdf).
|
||||
|
||||
## Compile/Install
|
||||
|
@ -33,6 +33,6 @@ to make the documentation:
|
|||
|
||||
* make doc
|
||||
|
||||
### Licence
|
||||
### License
|
||||
|
||||
librelaxisloader is licenced to you under the Apache License, Version 2.0
|
||||
librelaxisloader is licensed to you under the BSD-3-CLAUSE license
|
||||
|
|
|
@ -1,37 +1,15 @@
|
|||
<!--
|
||||
Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
* Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||
used to endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<doxygenlayout version="1.0">
|
||||
<!-- Generated by doxygen 1.9.3 -->
|
||||
<!-- Generated by doxygen 1.9.8 -->
|
||||
<!-- Navigation index tabs for HTML output -->
|
||||
<navindex>
|
||||
<tab type="mainpage" visible="yes" title=""/>
|
||||
<tab type="pages" visible="yes" title="" intro=""/>
|
||||
<tab type="modules" visible="yes" title="" intro=""/>
|
||||
<tab type="topics" visible="yes" title="" intro=""/>
|
||||
<tab type="modules" visible="yes" title="" intro="">
|
||||
<tab type="modulelist" visible="yes" title="" intro=""/>
|
||||
<tab type="modulemembers" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="namespaces" visible="yes" title="">
|
||||
<tab type="namespacelist" visible="yes" title="" intro=""/>
|
||||
<tab type="namespacemembers" visible="yes" title="" intro=""/>
|
||||
|
@ -40,29 +18,29 @@
|
|||
</tab>
|
||||
<tab type="interfaces" visible="yes" title="">
|
||||
<tab type="interfacelist" visible="yes" title="" intro=""/>
|
||||
<tab type="interfaceindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="interfaceindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="interfacehierarchy" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="classes" visible="yes" title="">
|
||||
<tab type="classlist" visible="yes" title="" intro=""/>
|
||||
<tab type="classindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="classindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="hierarchy" visible="yes" title="" intro=""/>
|
||||
<tab type="classmembers" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="structs" visible="yes" title="">
|
||||
<tab type="structlist" visible="yes" title="" intro=""/>
|
||||
<tab type="structindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="structindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
</tab>
|
||||
<tab type="exceptions" visible="yes" title="">
|
||||
<tab type="exceptionlist" visible="yes" title="" intro=""/>
|
||||
<tab type="exceptionindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="exceptionindex" visible="$ALPHABETICAL_INDEX" title=""/>
|
||||
<tab type="exceptionhierarchy" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="files" visible="yes" title="">
|
||||
<tab type="filelist" visible="yes" title="" intro=""/>
|
||||
<tab type="globals" visible="yes" title="" intro=""/>
|
||||
</tab>
|
||||
<tab type="examples" visible="yes" title="" intro=""/>
|
||||
<tab type="examples" visible="yes" title="" intro=""/>
|
||||
</navindex>
|
||||
|
||||
<!-- Layout definition for a class page -->
|
||||
|
@ -70,7 +48,7 @@
|
|||
<briefdescription visible="yes"/>
|
||||
<includes visible="$SHOW_HEADERFILE"/>
|
||||
<inheritancegraph visible="$CLASS_GRAPH"/>
|
||||
<collaborationgraph visible="$COLLABORATION_GRAPH"/>
|
||||
<collaborationgraph visible="yes"/>
|
||||
<memberdecl>
|
||||
<nestedclasses visible="yes" title=""/>
|
||||
<publictypes title=""/>
|
||||
|
@ -169,8 +147,8 @@
|
|||
<file>
|
||||
<briefdescription visible="yes"/>
|
||||
<includes visible="$SHOW_INCLUDE_FILES"/>
|
||||
<includegraph visible="$INCLUDE_GRAPH"/>
|
||||
<includedbygraph visible="$INCLUDED_BY_GRAPH"/>
|
||||
<includegraph visible="yes"/>
|
||||
<includedbygraph visible="yes"/>
|
||||
<sourcelink visible="yes"/>
|
||||
<memberdecl>
|
||||
<interfaces visible="yes" title=""/>
|
||||
|
@ -206,9 +184,10 @@
|
|||
<!-- Layout definition for a group page -->
|
||||
<group>
|
||||
<briefdescription visible="yes"/>
|
||||
<groupgraph visible="$GROUP_GRAPHS"/>
|
||||
<groupgraph visible="yes"/>
|
||||
<memberdecl>
|
||||
<nestedgroups visible="yes" title=""/>
|
||||
<modules visible="yes" title=""/>
|
||||
<dirs visible="yes" title=""/>
|
||||
<files visible="yes" title=""/>
|
||||
<namespaces visible="yes" title=""/>
|
||||
|
@ -254,6 +233,25 @@
|
|||
<authorsection visible="yes"/>
|
||||
</group>
|
||||
|
||||
<!-- Layout definition for a C++20 module page -->
|
||||
<module>
|
||||
<briefdescription visible="yes"/>
|
||||
<exportedmodules visible="yes"/>
|
||||
<memberdecl>
|
||||
<concepts visible="yes" title=""/>
|
||||
<classes visible="yes" title=""/>
|
||||
<enums title=""/>
|
||||
<typedefs title=""/>
|
||||
<functions title=""/>
|
||||
<variables title=""/>
|
||||
<membergroups title=""/>
|
||||
</memberdecl>
|
||||
<detaileddescription title=""/>
|
||||
<memberdecl>
|
||||
<files visible="yes"/>
|
||||
</memberdecl>
|
||||
</module>
|
||||
|
||||
<!-- Layout definition for a directory page -->
|
||||
<directory>
|
||||
<briefdescription visible="yes"/>
|
||||
|
|
|
@ -1201,7 +1201,7 @@ HTML_STYLESHEET =
|
|||
# list). For an example see the documentation.
|
||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||
|
||||
HTML_EXTRA_STYLESHEET =
|
||||
HTML_EXTRA_STYLESHEET = @CMAKE_CURRENT_SOURCE_DIR@/doc/style.css
|
||||
|
||||
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
|
||||
# other source files which should be copied to the HTML output directory. Note
|
||||
|
|
27
doc/style.css
Normal file
27
doc/style.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
body {
|
||||
background-color: #CCC;
|
||||
color: black;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.contents {
|
||||
margin-bottom: 10px;
|
||||
padding: 12px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 1024px;
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#titlearea {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
hr.footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: #AAA;
|
||||
}
|
|
@ -32,9 +32,9 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
Api to controll EISmultiplexer devices.
|
||||
API to control EISmultiplexer devices.
|
||||
* @defgroup API User API
|
||||
* This api allows you to controll the EISmultiplexer device.
|
||||
* This API allows you to control the EISmultiplexer device.
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
@ -58,50 +58,50 @@ struct eismultiplexer {
|
|||
};
|
||||
|
||||
/**
|
||||
* @brief Attempts to connect to a EISmultiplexer device and initalizes a eismultiplexer struct
|
||||
* @param muliplexer pointer to a eismultiplexer struct to initalize
|
||||
* @brief Attempts to connect to a EISmultiplexer device and initializes a eismultiplexer struct
|
||||
* @param multiplexer pointer to a eismultiplexer struct to initialize
|
||||
* @param serial The serial number of the device to connect to, or 0 for any
|
||||
* @return 0 on sucess and < 0 on failure
|
||||
* @return 0 on success and < 0 on failure
|
||||
*/
|
||||
int eismultiplexer_connect(struct eismultiplexer* muliplexer, uint16_t serial);
|
||||
|
||||
/**
|
||||
* @brief Conects the given channel(s) to the common inputs
|
||||
* @param muliplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the chanel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* @return 0 on sucess and < 0 on failure
|
||||
* @brief Connects the given channel(s) to the common inputs
|
||||
* @param multiplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the channel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* @return 0 on success and < 0 on failure
|
||||
*/
|
||||
int eismultiplexer_connect_channel(struct eismultiplexer* muliplexer, channel_t channel);
|
||||
|
||||
/**
|
||||
* @brief Conects the given channel(s) to the common inputs disconnecting all others
|
||||
* @param muliplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the chanel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* @return 0 on sucess and < 0 on failure
|
||||
* @brief Connects the given channel(s) to the common inputs disconnecting all others
|
||||
* @param multiplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the channel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* @return 0 on success and < 0 on failure
|
||||
*/
|
||||
int eismultiplexer_connect_channel_exclusive(struct eismultiplexer* muliplexer, channel_t channel);
|
||||
|
||||
/**
|
||||
* @brief Disconnect the given channel(s) to the common inputs disconnecting all others
|
||||
* @param muliplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the chanel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* All channels can be dissconnected by passing CHANNEL_NONE
|
||||
* @return 0 on sucess and < 0 on failure
|
||||
* @param multiplexer pointer to a eismultiplexer struct
|
||||
* @param channel A channel to connect, multiple channels can be specified by or'ing together the channel flags e.g. (CHANNEL_A | CHANNEL_B)
|
||||
* All channels can be disconnected by passing CHANNEL_NONE
|
||||
* @return 0 on success and < 0 on failure
|
||||
*/
|
||||
int eismultiplexer_disconnect_channel(struct eismultiplexer* muliplexer, channel_t channel);
|
||||
|
||||
/**
|
||||
* @brief Returns the channels currently connected
|
||||
* @param muliplexer pointer to a eismultiplexer struct
|
||||
* @param multiplexer pointer to a eismultiplexer struct
|
||||
* @return channels connected as a bitfield
|
||||
*/
|
||||
channel_t eismultiplexer_get_connected(struct eismultiplexer* muliplexer);
|
||||
|
||||
/**
|
||||
* @brief Turns the led on the pcb on or off
|
||||
* @param muliplexer pointer to a eismultiplexer struct
|
||||
* @brief Turns the led on the PCB on or off
|
||||
* @param multiplexer pointer to a eismultiplexer struct
|
||||
* @param on true to turn the led on, false to turn it off
|
||||
* @return 0 on sucess and < 0 on failure
|
||||
* @return 0 on success and < 0 on failure
|
||||
*/
|
||||
int eismultiplexer_set_led(struct eismultiplexer* muliplexer, bool on);
|
||||
|
||||
|
|
Loading…
Reference in a new issue