Remove @ and % tag from all comments

and format the multiple line comments

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-12-10 10:53:03 +08:00
committed by Alan Carvalho de Assis
parent 02aeb66644
commit ca5a9c711a
127 changed files with 986 additions and 1298 deletions
+6 -11
View File
@@ -538,17 +538,15 @@ extern "C"
#define CXD56_GNSS_IOCTL_SET_1PPS_OUTPUT 52 #define CXD56_GNSS_IOCTL_SET_1PPS_OUTPUT 52
/** /* Get the current 1PPS output setting
* Get the current 1PPS output setting
* *
* @param[out] arg * param[out] arg
* enable(1) or disable(0) * enable(1) or disable(0)
*/ */
#define CXD56_GNSS_IOCTL_GET_1PPS_OUTPUT 53 #define CXD56_GNSS_IOCTL_GET_1PPS_OUTPUT 53
/** /* Get the firmware version
* Get the firmware version
* *
* param[in] arg * param[in] arg
* string array of CXD56_GNSS_VERSION_MAXLEN * string array of CXD56_GNSS_VERSION_MAXLEN
@@ -556,8 +554,7 @@ extern "C"
#define CXD56_GNSS_IOCTL_GET_VERSION 54 #define CXD56_GNSS_IOCTL_GET_VERSION 54
/** /* Sleep the firmware
* Sleep the firmware
* *
* param[in] arg * param[in] arg
* CXD56_GNSS_SLEEP(0) or CXD56_GNSS_DEEPSLEEP(1) * CXD56_GNSS_SLEEP(0) or CXD56_GNSS_DEEPSLEEP(1)
@@ -565,8 +562,7 @@ extern "C"
#define CXD56_GNSS_IOCTL_SLEEP 55 #define CXD56_GNSS_IOCTL_SLEEP 55
/** /* Wake up the firmware
* Wake up the firmware
* *
* param arg * param arg
* Parameter is Unnecessary. Set Zero. * Parameter is Unnecessary. Set Zero.
@@ -574,8 +570,7 @@ extern "C"
#define CXD56_GNSS_IOCTL_WAKEUP 56 #define CXD56_GNSS_IOCTL_WAKEUP 56
/** /* Reset the firmware
* Reset the firmware
* *
* param arg * param arg
* Parameter is Unnecessary. Set Zero. * Parameter is Unnecessary. Set Zero.
+1 -1
View File
@@ -27,7 +27,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
/* Number of bytes in @p x kibibytes/mebibytes/gibibytes */ /* Number of bytes in x kibibytes/mebibytes/gibibytes */
#define KB(x) ((x) << 10) #define KB(x) ((x) << 10)
#define MB(x) (KB(x) << 10) #define MB(x) (KB(x) << 10)
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+13 -26
View File
@@ -1693,8 +1693,7 @@ static int seq_scuirqhandler(int irq, void *context, void *arg)
} }
} }
/** /* Detect all FIFO underrun errors
* Detect all FIFO underrun errors
* This error may not happened because check reading bytes at seq_read(). * This error may not happened because check reading bytes at seq_read().
* Thus, it is a program error when ERR1 detected. * Thus, it is a program error when ERR1 detected.
*/ */
@@ -1888,8 +1887,7 @@ static int seq_fifoinit(struct seq_s *seq, int fifoid, uint16_t fsize)
return -ENOMEM; return -ENOMEM;
} }
/** /* FIFO IDs (* is unavailable)
* FIFO IDs (* is unavailable)
* D = Decimation FIFO * D = Decimation FIFO
* N = Normal FIFO * N = Normal FIFO
* *
@@ -3165,8 +3163,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Enable/disable sign conversion feature
* Enable/disable sign conversion feature
* Arg: unsigned long, 0 = off, other = on * Arg: unsigned long, 0 = off, other = on
*/ */
@@ -3176,8 +3173,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Enable offset/gain adjustment preprocessing.
* Enable offset/gain adjustment preprocessing.
* Arg: Pointer of adjust_xyz_t * Arg: Pointer of adjust_xyz_t
* If arg is null, just enable offset/gain (use current setting value). * If arg is null, just enable offset/gain (use current setting value).
*/ */
@@ -3201,8 +3197,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Disable offset/gain adjustment preprocessing.
* Disable offset/gain adjustment preprocessing.
* Arg: None * Arg: None
*/ */
@@ -3212,8 +3207,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Set IIR filter position and coefficiencies.
* Set IIR filter position and coefficiencies.
* Arg: Pointer of struct math_filter_s * Arg: Pointer of struct math_filter_s
*/ */
@@ -3239,8 +3233,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Set event notifier
* Set event notifier
* Arg: Pointer of struct scuev_notify_s * Arg: Pointer of struct scuev_notify_s
*/ */
@@ -3266,8 +3259,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Set number of elements per sample for mathfunc
* Set number of elements per sample for mathfunc
* Arg: uint8_t * Arg: uint8_t
*/ */
@@ -3277,8 +3269,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Set decimation parameters
* Set decimation parameters
* Arg: Pointer of struct decimation_s * Arg: Pointer of struct decimation_s
*/ */
@@ -3295,8 +3286,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
break; break;
} }
/** /* Now only save decimation parameters because decimation parameter
* Now only save decimation parameters because decimation parameter
* cannot be set while sequencer running. * cannot be set while sequencer running.
*/ */
@@ -3306,8 +3296,7 @@ int seq_ioctl(struct seq_s *seq, int fifoid, int cmd, unsigned long arg)
} }
break; break;
/** /* Set FIFO watermark
* Set FIFO watermark
* Arg: Pointer of struct scufifo_wm_s * Arg: Pointer of struct scufifo_wm_s
*/ */
@@ -3418,15 +3407,13 @@ void scu_initialize(void)
scufifo_initialize(); scufifo_initialize();
/** /* If SCU clock has been already enabled, keep SCU running without loading
* If SCU clock has been already enabled, keep SCU running without loading
* and reset of SCU firmware. * and reset of SCU firmware.
*/ */
if (false == cxd56_scuseq_clock_is_enabled()) if (false == cxd56_scuseq_clock_is_enabled())
{ {
/** /* Enable SCU clock. This process must do before loading firmware
* Enable SCU clock. This process must do before loading firmware
* because SCU instruction RAM is not accessible. * because SCU instruction RAM is not accessible.
*/ */
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
+2 -2
View File
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
@@ -8,9 +8,9 @@
* freely, subject to the following restrictions: * freely, subject to the following restrictions:
* *
* 1. The origin of this software must not be misrepresented; you must not * 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software.@n * claim that you wrote the original software.
* 2. Altered source versions must be plainly marked as such, and must not be * 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.@n * misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution. * 3. This notice may not be removed or altered from any source distribution.
* *
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
@@ -1,11 +1,9 @@
/**************************************************************************** /****************************************************************************
* arch/arm/src/lpc43xx/spifi/inc/spifilib_dev.h * arch/arm/src/lpc43xx/spifi/inc/spifilib_dev.h
* *
* @note
* Copyright(C) NXP Semiconductors, 2014 * Copyright(C) NXP Semiconductors, 2014
* All rights reserved. * All rights reserved.
* *
* @par
* Software that is described herein is for illustrative purposes only * Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the * which provides customers with programming information regarding the
* LPC products. This software is supplied "AS IS" without any warranties * LPC products. This software is supplied "AS IS" without any warranties
@@ -21,7 +19,6 @@
* application will be suitable for the specified use without further testing * application will be suitable for the specified use without further testing
* or modification. * or modification.
* *
* @par
* Permission to use, copy, modify, and distribute this software and its * Permission to use, copy, modify, and distribute this software and its
* documentation is hereby granted, under NXP Semiconductors' and its * documentation is hereby granted, under NXP Semiconductors' and its
* licensor's relevant copyrights in the software, without fee, provided that * licensor's relevant copyrights in the software, without fee, provided that
+1 -1
View File
@@ -49,4 +49,4 @@
void nrf53_earlyserialinit(void); void nrf53_earlyserialinit(void);
#endif #endif
#endif /* __ARCH_ARM_SRC_NRF53_NRF53@_SERIAL_H */ #endif /* __ARCH_ARM_SRC_NRF53_NRF53_SERIAL_H */
+1 -1
View File
@@ -49,4 +49,4 @@
void nrf91_earlyserialinit(void); void nrf91_earlyserialinit(void);
#endif #endif
#endif /* __ARCH_ARM_SRC_NRF91_NRF91@_SERIAL_H */ #endif /* __ARCH_ARM_SRC_NRF91_NRF91_SERIAL_H */
+5 -8
View File
@@ -19,14 +19,11 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file error.h * error.h
* @brief Global error definition * Global error definition
* @version 0.0 * 0.0
* @date 11. Feb. 2018 * 11. Feb. 2018
* @author Eagle.Lao * Eagle.Lao
*
*
*
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
+5 -5
View File
@@ -19,11 +19,11 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file flash.h * flash.h
* @brief Contains all functions support for flash driver * Contains all functions support for flash driver
* @version 0.0 * 0.0
* @date 27. Nov. 2017 * 27. Nov. 2017
* @author qing.han * qing.han
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
+3 -5
View File
@@ -19,12 +19,10 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file global_config.h * global_config.h
* *
* @brief This file contains the definitions of index of * This file contains the definitions of index of
* global configuration which will be configured in APP project.
* global configuration which
* will be configured in APP project.
* *
* $Rev: $ * $Rev: $
* *
+5 -5
View File
@@ -19,11 +19,11 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file gpio.h * gpio.h
* @brief Contains all functions support for gpio and iomux driver * Contains all functions support for gpio and iomux driver
* @version 0.0 * 0.0
* @date 19. Oct. 2017 * 19. Oct. 2017
* @author qing.han * qing.han
****************************************************************************/ ****************************************************************************/
#ifndef __ARCH_ARM_SRC_PHY62XX_GPIO_H #ifndef __ARCH_ARM_SRC_PHY62XX_GPIO_H
+2 -2
View File
@@ -20,9 +20,9 @@
/**************************************************************************** /****************************************************************************
* *
* @file jump_fucntion.h * jump_fucntion.h
* *
* @brief This file contains the definitions of the macros and functions * This file contains the definitions of the macros and functions
* that are architecture dependent. The implementation of those is * that are architecture dependent. The implementation of those is
* implemented in the appropriate architecture directory. * implemented in the appropriate architecture directory.
* *
+5 -5
View File
@@ -19,11 +19,11 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file log.h * log.h
* @brief Contains all functions support for uart driver * Contains all functions support for uart driver
* @version 0.0 * 0.0
* @date 31. Jan. 2018 * 31. Jan. 2018
* @author eagle.han * eagle.han
****************************************************************************/ ****************************************************************************/
#ifndef ENABLE_LOG_ROM #ifndef ENABLE_LOG_ROM
+5 -5
View File
@@ -23,11 +23,11 @@
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
* @file uart.h * uart.h
* @brief Contains all functions support for uart driver * Contains all functions support for uart driver
* @version 0.0 * 0.0
* @date 19. Oct. 2017 * 19. Oct. 2017
* @author qing.han * qing.han
****************************************************************************/ ****************************************************************************/
#ifndef __ARCH_ARM_SRC_PHY62XX_UART_H #ifndef __ARCH_ARM_SRC_PHY62XX_UART_H
+1 -2
View File
@@ -38,8 +38,7 @@
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
/** /* This structure provides the private representation of the "lower-half"
* This structure provides the private representation of the "lower-half"
* driver state structure. This structure must be cast-compatible with the * driver state structure. This structure must be cast-compatible with the
* well-known watchdog_lowerhalf_s structure. * well-known watchdog_lowerhalf_s structure.
*/ */
+1 -3
View File
@@ -542,9 +542,7 @@ struct mtd_dev_s *sam_nand_initialize(int cs)
priv->cs = cs; priv->cs = cs;
priv->rb = GPIO_SMC_RB; priv->rb = GPIO_SMC_RB;
/* Initialize the NAND hardware for this CS */ /* Initialize the NAND hardware for this CS
/**
* Note: The initialization is shown for the reference purpose only, and * Note: The initialization is shown for the reference purpose only, and
* for other MCUs, refer to the Package and Pinout chapter of the * for other MCUs, refer to the Package and Pinout chapter of the
* respective data sheet. * respective data sheet.
+1 -3
View File
@@ -392,9 +392,7 @@ enum sam_hoststate_e
USB_HOSTSTATE_CONFIGURED /* A valid configuration has been selected. */ USB_HOSTSTATE_CONFIGURED /* A valid configuration has been selected. */
}; };
/** /* USB HCD pipe states */
* @brief USB HCD pipe states
*/
enum usb_h_pipe_state enum usb_h_pipe_state
{ {
+2 -5
View File
@@ -69,9 +69,7 @@
#define WDT_CLK_8192CYCLE 8192 #define WDT_CLK_8192CYCLE 8192
#define WDT_CLK_16384CYCLE 16384 #define WDT_CLK_16384CYCLE 16384
/** /* Macro is used to indicate the rate of second/millisecond */
* \brief Macro is used to indicate the rate of second/millisecond
*/
#define WDT_PERIOD_RATE 1000 #define WDT_PERIOD_RATE 1000
@@ -79,8 +77,7 @@
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
/** /* This structure provides the private representation of the "lower-half"
* This structure provides the private representation of the "lower-half"
* driver state structure. This structure must be cast-compatible with the * driver state structure. This structure must be cast-compatible with the
* well-known watchdog_lowerhalf_s structure. * well-known watchdog_lowerhalf_s structure.
*/ */
+1 -1
View File
@@ -31,7 +31,7 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Number of bytes in @p x kibibytes/mebibytes/gibibytes */ /* Number of bytes in x kibibytes/mebibytes/gibibytes */
#define KB(x) ((x) << 10) #define KB(x) ((x) << 10)
#define MB(x) (KB(x) << 10) #define MB(x) (KB(x) << 10)
+1 -1
View File
@@ -31,7 +31,7 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Number of bytes in @p x kibibytes/mebibytes/gibibytes */ /* Number of bytes in x kibibytes/mebibytes/gibibytes */
#define KB(x) ((x) << 10) #define KB(x) ((x) << 10)
#define MB(x) (KB(x) << 10) #define MB(x) (KB(x) << 10)
+1 -1
View File
@@ -31,7 +31,7 @@
* Pre-processor Definitions * Pre-processor Definitions
****************************************************************************/ ****************************************************************************/
/* Number of bytes in @p x kibibytes/mebibytes/gibibytes */ /* Number of bytes in x kibibytes/mebibytes/gibibytes */
#define KB(x) ((x) << 10) #define KB(x) ((x) << 10)
#define MB(x) (KB(x) << 10) #define MB(x) (KB(x) << 10)

Some files were not shown because too many files have changed in this diff Show More