5.9.1 What is covered
The QTouch and QMatrix acquisition method libraries adhere to the MISRA standards. The
additional reference code provided in the form of sample applications is not guaranteed to be
MISRA compliant.
5.9.2 Target Environment
Development Environment
MISRA Checking software
MISRA Rule set applied
IAR Embedded Workbench
The MISRA C Compliance has been performed for the library
using MISRA C 2004 Rules in IAR Workbench development
environment.
MISRAC 2004 Rule Set
5.9.3 Deviations from MISRA C Standards
5.9.3.1
QTouch acquisition method libraries
The QTouch acquisition method libraries were subject to the above mentioned MISRA
compliance rules. The following exceptions have not been fixed as they are required for the
implementation of the library.
Applicable
Release
QTouch libraries version
5.0
Rule No
1.1
10.1
10.6
14.4
19.10
19.12
110
Rule Description
Rule states that all code
shall conform to ISO 9899
standard C, with no
extensions permitted.
Rule states that implicit
conversion from Underlying
long to unsigned long
This Rule says that a 'U'
suffix shall be applied to all
constants of 'unsigned' type
Rule states that go-to
statement should not be
used.
Rule states that In the
definition of a function-like
macro, each instance of a
parameter shall be enclosed
in parenthesis
Rule states that there shall
be at most one occurrence
of the # or ## preprocessor
operator in a single macro
definition
Exception noted / How it is addressed
This Rule is not supported as the library
implementation requires IAR extensions like
__interrupt. These intrinsic functions relate to
device hardware functionality, and cannot
practically be avoided.
The library uses macros to combine symbol
definitions to form a unique expanded symbol
name and in this, the usage of unsigned qualifiers
for numeric constants (e.g. 98u) causes name
mangling. This is the only occurrence of this error
in the library.
The library uses macros to combine symbol
definitions to form a unique expanded symbol
name and in this, the usage of unsigned qualifiers
for numeric constants (e.g. 98u) causes name
mangling. This is the only occurrence of this error
in the library.
The library uses conditional jump instructions to
reduce the code footprint at a few locations and
this is localized to small snippets of code. Hence
this rule is not supported.
There is one instance where the library breaks this
rule where two macro definitions are combined to
form a different symbol name. Usage of
parenthesis cannot be used in this scenario.
There is one instance in the library where this rule
is violated where the library concatenates two
macro definitions to arrive at a different definition.
8207L-AT42-05/12
相关PDF资料
ATU6-P305T-R CABLE CAT6 FULL-BOX 305M GRAY
ATUP-P305T-R CABLE CAT5E PULL-BOX 305M GRAY
ATUP-V305T-R CABLE CAT5E REEL 305M GRAY
AWG28-05/F-1/300-R CABLE 5 COND MULTI 300' RIBBON
AWG28-05/G-1/300-R CABLE 5 COND GRAY 300' RIBBON
AWG28-09/F-1/300-R CABLE 9 COND MULTI 300' RIBBON
AWG28-09/G-1/300-R CABLE 9 COND GRAY 300' RIBBON
AWG28-25/F-1/300-R CABLE 25 COND MULTI 300' RIBBON
相关代理商/技术参数
ATQT600IB 功能描述:界面开发工具 ATQT600IB Interface Brd RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
ATQT6-XPRO 功能描述:Xplained Pro - Extension Board 制造商:atmel 系列:- 零件状态:有效 配件类型:扩展板 配套使用产品/相关产品:Xplained Pro 标准包装:1
ATR 1078 功能描述:TOOL INSERTION TWEEZER 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1079 功能描述:TWEEZER INSERTION 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080 制造商:Astro Tool Corp 功能描述:TOOL INSERTION 20 GA
ATR 1080-135 功能描述:INSERTION TOOL 20 GA ANGLED TIP 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080-S 功能描述:INSERTION TOOL STRAIGHT 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1105 功能描述:TOOL INSERTION TWEEZER 16 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1