]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Minor changes of doxygen generated documentation.
authorCarlos Jenkins <carlos@jenkins.co.cr>
Fri, 14 Jun 2013 01:31:36 +0000 (03:31 +0200)
committerCarlos Jenkins <carlos@jenkins.co.cr>
Fri, 14 Jun 2013 01:31:36 +0000 (03:31 +0200)
12 files changed:
rpp/include/rpp/ain.h
rpp/include/rpp/aout.h
rpp/include/rpp/din.h
rpp/include/rpp/eth.h
rpp/include/rpp/fr.h
rpp/include/rpp/hbr.h
rpp/include/rpp/hout.h
rpp/include/rpp/lin.h
rpp/include/rpp/lout.h
rpp/include/rpp/mout.h
rpp/include/rpp/sci.h
rpp/include/rpp/sdc.h

index 08038989adb42f027d63e0cc8c58dae960e3e621..1499b93ead6b24de366d11f8f2504fdc0e0c4996 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_ain_init();
 
@@ -39,7 +39,7 @@ int16_t rpp_ain_get(uint8_t pin);
  * Read and update analog cached values.
  *
  * @return SUCCESS when transaction was successful.\n
- *          FAILURE if transaction could not be confirmed.
+ *         FAILURE if transaction could not be confirmed.
  */
 int8_t rpp_ain_update();
 
index 5a9a2aa378d7098c1ba9ed42ba023455efa2df24..c5cfbb4ea2d7a3eca1e9fe963a560c01aec85617 100644 (file)
@@ -27,7 +27,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_aout_init();
 
@@ -85,7 +85,7 @@ int8_t rpp_aout_set_voltage(uint8_t pin, uint16_t mv);
  * Flush cached output values.
  *
  * @return SUCCESS when transaction was successful.\n
- *          FAILURE if transaction could not be confirmed.
+ *         FAILURE if transaction could not be confirmed.
  */
 int8_t rpp_aout_update();
 
index 9c1d06febd94c6ccfb86fd38a22ab67596ee045c..ec0a2d02b2bc9b0abab9547a28c905518dff87b9 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_din_init();
 
@@ -69,11 +69,12 @@ int8_t rpp_din_setup(uint8_t pin, boolean_t pull_type,
  *
  * @param[in] pin       The pin number to read [1-16].
  * @param[in] var_thr   TRUE to read from variable threshold uncached high speed
- *                      channel. Note that only inputs [9-16] can use this
- *                      option. Inputs [9-12] use variable threshold B and
- *                      [13-16] use variable threshold B.
+ *                      channel. See rpp_din_ref().\n
+ *                      Note that only inputs [9-16] can use this option.\n
+ *                      Inputs [9-12] use variable threshold B and [13-16] use
+ *                      variable threshold B.\n
  *                      FALSE to read from SPI cached value. All pins can use
- *                      this option. See rpp_din_ref().
+ *                      this option.
  *
  * @return HIGH or LOW if successful.\n
  *         -1 if pin number is out of range.\n
@@ -100,7 +101,7 @@ int8_t rpp_din_diag(uint8_t pin);
  * changes on pin configurations.
  *
  * @return SUCCESS when transaction was successful.\n
- *          FAILURE if transaction could not be confirmed.
+ *         FAILURE if transaction could not be confirmed.
  */
 int8_t rpp_din_update();
 
index c907701978e5565ada59f215432d4e5a1a4b5035..41f88494bef22ed3c1cb685f816766c4c0970089 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_eth_init();
 
index 111eda4da694e5bf02772e929793e27d7a31a1db..f2d1bff872f2fe25e765fa31e52c69f65a331e79 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_fr_init();
 
index 09abf7c6507204217b8db44adadcd53ddd59bd5c..3bbd15a345dc1c39fdf3311a4e180172273b2bf4 100644 (file)
@@ -33,7 +33,7 @@ int8_t rpp_hbr_init();
  *
  * @param[in] period    Period of the PWM in microseconds (us). If period is
  *                      less than 1 (the minimum, see note below) the default of
- *                      ~18kHz (18181.818181818 Hz to be precise) is used.
+ *                      55us (~18kHz, 18181.8181_ Hz to be precise) is used.
  *
  * @return SUCCESS if successful.\n
  *         FAILURE if H-Bridge was already enabled or watchdog task could not
@@ -41,13 +41,13 @@ int8_t rpp_hbr_init();
  *
  * @note Period considerations from Software perspective (hardware verification
  * required):
- *
+ * @par
  *     - Minimum value is [1us]:
  *         - 1us = 0.001 ms =>
  *         - 1000000 Hz = 1 MHz
  *         - A pulse of 1% of the duty cycle -> 100 MHz (X)
  *         - System clock is 80MHz.
- *
+ * @par
  *     - Maximum value is [2147483647us] (full 32bit signed integer):
  *         - 2147483647us = 2147483.647 ms = 2147.483647 s =
  *           ~35.791394 min => 0.000465661129 Hz -> 0.0... MHz
index 66287ae263d8ec8b855099271a91c1ab6adbd821..07b17b0334ce03b303936794feb60d53cce249f2 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_hout_init();
 
index c295a71f47e927a31defbc4eac082ffcdc0be9c4..7240438158e19647c5b17363b3f555a1b8b61104 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_lin_init();
 
index 877134fdf85c0db3d6cdf129e627ea1c4a0b1715..450c7901593617876f7c4ca0821a390ed53033f4 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_lout_init();
 
@@ -54,7 +54,7 @@ int8_t rpp_lout_diag(uint8_t pin);
  * Flush cached output values and read back diagnostic values of all pins.
  *
  * @return SUCCESS when transaction was successful.\n
- *          FAILURE if transaction could not be confirmed.
+ *         FAILURE if transaction could not be confirmed.
  */
 int8_t rpp_lout_update();
 
index a1b1745a84bcadf9fdd7cc2f707b0b2bbb62c90f..02f22cec5dd735549bcf887f466de099c1d8a846 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_mout_init();
 
index 6a3b8251593bd419c43255bc478e0046edaef3f7..a716cac02b9f690b3e14a3812b8c16a5d74ad75d 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_sci_init();
 
@@ -32,7 +32,7 @@ int8_t rpp_sci_init();
  *                      Default is 9600. If 0 is provided default is used.
  *
  * @return TRUE if baud rate is a known value.\n
- *          FALSE otherwise.
+ *         FALSE otherwise.
  */
 boolean_t rpp_sci_setup(uint32_t baud);
 
@@ -82,7 +82,7 @@ int8_t rpp_sci_read(uint32_t amount, uint8_t* buffer);
  * @param[out] buffer   Pointer to buffer where to store data.
  *
  * @return SUCCESS if the requested amount of data could be transfered.\n
- *          FAILURE if requested amount of data is unavailable.
+ *         FAILURE if requested amount of data is unavailable.
  */
 int8_t rpp_sci_read_nb(uint32_t amount, uint8_t* buffer);
 
@@ -125,9 +125,9 @@ int8_t rpp_sci_write(uint32_t amount, uint8_t* data);
  * @param[in] data      Pointer to buffer from where to read data.
  *
  * @return SUCCESS if the requested amount of data could be transfered to the
- *                  output buffer.\n
- *          FAILURE if the SCI output buffer was locked by another process or
- *                  not all the bytes requested to send could be transfered.
+ *                 output buffer.\n
+ *         FAILURE if the SCI output buffer was locked by another process or
+ *                 not all the bytes requested to send could be transfered.
  */
 int8_t rpp_sci_write_nb(uint32_t amount, uint8_t* data);
 
@@ -144,7 +144,7 @@ int8_t rpp_sci_write_nb(uint32_t amount, uint8_t* data);
  *                      FALSE to flush outgoing buffer.
  *
  * @return SUCCESS if flushed buffer had some data.\n
- *          FAILURE if flushed buffer had no data left.
+ *         FAILURE if flushed buffer had no data left.
  */
 int8_t rpp_sci_flush(boolean_t buff);
 
@@ -213,7 +213,7 @@ int8_t rpp_sci_putc(uint8_t byte);
  * user expecting to run in Simulation should always check for FAILURE.
  *
  * @return [0-255] The byte read from the SCI input buffer.\n
- *          FAILURE If and error occurred.
+ *         FAILURE If and error occurred.
  */
 int16_t rpp_sci_getc();
 
index b7e85e0c3ea1565659d2877fd8b720cd7735050a..2870cb05a29dfb80d6c5aa959abff1c4619a8e89 100644 (file)
@@ -18,7 +18,7 @@
  * Call this method before using this module.
  *
  * @return SUCCESS if initialization successful.\n
- *          FAILURE if module already initialized.
+ *         FAILURE if module already initialized.
  */
 int8_t rpp_sdc_init();