Difference between revisions of "SW Service/API/SUSI4.0 USER MANUAL"

From ESS-WIKI
Jump to: navigation, search
(typo for 7 zeros instead of 8 zeros)
m (redundant tag)
Line 1: Line 1:
= '''1 Introduction''' =
+
<h1><b>1 Introduction</b></h1>
  
'''SUSI A Bridge to Simplify & Enhance H/W & Application Implementation Efficiency'''
+
<p><b>SUSI &ndash; A Bridge to Simplify &amp; Enhance H/W &amp; Application Implementation Efficiency</b></p>
  
When developers want to write an application that involves hardware access, they have to study the specifications to write the drivers. This is a time-consuming job and requires lots of expertise.
+
<p>When developers want to write an application that involves hardware access, they have to study the specifications to write the drivers. This is a time-consuming job and requires lots of expertise.</p>
  
Advantech has done all the hard work for our customers with the release of a suite of Software APIs (Application Programming Interfaces), called '''Secured & Unified Smart Interface''' (SUSI).
+
<p>Advantech has done all the hard work for our customers with the release of a suite of Software APIs (Application Programming Interfaces), called <b>Secured &amp; Unified Smart Interface</b> (SUSI).</p>
  
SUSI provides not only the underlying drivers required but also a rich set of user-friendly, intelligent and integrated interfaces, which speeds development, enhances security and offers add-on value for Advantech platforms. SUSI plays the role of catalyst between developer and solution, and makes Advantech embedded platforms easier and simpler to adopt and operate with customer applications.
+
<p>SUSI provides not only the underlying drivers required but also a rich set of user-friendly, intelligent and integrated interfaces, which speeds development, enhances security and offers add-on value for Advantech platforms. SUSI plays the role of catalyst between developer and solution, and makes Advantech embedded platforms easier and simpler to adopt and operate with customer applications.</p>
  
 +
<p>&nbsp;</p>
  
 +
<h2><b>1.1 Functions</b></h2>
  
== '''1.1 Functions''' ==
+
<h3><b>1.1.1 GPIO</b></h3>
  
=== '''1.1.1 GPIO''' ===
+
<p><img _fck_mw_filename="1.1.1 GPIO.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.1 GPIO.png" height="150" src="/wiki/images/b/ba/1.1.1_GPIO.png" style="vertical-align:middle;" title="1.1.1 GPIO.png" width="100" /></p>
  
[[File:1.1.1 GPIO.png|100x150px|1.1.1 GPIO.png]]
+
<p>General Purpose Input/Output is a flexible parallel interface that allows a variety of custom connections. It supports various Digital I/O devices &ndash; input devices like buttons, switches; output devices such as cash drawers, LED lights&hellip;etc. And, allows users to monitor the level of signal input or set the output status to switch on/off the device. Our APIs also provided Programmable GPIO and allows developers to dynamically set the GPIO input or output status.</p>
  
General Purpose Input/Output is a flexible parallel interface that allows a variety of custom connections. It supports various Digital I/O devices – input devices like buttons, switches; output devices such as cash drawers, LED lights…etc. And, allows users to monitor the level of signal input or set the output status to switch on/off the device. Our APIs also provided Programmable GPIO and allows developers to dynamically set the GPIO input or output status.
+
<p>&nbsp;</p>
  
 +
<h3><b>1.1.2 SMBus [x86 only and RISC is unavailable]</b></h3>
  
 +
<p><img _fck_mw_filename="1.1.2 SMBus.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.2 SMBus.png" height="150" src="/wiki/images/f/f6/1.1.2_SMBus.png" style="vertical-align:middle;" title="1.1.2 SMBus.png" width="100" /></p>
  
=== '''1.1.2 SMBus [x86 only and RISC is unavailable]''' ===
+
<p>SMBus is the System Management Bus defined by Intel&reg; Corporation in 1995. It is used in personal computers and servers for low-speed system management communications. Today, SMBus is used in all types of embedded systems. The SMBus APIs allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the SMBus protocols, allowing multiple simultaneous device control.</p>
  
[[File:1.1.2 SMBus.png|100x150px|1.1.2 SMBus.png]]
+
<p>&nbsp;</p>
  
SMBus is the System Management Bus defined by Intel® Corporation in 1995. It is used in personal computers and servers for low-speed system management communications. Today, SMBus is used in all types of embedded systems. The SMBus APIs allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the SMBus protocols, allowing multiple simultaneous device control.
+
<h3><b>1.1.3 I<sup>2</sup>C</b></h3>
  
 +
<p><img _fck_mw_filename="1.1.3 i2c.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.3 i2c.png" height="150" src="/wiki/images/4/4d/1.1.3_i2c.png" style="vertical-align:middle;" title="1.1.3 i2c.png" width="100" /></p>
  
 +
<p>I<sup>2</sup>C is a bi-directional two wire bus that was developed by Philips for use in their televisions in the 1980s. Today, I<sup>2</sup>C is used in all types of embedded systems. The I<sup>2</sup>C API allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the I<sup>2</sup>C protocols, allowing multiple simultaneous device control.</p>
  
=== '''1.1.3 I<sup>2</sup>C''' ===
+
<p>&nbsp;</p>
  
[[File:1.1.3 i2c.png|100x150px|1.1.3 i2c.png]]
+
<h3><b>1.1.4 Watchdog</b></h3>
  
I<sup>2</sup>C is a bi-directional two wire bus that was developed by Philips for use in their televisions in the 1980s. Today, I<sup>2</sup>C is used in all types of embedded systems. The I<sup>2</sup>C API allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the I<sup>2</sup>C protocols, allowing multiple simultaneous device control.
+
<p><img _fck_mw_filename="1.1.4 watchdog.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.4 watchdog.png" height="150" src="/wiki/images/d/d4/1.1.4_watchdog.png" style="vertical-align:middle;" title="1.1.4 watchdog.png" width="100" /></p>
  
 +
<p>A watchdog timer (WDT) is a device or electronic card that performs a specific operation after a certain period of time if something goes wrong with an electronic system and the system does not recover on its own.</p>
  
 +
<p>A watchdog timer can be programmed to perform a warm boot (restarting the system) after a certain number of seconds during which a program or computer fails to respond following the most recent mouse click or keyboard action.</p>
  
=== '''1.1.4 Watchdog''' ===
+
<p>&nbsp;</p>
  
[[File:1.1.4 watchdog.png|100x150px|1.1.4 watchdog.png]]
+
<h3><b>1.1.5 Hardware Monitor&nbsp;[x86 only and RISC is limited in some features]</b></h3>
  
A watchdog timer (WDT) is a device or electronic card that performs a specific operation after a certain period of time if something goes wrong with an electronic system and the system does not recover on its own.
+
<p><img _fck_mw_filename="1.1.5 HardwareMonitor 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.5 HardwareMonitor 1.png" height="150" src="/wiki/images/1/1f/1.1.5_HardwareMonitor_1.png" style="vertical-align:middle;" title="1.1.5 HardwareMonitor 1.png" width="100" /> &nbsp; <img _fck_mw_filename="1.1.5 HardwareMonitor 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.5 HardwareMonitor 2.png" height="150" src="/wiki/images/e/eb/1.1.5_HardwareMonitor_2.png" style="vertical-align:middle;" title="1.1.5 HardwareMonitor 2.png" width="100" /></p>
  
A watchdog timer can be programmed to perform a warm boot (restarting the system) after a certain number of seconds during which a program or computer fails to respond following the most recent mouse click or keyboard action.
+
<p>The Hardware Monitor (HWM) APIs is a system health supervision API that inspects certain condition indexes, such as smart fan, fan speed, temperature, current, case open and voltage.</p>
  
 +
<p>&nbsp;</p>
  
 +
<h3><b>1.1.6 Backlight Control</b></h3>
  
=== '''1.1.5 Hardware Monitor&nbsp;[x86 only and RISC is limited in some features]''' ===
+
<p><img _fck_mw_filename="1.1.6 Backlight 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.6 Backlight 1.png" height="150" src="/wiki/images/a/a6/1.1.6_Backlight_1.png" style="vertical-align:middle;" title="1.1.6 Backlight 1.png" width="100" /> &nbsp; <img _fck_mw_filename="1.1.6 Backlight 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.6 Backlight 2.png" height="150" src="/wiki/images/5/56/1.1.6_Backlight_2.png" style="vertical-align:middle;" title="1.1.6 Backlight 2.png" width="100" /></p>
  
[[File:1.1.5 HardwareMonitor 1.png|100x150px|1.1.5 HardwareMonitor 1.png]] &nbsp; [[File:1.1.5 HardwareMonitor 2.png|100x150px|1.1.5 HardwareMonitor 2.png]]
+
<p>The Backlight Control APIs allows a developer to interface platform to easily control brightness through PWM and backlight on/off.</p>
  
The Hardware Monitor (HWM) APIs is a system health supervision API that inspects certain condition indexes, such as smart fan, fan speed, temperature, current, case open and voltage.
+
<p>&nbsp;</p>
  
 +
<h3><b>1.1.7 Storage&nbsp;[x86 only and RISC is unavailable]</b></h3>
  
 +
<p><img _fck_mw_filename="1.1.7 Storage.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.7 Storage.png" height="150" src="/wiki/images/8/83/1.1.7_Storage.png" style="vertical-align:middle;" title="1.1.7 Storage.png" width="100" /></p>
  
=== '''1.1.6 Backlight Control''' ===
+
<p>Storage is a non-volatile storage, the storage APIs allows a developer to access storage information, read/write data to storage and lock/unlock data area (same like write protection) by a key.</p>
  
[[File:1.1.6 Backlight 1.png|100x150px|1.1.6 Backlight 1.png]] &nbsp; [[File:1.1.6 Backlight 2.png|100x150px|1.1.6 Backlight 2.png]]
+
<p>&nbsp;</p>
  
The Backlight Control APIs allows a developer to interface platform to easily control brightness through PWM and backlight on/off.
+
<h3><b>1.1.8 Thermal Protection&nbsp;[x86 only and RISC is unavailable]</b></h3>
  
 +
<p><img _fck_mw_filename="1.1.8 Thermal 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.8 Thermal 1.png" height="150" src="/wiki/images/4/47/1.1.8_Thermal_1.png" style="vertical-align:middle;" title="1.1.8 Thermal 1.png" width="100" /> &nbsp; <img _fck_mw_filename="1.1.8 Thermal 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.8 Thermal 2.png" height="150" src="/wiki/images/2/21/1.1.8_Thermal_2.png" style="vertical-align:middle;" title="1.1.8 Thermal 2.png" width="100" /></p>
  
 +
<p>Thermal Protection can select a thermal source to monitor. When source temperature reach the limit, SUSI can act protect function to protect system.</p>
  
=== '''1.1.7 Storage&nbsp;[x86 only and RISC is unavailable]''' ===
+
<h2><b>1.2 Benefits</b></h2>
  
[[File:1.1.7 Storage.png|100x150px|1.1.7 Storage.png]]
+
<ul>
 +
<li><b>Faster Time to Market</b></li>
 +
</ul>
  
Storage is a non-volatile storage, the storage APIs allows a developer to access storage information, read/write data to storage and lock/unlock data area (same like write protection) by a key.
+
<dl>
 +
<dd>SUSI&#39;s unified API helps developers write applications to control the hardware without knowing the hardware specs of the chipsets and driver architecture.</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
 +
<ul>
 +
<li><b>Reduced Project Effort</b></li>
 +
</ul>
  
=== '''1.1.8 Thermal Protection&nbsp;[x86 only and RISC is unavailable]''' ===
+
<dl>
 +
<dd>When customers have their own devices connected to the onboard bus, they can either: study the data sheet and write the driver &amp; API from scratch, or they can use SUSI to start the integration with a 50% head start. Developers can reference the sample program on&nbsp;the CD to see and learn more about the software development environment.</dd>
 +
</dl>
  
[[File:1.1.8 Thermal 1.png|100x150px|1.1.8 Thermal 1.png]] &nbsp; [[File:1.1.8 Thermal 2.png|100x150px|1.1.8 Thermal 2.png]]
+
<p>&nbsp;</p>
  
Thermal Protection can select a thermal source to monitor. When source temperature reach the limit, SUSI can act protect function to protect system.
+
<ul>
 +
<li><b>Enhances Hardware Platform Reliability</b></li>
 +
</ul>
  
== '''1.2 Benefits''' ==
+
<dl>
 +
<dd>SUSI provides a trusted custom ready solution which combines chipset and library function support, controlling application development through SUSI enhances reliability and brings peace of mind.</dd>
 +
</dl>
  
*'''Faster Time to Market'''
+
<p>&nbsp;</p>
  
:SUSI's unified API helps developers write applications to control the hardware without knowing the hardware specs of the chipsets and driver architecture.
+
<ul>
 +
<li><b>Flexible Upgrade Possibilities</b></li>
 +
</ul>
  
 +
<dl>
 +
<dd>SUSI supports an easy upgrade solution for customers. Customers just need to install the new version SUSI that supports the new functions.</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
*'''Reduced Project Effort'''
+
<ul>
 +
<li><b>Backward compatibility</b></li>
 +
</ul>
  
:When customers have their own devices connected to the onboard bus, they can either: study the data sheet and write the driver & API from scratch, or they can use SUSI to start the integration with a 50% head start. Developers can reference the sample program on&nbsp;the CD to see and learn more about the software development environment.
+
<dl>
 +
<dd>Support SUSI 3.0, iManager 2.0 and EAPI 1.0 interface. Customers don&rsquo;t need to change any APIs in their applications.</dd>
 +
</dl>
  
 +
<h2><b>1.3 Environment Requirements</b></h2>
  
 +
<h3><b>1.3.1Operating Systems</b></h3>
  
*'''Enhances Hardware Platform Reliability'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Windows XP Embedded</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:SUSI provides a trusted custom ready solution which combines chipset and library function support, controlling application development through SUSI enhances reliability and brings peace of mind.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Windows XP 32-bit</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Windows 7 (x86 / x64)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>WES7 (x86 / x64)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
*'''Flexible Upgrade Possibilities'''
+
<dl>
 
+
<dd>
:SUSI supports an easy upgrade solution for customers. Customers just need to install the new version SUSI that supports the new functions.
+
<dl>
 
+
<dd>Windows 8 Desktop (x86 / x64)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Windows 10 (x86 / x64)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
*'''Backward compatibility'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Windows CE 5 / 6 / 7</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:Support SUSI 3.0, iManager 2.0 and EAPI 1.0 interface. Customers don’t need to change any APIs in their applications.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>RISC Yocto 2.1</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
== '''1.3 Environment Requirements''' ==
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Linux (Project based, request from your local FAE)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
=== '''1.3.1Operating Systems''' ===
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Android (Project based, request from your local FAE)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Windows XP Embedded
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>QNX (Project based, request from your local FAE)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Windows XP 32-bit
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>VxWorks (Project based, request from your local FAE)</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Windows 7 (x86 / x64)
+
<p>&nbsp;</p>
  
::WES7 (x86 / x64)
+
<h1><b>2 SUSI Definition</b></h1>
  
::Windows 8 Desktop (x86 / x64)
+
<p>Susi4.h file includes the API declaration, constants and flags that are required for programming.</p>
  
::Windows 10 (x86 / x64)
+
<h2><b>2.1 Status Codes</b></h2>
  
::Windows CE 5 / 6 / 7
+
<p>All SUSI API functions immediately return a status code from a common list of possible errors. Any function may return any of the defined status codes. See the Appendix for more detailed information.</p>
  
::RISC Yocto 2.1
+
<p>&nbsp;</p>
  
::Linux (Project based, request from your local FAE)
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_NOT_INITIALIZED &nbsp;&nbsp; &nbsp;0xFFFFFFFF
 +
</pre>
  
::Android (Project based, request from your local FAE)
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
::QNX (Project based, request from your local FAE)
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The SUSI API library is not yet or unsuccessfully initialized. SusiLibInitialize needs to be called prior to the first access of any other SUSI API functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::VxWorks (Project based, request from your local FAE)
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
&nbsp;
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Call SusiLibInitialize.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
= '''2 SUSI Definition''' =
+
<p>&nbsp;</p>
  
Susi4.h file includes the API declaration, constants and flags that are required for programming.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INITIALIZED &nbsp;&nbsp; &nbsp;0xFFFFFFFE
 +
</pre>
  
== '''2.1 Status Codes''' ==
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
All SUSI API functions immediately return a status code from a common list of possible errors. Any function may return any of the defined status codes. See the Appendix for more detailed information.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Library is initialized.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
&nbsp;
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
#define SUSI_STATUS_NOT_INITIALIZED &nbsp;&nbsp; &nbsp;0xFFFFFFFF
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<p>&nbsp;</p>
  
::The SUSI API library is not yet or unsuccessfully initialized. SusiLibInitialize needs to be called prior to the first access of any other SUSI API functions.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_ALLOC_ERROR &nbsp;&nbsp; &nbsp;0xFFFFFFFD
 +
</pre>
  
:'''Actions'''
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
::Call SusiLibInitialize.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Memory Allocation Error.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Free memory and try again.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_INITIALIZED &nbsp;&nbsp; &nbsp;0xFFFFFFFE
+
<p>&nbsp;</p>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_DRIVER_TIMEOUT 0xFFFFFFFC
 +
</pre>
  
::Library is initialized.
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Time out in driver. This is Normally caused by hardware/software semaphore timeout.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::None.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Retry.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
#define SUSI_STATUS_ALLOC_ERROR &nbsp;&nbsp; &nbsp;0xFFFFFFFD
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INVALID_PARAMETER 0xFFFFFEFF
 +
</pre>
  
:'''Description'''
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
::Memory Allocation Error.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>One or more of the SUSI API functions call parameters are out of defined range.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::Free memory and try again.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Verify Function Parameters.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INVALID_BLOCK_ALIGNMENT 0xFFFFFEFE
 +
</pre>
  
#define SUSI_STATUS_DRIVER_TIMEOUT 0xFFFFFFFC
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The Block Alignment is incorrect.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Time out in driver. This is Normally caused by hardware/software semaphore timeout.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Use Inputs and Outputs to correctly select input and outputs.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Retry.
+
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INVALID_BLOCK_LENGTH 0xFFFFFEFD
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
#define SUSI_STATUS_INVALID_PARAMETER 0xFFFFFEFF
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>This means that the Block length is too long.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::One or more of the SUSI API functions call parameters are out of defined range.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Use Alignment Capabilities information to correctly align write access.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<p>&nbsp;</p>
  
::Verify Function Parameters.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INVALID_DIRECTION 0xFFFFFEFC
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The current Direction Argument attempts to set GPIOs to a unsupported direction. I.E. Setting GPI to Output.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_INVALID_BLOCK_ALIGNMENT 0xFFFFFEFE
+
<dl>
 
+
<dd><b>Actions</b></dd>
:'''Description'''
+
</dl>
 
 
::The Block Alignment is incorrect.
 
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Use Inputs and Outputs to correctly select input and outputs.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Use Inputs and Outputs to correctly select input and outputs.
+
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_INVALID_BITMASK 0xFFFFFEFB
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
#define SUSI_STATUS_INVALID_BLOCK_LENGTH 0xFFFFFEFD
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The Bitmask Selects bits/GPIOs which are not supported for the current ID.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::This means that the Block length is too long.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Use Inputs and Outputs to probe supported bits.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<p>&nbsp;</p>
  
::Use Alignment Capabilities information to correctly align write access.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_RUNNING 0xFFFFFEFA
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Watchdog timer already started.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_INVALID_DIRECTION 0xFFFFFEFC
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Call SusiWDogStop before retrying.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::The current Direction Argument attempts to set GPIOs to a unsupported direction. I.E. Setting GPI to Output.
+
<p>&nbsp;</p>
  
:'''Actions'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_UNSUPPORTED 0xFFFFFCFF
 +
</pre>
  
::Use Inputs and Outputs to correctly select input and outputs.
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>This function or ID is not supported at the actual hardware environment.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
#define SUSI_STATUS_INVALID_BITMASK 0xFFFFFEFB
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_NOT_FOUND 0xFFFFFBFF
 +
</pre>
  
::The Bitmask Selects bits/GPIOs which are not supported for the current ID.
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Selected device was not found</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Use Inputs and Outputs to probe supported bits.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
#define SUSI_STATUS_RUNNING 0xFFFFFEFA
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_TIMEOUT 0xFFFFFBFE
 +
</pre>
  
:'''Description'''
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
::Watchdog timer already started.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Device has no response.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::Call SusiWDogStop before retrying.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_BUSY_COLLISION 0xFFFFFBFD
 +
</pre>
  
#define SUSI_STATUS_UNSUPPORTED 0xFFFFFCFF
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The selected device or ID is busy or a data collision is detected.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::This function or ID is not supported at the actual hardware environment.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 
+
<dd>
::None.
+
<dl>
 +
<dd>Retry.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_NOT_FOUND 0xFFFFFBFF
+
<p>&nbsp;</p>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_READ_ERROR 0xFFFFFAFF
 +
</pre>
  
::Selected device was not found
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>An error is detected during a read operation.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::None.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Retry.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
#define SUSI_STATUS_TIMEOUT 0xFFFFFBFE
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_WRITE_ERROR 0xFFFFFAFE
 +
</pre>
  
:'''Description'''
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
::Device has no response.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>An error is detected during a write operation.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::None.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Retry.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_MORE_DATA 0xFFFFF9FF
 +
</pre>
  
#define SUSI_STATUS_BUSY_COLLISION 0xFFFFFBFD
+
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The amount of available data exceeds the buffer size. Storage buffer overflow was prevented. Read count was larger than the defined buffer length.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::The selected device or ID is busy or a data collision is detected.
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
:'''Actions'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Either increase the buffer size or reduce the block length.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::Retry.
+
<p>&nbsp;</p>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_ERROR 0xFFFFF0FF
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
#define SUSI_STATUS_READ_ERROR 0xFFFFFAFF
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>Generic error message. No further error details are available.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
::An error is detected during a read operation.
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<p>&nbsp;</p>
  
::Retry.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_STATUS_SUCCESS 0
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b></dd>
 +
</dl>
  
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd>The operation is successful.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_WRITE_ERROR 0xFFFFFAFE
+
<dl>
 +
<dd><b>Actions</b></dd>
 +
</dl>
  
:'''Description'''
+
<dl>
 +
<dd>
 +
<dl>
 +
<dd>None.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::An error is detected during a write operation.
+
<h2><b>2.2 ID</b></h2>
  
:'''Actions'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_UNKNOWN 0xFFFFFFFF
 +
</pre>
  
::Retry.
+
<dl>
 +
<dd><b>Description</b>
  
 +
<dl>
 +
<dd>Undefined/Unknown ID</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_BOARD_MANUFACTURER_STR 0
 +
#define SUSI_ID_BOARD_NAME_STR 1
 +
#define SUSI_ID_BOARD_REVISION_STR 2
 +
#define SUSI_ID_BOARD_SERIAL_STR 3
 +
#define SUSI_ID_BOARD_BIOS_REVISION_STR 4
 +
#define SUSI_ID_BOARD_HW_REVISION_STR 5
 +
#define SUSI_ID_BOARD_PLATFORM_TYPE_STR 6
 +
#define SUSI_ID_BOARD_EC_FW_STR 7
 +
</pre>
  
#define SUSI_STATUS_MORE_DATA 0xFFFFF9FF
+
<dl>
 +
<dd><b>Description</b>
  
:'''Description'''
+
<dl>
 +
<dd>Board information string ID, use in SusiBoardGetStringA.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::The amount of available data exceeds the buffer size. Storage buffer overflow was prevented. Read count was larger than the defined buffer length.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_GET_SPEC_VERSION&amp;nbsp 0x00000000
 +
#define SUSI_ID_BOARD_BOOT_COUNTER_VAL 0x00000001
 +
#define SUSI_ID_BOARD_RUNNING_TIME_METER_VAL 0x00000002
 +
#define SUSI_ID_BOARD_PNPID_VAL 0x00000003
 +
#define SUSI_ID_BOARD_PLATFORM_REV_VAL 0x00000004
 +
#define SUSI_ID_BOARD_DRIVER_VERSION_VAL 0x00010000
 +
#define SUSI_ID_BOARD_LIB_VERSION_VAL 0x00010001
 +
#define SUSI_ID_BOARD_FIRMWARE_VERSION_VAL 0x00010002
 +
</pre>
  
:'''Actions'''
+
<dl>
 +
<dd><b>Description</b>
  
::Either increase the buffer size or reduce the block length.
+
<dl>
 +
<dd>Board information value ID, use in SusiBoardGetValue.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 +
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_HWM_TEMP_CPU 0x00020000
 +
#define SUSI_ID_HWM_TEMP_CHIPSET 0x00020001
 +
#define SUSI_ID_HWM_TEMP_SYSTEM 0x00020002
 +
#define SUSI_ID_HWM_TEMP_CPU2 0x00020003
 +
#define SUSI_ID_HWM_TEMP_OEM0 0x00020004
 +
#define SUSI_ID_HWM_TEMP_OEM1 0x00020005
 +
#define SUSI_ID_HWM_TEMP_OEM2 0x00020006
 +
#define SUSI_ID_HWM_TEMP_OEM3 0x00020007
 +
#define SUSI_ID_HWM_TEMP_OEM4 0x00020008
 +
#define SUSI_ID_HWM_TEMP_OEM5 0x00020009
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b>
  
#define SUSI_STATUS_ERROR 0xFFFFF0FF
+
<dl>
 +
<dd>Board temperature value ID, use in SusiBoardGetValue.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_HWM_VOLTAGE_VCORE 0x00021000
 +
#define SUSI_ID_HWM_VOLTAGE_VCORE2 0x00021001
 +
#define SUSI_ID_HWM_VOLTAGE_2V5 0x00021002
 +
#define SUSI_ID_HWM_VOLTAGE_3V3 0x00021003
 +
#define SUSI_ID_HWM_VOLTAGE_5V 0x00021004
 +
#define SUSI_ID_HWM_VOLTAGE_12V 0x00021005
 +
#define SUSI_ID_HWM_VOLTAGE_5VSB 0x00021006
 +
#define SUSI_ID_HWM_VOLTAGE_3VSB 0x00021007
 +
#define SUSI_ID_HWM_VOLTAGE_VBAT 0x00021008
 +
#define SUSI_ID_HWM_VOLTAGE_5NV 0x00021009
 +
#define SUSI_ID_HWM_VOLTAGE_12NV 0x0002100A
 +
#define SUSI_ID_HWM_VOLTAGE_VTT 0x0002100B
 +
#define SUSI_ID_HWM_VOLTAGE_24V 0x0002100C
 +
#define SUSI_ID_HWM_VOLTAGE_DC 0x0002100D
 +
#define SUSI_ID_HWM_VOLTAGE_DCSTBY 0x0002100E
 +
#define SUSI_ID_HWM_VOLTAGE_OEM3 0x0002100F
 +
#define SUSI_ID_HWM_VOLTAGE_OEM0 0x00021010
 +
#define SUSI_ID_HWM_VOLTAGE_OEM1 0x00021011
 +
#define SUSI_ID_HWM_VOLTAGE_OEM2 0x00021012
 +
#define SUSI_ID_HWM_VOLTAGE_OEM3 0x00021013
 +
#define SUSI_ID_HWM_VOLTAGE_1V05 0x00021014
 +
#define SUSI_ID_HWM_VOLTAGE_1V5 0x00021015
 +
#define SUSI_ID_HWM_VOLTAGE_1V8 0x00021016
 +
</pre>
  
::Generic error message. No further error details are available.
+
<dl>
 +
<dd><b>Description</b>
  
:'''Actions'''
+
<dl>
 +
<dd>Board voltage value ID, use in SusiBoardGetValue.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
::None.
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_HWM_FAN_CPU 0x00022000
 +
#define SUSI_ID_HWM_FAN_SYSTEM 0x00022001
 +
#define SUSI_ID_HWM_FAN_CPU2 0x00022002
 +
#define SUSI_ID_HWM_FAN_OEM0 0x00022003
 +
#define SUSI_ID_HWM_FAN_OEM1 0x00022004
 +
#define SUSI_ID_HWM_FAN_OEM2 0x00022005
 +
#define SUSI_ID_HWM_FAN_OEM3 0x00022006
 +
#define SUSI_ID_HWM_FAN_OEM4 0x00022007
 +
#define SUSI_ID_HWM_FAN_OEM5 0x00022008
 +
#define SUSI_ID_HWM_FAN_OEM6 0x00022009
 +
</pre>
  
 +
<dl>
 +
<dd><b>Description</b>
  
 +
<dl>
 +
<dd>Board fan speed value ID, use in SusiBoardGetValue and Smart Fan Functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_STATUS_SUCCESS 0
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_HWM_CURRENT_OEM0 0x00023000
 +
#define SUSI_ID_HWM_CURRENT_OEM1 0x00023001
 +
#define SUSI_ID_HWM_CURRENT_OEM2 0x00023002
 +
</pre>
  
:'''Description'''
+
<dl>
 +
<dd><b>Description</b>
  
::The operation is successful.
+
<dl>
 +
<dd>Board current value ID, use in SusiBoardGetValue.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Actions'''
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_SMBUS_SUPPORTED 0x00030000
 +
#define SUSI_ID_I2C_SUPPORTED 0x00030100
 +
</pre>
  
::None.
+
<dl>
 +
<dd><b>Description</b>
  
== '''2.2 ID''' ==
+
<dl>
 +
<dd>Board supported information value ID, use in SusiBoardGetValue.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_UNKNOWN 0xFFFFFFFF
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_SMBUS_EXTERNAL 0
 +
#define SUSI_ID_SMBUS_OEM0 1
 +
#define SUSI_ID_SMBUS_OEM1 2
 +
#define SUSI_ID_SMBUS_OEM2 3
 +
#define SUSI_ID_SMBUS_OEM3 4
 +
</pre>
  
:'''Description'''
+
<dl>
::Undefined/Unknown ID
+
<dd><b>Description</b>
  
#define SUSI_ID_BOARD_MANUFACTURER_STR 0
+
<dl>
#define SUSI_ID_BOARD_NAME_STR 1
+
<dd>SMBus device ID, use in SMBus Functions.</dd>
#define SUSI_ID_BOARD_REVISION_STR 2
+
</dl>
#define SUSI_ID_BOARD_SERIAL_STR 3
+
</dd>
#define SUSI_ID_BOARD_BIOS_REVISION_STR 4
+
</dl>
#define SUSI_ID_BOARD_HW_REVISION_STR 5
 
#define SUSI_ID_BOARD_PLATFORM_TYPE_STR 6
 
#define SUSI_ID_BOARD_EC_FW_STR 7
 
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::Board information string ID, use in SusiBoardGetStringA.
+
#define SUSI_ID_I2C_EXTERNAL 0
 +
#define SUSI_ID_I2C_OEM0 1
 +
#define SUSI_ID_I2C_OEM1 2
 +
#define SUSI_ID_I2C_OEM2 3
 +
</pre>
  
#define SUSI_ID_GET_SPEC_VERSION&nbsp 0x00000000
+
<dl>
#define SUSI_ID_BOARD_BOOT_COUNTER_VAL 0x00000001
+
<dd><b>Description</b>
#define SUSI_ID_BOARD_RUNNING_TIME_METER_VAL 0x00000002
 
#define SUSI_ID_BOARD_PNPID_VAL 0x00000003
 
#define SUSI_ID_BOARD_PLATFORM_REV_VAL 0x00000004
 
#define SUSI_ID_BOARD_DRIVER_VERSION_VAL 0x00010000
 
#define SUSI_ID_BOARD_LIB_VERSION_VAL 0x00010001
 
#define SUSI_ID_BOARD_FIRMWARE_VERSION_VAL 0x00010002
 
  
:'''Description'''
+
<dl>
::Board information value ID, use in SusiBoardGetValue.
+
<dd>I<sup>2</sup>C device ID, use in I2C Functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_HWM_TEMP_CPU 0x00020000
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_HWM_TEMP_CHIPSET 0x00020001
+
#define SUSI_ID_GPIO(GPIO_NUM) (GPIO_NUM)
#define SUSI_ID_HWM_TEMP_SYSTEM 0x00020002
+
#define SUSI_ID_GPIO_BANK(BANK_NUM) (0x00010000 + BANK_NUM)
#define SUSI_ID_HWM_TEMP_CPU2 0x00020003
+
</pre>
#define SUSI_ID_HWM_TEMP_OEM0 0x00020004
 
#define SUSI_ID_HWM_TEMP_OEM1 0x00020005
 
#define SUSI_ID_HWM_TEMP_OEM2 0x00020006
 
#define SUSI_ID_HWM_TEMP_OEM3 0x00020007
 
#define SUSI_ID_HWM_TEMP_OEM4 0x00020008
 
#define SUSI_ID_HWM_TEMP_OEM5 0x00020009
 
  
:'''Description'''
+
<dl>
::Board temperature value ID, use in SusiBoardGetValue.
+
<dd><b>Description</b>
  
#define SUSI_ID_HWM_VOLTAGE_VCORE 0x00021000
+
<dl>
#define SUSI_ID_HWM_VOLTAGE_VCORE2 0x00021001
+
<dd>GPIO device ID, use in GPIO Functions.</dd>
#define SUSI_ID_HWM_VOLTAGE_2V5 0x00021002
+
</dl>
#define SUSI_ID_HWM_VOLTAGE_3V3 0x00021003
+
</dd>
#define SUSI_ID_HWM_VOLTAGE_5V 0x00021004
+
</dl>
#define SUSI_ID_HWM_VOLTAGE_12V 0x00021005
 
#define SUSI_ID_HWM_VOLTAGE_5VSB 0x00021006
 
#define SUSI_ID_HWM_VOLTAGE_3VSB 0x00021007
 
#define SUSI_ID_HWM_VOLTAGE_VBAT 0x00021008
 
#define SUSI_ID_HWM_VOLTAGE_5NV 0x00021009
 
#define SUSI_ID_HWM_VOLTAGE_12NV 0x0002100A
 
#define SUSI_ID_HWM_VOLTAGE_VTT 0x0002100B
 
#define SUSI_ID_HWM_VOLTAGE_24V 0x0002100C
 
#define SUSI_ID_HWM_VOLTAGE_DC 0x0002100D
 
#define SUSI_ID_HWM_VOLTAGE_DCSTBY 0x0002100E
 
#define SUSI_ID_HWM_VOLTAGE_OEM3 0x0002100F
 
#define SUSI_ID_HWM_VOLTAGE_OEM0 0x00021010
 
#define SUSI_ID_HWM_VOLTAGE_OEM1 0x00021011
 
#define SUSI_ID_HWM_VOLTAGE_OEM2 0x00021012
 
#define SUSI_ID_HWM_VOLTAGE_OEM3 0x00021013
 
#define SUSI_ID_HWM_VOLTAGE_1V05 0x00021014
 
#define SUSI_ID_HWM_VOLTAGE_1V5 0x00021015
 
#define SUSI_ID_HWM_VOLTAGE_1V8 0x00021016
 
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::Board voltage value ID, use in SusiBoardGetValue.
+
#define SUSI_ID_BACKLIGHT_1 0
 +
#define SUSI_ID_BACKLIGHT_2 1
 +
#define SUSI_ID_BACKLIGHT_3 2
 +
</pre>
  
#define SUSI_ID_HWM_FAN_CPU 0x00022000
+
<dl>
#define SUSI_ID_HWM_FAN_SYSTEM 0x00022001
+
<dd><b>Description</b>
#define SUSI_ID_HWM_FAN_CPU2 0x00022002
 
#define SUSI_ID_HWM_FAN_OEM0 0x00022003
 
#define SUSI_ID_HWM_FAN_OEM1 0x00022004
 
#define SUSI_ID_HWM_FAN_OEM2 0x00022005
 
#define SUSI_ID_HWM_FAN_OEM3 0x00022006
 
#define SUSI_ID_HWM_FAN_OEM4 0x00022007
 
#define SUSI_ID_HWM_FAN_OEM5 0x00022008
 
#define SUSI_ID_HWM_FAN_OEM6 0x00022009
 
  
:'''Description'''
+
<dl>
::Board fan speed value ID, use in SusiBoardGetValue and Smart Fan Functions.
+
<dd>Backlight device ID, use in Backlight Functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_HWM_CURRENT_OEM0 0x00023000
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_HWM_CURRENT_OEM1 0x00023001
+
#define SUSI_ID_STORAGE_STD 0x00000000
#define SUSI_ID_HWM_CURRENT_OEM2 0x00023002
+
#define SUSI_ID_STORAGE_OEM0 0x00000001
 +
#define SUSI_ID_STORAGE_OEM1 0x00000002
 +
</pre>
  
:'''Description'''
+
<dl>
::Board current value ID, use in SusiBoardGetValue.
+
<dd><b>Description</b>
  
#define SUSI_ID_SMBUS_SUPPORTED 0x00030000
+
<dl>
#define SUSI_ID_I2C_SUPPORTED 0x00030100
+
<dd>Storage device ID, use in Storage Functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::Board supported information value ID, use in SusiBoardGetValue.
+
#define SUSI_ID_THERMAL_PROTECT_1 0
 +
#define SUSI_ID_THERMAL_PROTECT_2 1
 +
#define SUSI_ID_THERMAL_PROTECT_3 2
 +
#define SUSI_ID_THERMAL_PROTECT_4 3
 +
</pre>
  
#define SUSI_ID_SMBUS_EXTERNAL 0
+
<dl>
#define SUSI_ID_SMBUS_OEM0 1
+
<dd><b>Description</b>
#define SUSI_ID_SMBUS_OEM1 2
 
#define SUSI_ID_SMBUS_OEM2 3
 
#define SUSI_ID_SMBUS_OEM3 4
 
  
:'''Description'''
+
<dl>
::SMBus device ID, use in SMBus Functions.
+
<dd>Thermal protection device ID, use in Thermal Protection Functions</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_I2C_EXTERNAL 0
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_I2C_OEM0 1
+
#define SUSI_ID_WATCHDOG_1 0
#define SUSI_ID_I2C_OEM1 2
+
#define SUSI_ID_WATCHDOG_2 1
#define SUSI_ID_I2C_OEM2 3
+
#define SUSI_ID_WATCHDOG_3 2
 +
</pre>
  
:'''Description'''
+
<dl>
::I<sup>2</sup>C device ID, use in I2C Functions.
+
<dd><b>Description</b>
  
#define SUSI_ID_GPIO(GPIO_NUM) (GPIO_NUM)
+
<dl>
#define SUSI_ID_GPIO_BANK(BANK_NUM) (0x00010000 + BANK_NUM)
+
<dd>Watchdog device ID, use in Watchdog Functions.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<h2><b>2.3 Item ID</b></h2>
::GPIO device ID, use in GPIO Functions.
 
  
#define SUSI_ID_BACKLIGHT_1 0
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_BACKLIGHT_2 1
+
#define SUSI_ID_I2C_MAXIMUM_BLOCK_LENGTH 0x00000000
#define SUSI_ID_BACKLIGHT_3 2
+
</pre>
  
:'''Description'''
+
<dl>
::Backlight device ID, use in Backlight Functions.
+
<dd><b>Description</b>
  
#define SUSI_ID_STORAGE_STD 0x00000000
+
<dl>
#define SUSI_ID_STORAGE_OEM0 0x00000001
+
<dd>Watchdog capabilities item ID, use in SusiI2CGetCaps.</dd>
#define SUSI_ID_STORAGE_OEM1 0x00000002
+
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::Storage device ID, use in Storage Functions.
+
#define SUSI_ID_GPIO_INPUT_SUPPORT 0x00000000
 +
#define SUSI_ID_GPIO_OUTPUT_SUPPORT 0x00000001
 +
</pre>
  
#define SUSI_ID_THERMAL_PROTECT_1 0
+
<dl>
#define SUSI_ID_THERMAL_PROTECT_2 1
+
<dd><b>Description</b>
#define SUSI_ID_THERMAL_PROTECT_3 2
 
#define SUSI_ID_THERMAL_PROTECT_4 3
 
  
:'''Description'''
+
<dl>
::Thermal protection device ID, use in Thermal Protection Functions
+
<dd>GPIO capabilities item ID, use in SusiGPIOGetCaps.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_WATCHDOG_1 0
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_WATCHDOG_2 1
+
#define SUSI_ID_VGA_BRIGHTNESS_MAXIMUM 0x00010000
#define SUSI_ID_WATCHDOG_3 2
+
#define SUSI_ID_VGA_BRIGHTNESS_MINIMUM 0x00010001
 +
</pre>
  
:'''Description'''
+
<dl>
::Watchdog device ID, use in Watchdog Functions.
+
<dd><b>Description</b>
  
== '''2.3 Item ID''' ==
+
<dl>
 +
<dd>VGA capabilities item ID, use in SusiVgaGetCaps.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_I2C_MAXIMUM_BLOCK_LENGTH 0x00000000
+
<pre class="_fck_mw_lspace">
 +
#define SUSI_ID_STORAGE_TOTAL_SIZE 0x00000000
 +
#define SUSI_ID_STORAGE_BLOCK_SIZE 0x00000001
 +
#define SUSI_ID_STORAGE_LOCK_STATUS 0x00010000
 +
#define SUSI_ID_STORAGE_PSW_MAX_LEN 0x00010000
 +
</pre>
  
:'''Description'''
+
<dl>
::Watchdog capabilities item ID, use in SusiI2CGetCaps.
+
<dd><b>Description</b>
  
#define SUSI_ID_GPIO_INPUT_SUPPORT 0x00000000
+
<dl>
#define SUSI_ID_GPIO_OUTPUT_SUPPORT 0x00000001
+
<dd>Storage capabilities item ID, use in SusiStorageGetCaps.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::GPIO capabilities item ID, use in SusiGPIOGetCaps.
+
#define SUSI_ID_WDT_SUPPORT_FLAGS 0x00000000
 +
#define SUSI_ID_WDT_DELAY_MAXIMUM 0x00000001
 +
#define SUSI_ID_WDT_DELAY_MINIMUM 0x00000002
 +
#define SUSI_ID_WDT_EVENT_MAXIMUM 0x00000003
 +
#define SUSI_ID_WDT_EVENT_MINIMUM 0x00000004
 +
#define SUSI_ID_WDT_RESET_MAXIMUM 0x00000005
 +
#define SUSI_ID_WDT_RESET_MINIMUM 0x00000006
 +
#define SUSI_ID_WDT_UNIT_MINIMUM 0x0000000F
 +
#define SUSI_ID_WDT_DELAY_TIME 0x00010001
 +
#define SUSI_ID_WDT_EVENT_TIME 0x00010002
 +
#define SUSI_ID_WDT_RESET_TIME 0x00010003
 +
#define SUSI_ID_WDT_EVENT_TYPE 0x00010004
 +
</pre>
  
#define SUSI_ID_VGA_BRIGHTNESS_MAXIMUM 0x00010000
+
<dl>
#define SUSI_ID_VGA_BRIGHTNESS_MINIMUM 0x00010001
+
<dd><b>Description</b>
  
:'''Description'''
+
<dl>
::VGA capabilities item ID, use in SusiVgaGetCaps.
+
<dd>Watchdog capabilities item ID, use in SusiWDogGetCaps.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
#define SUSI_ID_STORAGE_TOTAL_SIZE 0x00000000
+
<pre class="_fck_mw_lspace">
#define SUSI_ID_STORAGE_BLOCK_SIZE 0x00000001
+
#define SUSI_ID_FC_CONTROL_SUPPORT_FLAGS 0x00000000
#define SUSI_ID_STORAGE_LOCK_STATUS 0x00010000
+
#define SUSI_ID_FC_AUTO_SUPPORT_FLAGS 0x00000001
#define SUSI_ID_STORAGE_PSW_MAX_LEN 0x00010000
+
</pre>
  
:'''Description'''
+
<dl>
::Storage capabilities item ID, use in SusiStorageGetCaps.
+
<dd><b>Description</b>
  
#define SUSI_ID_WDT_SUPPORT_FLAGS 0x00000000
+
<dl>
#define SUSI_ID_WDT_DELAY_MAXIMUM 0x00000001
+
<dd>Fan control capabilities item ID, use in SusiFanControlGetCaps.</dd>
#define SUSI_ID_WDT_DELAY_MINIMUM 0x00000002
+
</dl>
#define SUSI_ID_WDT_EVENT_MAXIMUM 0x00000003
+
</dd>
#define SUSI_ID_WDT_EVENT_MINIMUM 0x00000004
+
</dl>
#define SUSI_ID_WDT_RESET_MAXIMUM 0x00000005
 
#define SUSI_ID_WDT_RESET_MINIMUM 0x00000006
 
#define SUSI_ID_WDT_UNIT_MINIMUM 0x0000000F
 
#define SUSI_ID_WDT_DELAY_TIME 0x00010001
 
#define SUSI_ID_WDT_EVENT_TIME 0x00010002
 
#define SUSI_ID_WDT_RESET_TIME 0x00010003
 
#define SUSI_ID_WDT_EVENT_TYPE 0x00010004
 
 
 
:'''Description'''
 
::Watchdog capabilities item ID, use in SusiWDogGetCaps.
 
 
 
#define SUSI_ID_FC_CONTROL_SUPPORT_FLAGS 0x00000000
 
#define SUSI_ID_FC_AUTO_SUPPORT_FLAGS 0x00000001
 
  
:'''Description'''
+
<pre class="_fck_mw_lspace">
::Fan control capabilities item ID, use in SusiFanControlGetCaps.
+
#define SUSI_ID_TP_EVENT_SUPPORT_FLAGS 0x00000000
 +
#define SUSI_ID_TP_EVENT_TRIGGER_MAXIMUM 0x00000001
 +
#define SUSI_ID_TP_EVENT_TRIGGER_MINIMUM 0x00000002
 +
#define SUSI_ID_TP_EVENT_CLEAR_MAXIMUM 0x00000003
 +
#define SUSI_ID_TP_EVENT_CLEAR_MINIMUM 0x00000004
 +
</pre>
  
#define SUSI_ID_TP_EVENT_SUPPORT_FLAGS 0x00000000
+
<dl>
#define SUSI_ID_TP_EVENT_TRIGGER_MAXIMUM 0x00000001
+
<dd><b>Description</b>
#define SUSI_ID_TP_EVENT_TRIGGER_MINIMUM 0x00000002
 
#define SUSI_ID_TP_EVENT_CLEAR_MAXIMUM 0x00000003
 
#define SUSI_ID_TP_EVENT_CLEAR_MINIMUM 0x00000004
 
  
:'''Description'''
+
<dl>
::Thermal protection capabilities item ID, use in SusiThermalProtectionGetCaps.
+
<dd>Thermal protection capabilities item ID, use in SusiThermalProtectionGetCaps.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
 
<h1><b>3 SUSI API</b></h1>
 
<h1><b>3 SUSI API</b></h1>
Line 600: Line 1,210:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 609: Line 1,223:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 667: Line 1,285:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 676: Line 1,298:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 683: Line 1,309:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:255px;">
 
<td style="width:255px;">
Line 706: Line 1,335:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 726: Line 1,358:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 737: Line 1,373:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the value&#39;s data.</dd>
 
<dd>Pointer to a buffer that receives the value&#39;s data.</dd>
Line 745: Line 1,391:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 752: Line 1,404:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:255px;">
 
<td style="width:255px;">
Line 799: Line 1,454:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 812: Line 1,470:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td style="width:317px;">
+
<td>&lt;tbody&gt;</td>
 +
</tr>
 +
<tr>
 +
<td style="width:317px;">
 
<p><b>Id</b></p>
 
<p><b>Id</b></p>
 
</td>
 
</td>
Line 909: Line 1,570:
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 921: Line 1,585:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:317px;">
 
<td style="width:317px;">
Line 1,085: Line 1,752:
 
<p>millivolt</p>
 
<p>millivolt</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,097: Line 1,767:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:317px;">
 
<td style="width:317px;">
Line 1,162: Line 1,835:
 
<p>0.1 Kelvin</p>
 
<p>0.1 Kelvin</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,174: Line 1,850:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:317px;">
 
<td style="width:317px;">
Line 1,228: Line 1,907:
 
<p>RPM</p>
 
<p>RPM</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,240: Line 1,922:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:316px;">
 
<td style="width:316px;">
Line 1,281: Line 1,966:
 
<p>SUSI_ I2C_OEM2_SUPPORTED</p>
 
<p>SUSI_ I2C_OEM2_SUPPORTED</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,299: Line 1,987:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,310: Line 2,002:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the value&#39;s data.</dd>
 
<dd>Pointer to a buffer that receives the value&#39;s data.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBufLen</b>
 
<dd><b>pBufLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the pBuffer parameter. When the function returns, this variable contains the size of the data copied to pBuffer including the terminating null character.</dd>
 
<dd>Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the pBuffer parameter. When the function returns, this variable contains the size of the data copied to pBuffer including the terminating null character.</dd>
Line 1,323: Line 2,035:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,330: Line 2,048:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 1,393: Line 2,114:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,405: Line 2,129:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:316px;">
 
<td style="width:316px;">
Line 1,476: Line 2,203:
 
<p>EC FW</p>
 
<p>EC FW</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,490: Line 2,220:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:316px;">
 
<td style="width:316px;">
Line 1,521: Line 2,254:
 
<p>Backlight Local Flat Panel 3</p>
 
<p>Backlight Local Flat Panel 3</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,531: Line 2,267:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:316px;">
 
<td style="width:316px;">
Line 1,554: Line 2,293:
 
<p>Signifies that the Backlight be Disabled</p>
 
<p>Signifies that the Backlight be Disabled</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,572: Line 2,314:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,583: Line 2,329:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See Table 9.</dd>
 
<dd>Selects target capability. See Table 9.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
Line 1,596: Line 2,362:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,603: Line 2,375:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 1,642: Line 2,417:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,653: Line 2,431:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td style="width:297px;">
+
<td>&lt;tbody&gt;</td>
 +
</tr>
 +
<tr>
 +
<td style="width:297px;">
 
<p><b>Item Id</b></p>
 
<p><b>Item Id</b></p>
 
</td>
 
</td>
Line 1,675: Line 2,456:
 
<p>Minimum backlight value</p>
 
<p>Minimum backlight value</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,693: Line 2,477:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,704: Line 2,492:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pEnable</b>
 
<dd><b>pEnable</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the current backlight enable state. See Table 8.</dd>
 
<dd>Pointer to a buffer that receives the current backlight enable state. See Table 8.</dd>
Line 1,712: Line 2,510:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,719: Line 2,523:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 1,766: Line 2,573:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,784: Line 2,594:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,795: Line 2,609:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Enable</b>
 
<dd><b>Enable</b>
 +
 
<dl>
 
<dl>
 
<dd>Backlight Enable options. See Table 8.</dd>
 
<dd>Backlight Enable options. See Table 8.</dd>
Line 1,803: Line 2,627:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,810: Line 2,640:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 1,849: Line 2,682:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,868: Line 2,704:
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Parameters:</b>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Parameters:</b>
  
 
<dl>
 
<dl>
Line 1,878: Line 2,718:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBright</b>
 
<dd><b>pBright</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the current backlight brightness value.</dd>
 
<dd>Pointer to a buffer that receives the current backlight brightness value.</dd>
Line 1,886: Line 2,736:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,893: Line 2,749:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 1,940: Line 2,799:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 1,958: Line 2,820:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,969: Line 2,835:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Bright</b>
 
<dd><b>Bright</b>
 +
 
<dl>
 
<dl>
 
<dd>Backlight Brightness value.</dd>
 
<dd>Backlight Brightness value.</dd>
Line 1,977: Line 2,853:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 1,984: Line 2,866:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,031: Line 2,916:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,049: Line 2,937:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,060: Line 2,952:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>pLevel</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pLevel</b>
 +
 
 +
<dl>
 
<dd>Pointer to a buffer that receives the current backlight brightness level. See Table 10.</dd>
 
<dd>Pointer to a buffer that receives the current backlight brightness level. See Table 10.</dd>
 
</dl>
 
</dl>
Line 2,068: Line 2,970:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,075: Line 2,983:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,122: Line 3,033:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,132: Line 3,046:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 2,155: Line 3,072:
 
<p>Minimum backlight level is 0</p>
 
<p>Minimum backlight level is 0</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,173: Line 3,093:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,184: Line 3,108:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Level</b>
 
<dd><b>Level</b>
 +
 
<dl>
 
<dl>
 
<dd>Backlight Brightness level. See Table 10.</dd>
 
<dd>Backlight Brightness level. See Table 10.</dd>
Line 2,192: Line 3,126:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,199: Line 3,139:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,246: Line 3,189:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,264: Line 3,210:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,275: Line 3,225:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>pPolarity</b>
+
</dl>
 +
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pPolarity</b>
 +
 
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the current backlight polarity. See Table 11.</dd>
 
<dd>Pointer to a buffer that receives the current backlight polarity. See Table 11.</dd>
Line 2,283: Line 3,243:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,290: Line 3,256:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,329: Line 3,298:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,339: Line 3,311:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 2,362: Line 3,337:
 
<p>Backlight signal polarity OFF</p>
 
<p>Backlight signal polarity OFF</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,380: Line 3,358:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,391: Line 3,373:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Polarity</b>
 
<dd><b>Polarity</b>
 +
 
<dl>
 
<dl>
 
<dd>Polarity state. See <b>Table 11</b>.</dd>
 
<dd>Polarity state. See <b>Table 11</b>.</dd>
Line 2,399: Line 3,391:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,406: Line 3,404:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,437: Line 3,438:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,457: Line 3,461:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,468: Line 3,476:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>pFrequency</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pFrequency</b>
 +
 
 +
<dl>
 
<dd>Pointer to a buffer that receives the current backlight frequency. (Unit: Hz)</dd>
 
<dd>Pointer to a buffer that receives the current backlight frequency. (Unit: Hz)</dd>
 
</dl>
 
</dl>
Line 2,476: Line 3,494:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,483: Line 3,507:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,530: Line 3,557:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,550: Line 3,580:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,561: Line 3,595:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Polarity</b>
 
<dd><b>Polarity</b>
 +
 
<dl>
 
<dl>
 
<dd>Frequency value. (Unit: Hz)</dd>
 
<dd>Frequency value. (Unit: Hz)</dd>
Line 2,569: Line 3,613:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,576: Line 3,626:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 2,615: Line 3,668:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 2,629: Line 3,685:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 2,655: Line 3,714:
 
<p>Other I<sup>2</sup>C host devices</p>
 
<p>Other I<sup>2</sup>C host devices</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 2,670: Line 3,732:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 2,706: Line 3,771:
 
<p>0x4000xxxx, ignore command parameter</p>
 
<p>0x4000xxxx, ignore command parameter</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 2,727: Line 3,795:
 
<dd>Gets I<sup>2</sup>C capabilities.</dd>
 
<dd>Gets I<sup>2</sup>C capabilities.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,741: Line 3,813:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 14</b>.</dd>
 
<dd>Selects target capability. See <b>Table 14</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,770: Line 3,868:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 2,812: Line 3,913:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 2,825: Line 3,929:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 2,851: Line 3,958:
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 2,872: Line 3,982:
 
<dd>Universal function for read and write operations to the I<sup>2</sup>C bus.</dd>
 
<dd>Universal function for read and write operations to the I<sup>2</sup>C bus.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Parameters:</b>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Parameters:</b>
  
 
<dl>
 
<dl>
Line 2,886: Line 4,000:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>First byte of I<sup>2</sup>C device address. 7-bit address only</dd>
 
<dd>First byte of I<sup>2</sup>C device address. 7-bit address only</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pWBuffer</b>
 
<dd><b>pWBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer containing the data to be transferred. This parameter can be NULL if the data is not required.</dd>
 
<dd>Pointer to a buffer containing the data to be transferred. This parameter can be NULL if the data is not required.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>WriteLen</b>
 
<dd><b>WriteLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the information pointed to by the pWBuffer parameter. If pWBuffer is NULL this will be ignored.</dd>
 
<dd>Size in bytes of the information pointed to by the pWBuffer parameter. If pWBuffer is NULL this will be ignored.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>pRBuffer</b>
 
<dd><b>pRBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the read data. This parameter can be NULL if the data is not required.</dd>
 
<dd>Pointer to a buffer that receives the read data. This parameter can be NULL if the data is not required.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 
<dd><b>ReadLen</b>
 
<dd><b>ReadLen</b>
 +
 
<dl>
 
<dl>
 
<dd>
 
<dd>
Line 2,927: Line 4,089:
 
<dd>Size in bytes of the buffer pointed to by the pRBuffer parameter. If pRBuffer is NULL this will be ignored.</dd>
 
<dd>Size in bytes of the buffer pointed to by the pRBuffer parameter. If pRBuffer is NULL this will be ignored.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 2,942: Line 4,110:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,044: Line 4,215:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,068: Line 4,242:
 
<dd>Reads from a specific register in the selected I<sup>2</sup>C device. Reads from I<sup>2</sup>C device at the I<sup>2</sup>C address Addr the amount of ReadLen bytes to the buffer pBuffer while using the device specific command Cmd. Depending on the addressed I<sup>2</sup>C device Cmd can be a specific command or a byte offset.</dd>
 
<dd>Reads from a specific register in the selected I<sup>2</sup>C device. Reads from I<sup>2</sup>C device at the I<sup>2</sup>C address Addr the amount of ReadLen bytes to the buffer pBuffer while using the device specific command Cmd. Depending on the addressed I<sup>2</sup>C device Cmd can be a specific command or a byte offset.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,082: Line 4,260:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
 
<dd><b>Cmd</b>
 
<dl>
 
<dd>Encoded I<sup>2</sup>C Device Command / Index. See <b>Table 13</b>.</dd>
 
</dl>
 
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Cmd</b>
 +
 
 +
<dl>
 +
<dd>Encoded I<sup>2</sup>C Device Command / Index. See <b>Table 13</b>.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the read data.</dd>
 
<dd>Pointer to a buffer that receives the read data.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ReadLen</b>
 
<dd><b>ReadLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,125: Line 4,349:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,211: Line 4,438:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,232: Line 4,462:
 
<dd>Write to a specific register in the selected I<sup>2</sup>C device. Writes to an I<sup>2</sup>C device at the I<sup>2</sup>C address Addr the amount of ByteCnt bytes from the buffer *pBuffer while using the device specific command Cmd. Depending on the addressed I<sup>2</sup>C device Cmd can be a specific command or a byte offset</dd>
 
<dd>Write to a specific register in the selected I<sup>2</sup>C device. Writes to an I<sup>2</sup>C device at the I<sup>2</sup>C address Addr the amount of ByteCnt bytes from the buffer *pBuffer while using the device specific command Cmd. Depending on the addressed I<sup>2</sup>C device Cmd can be a specific command or a byte offset</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,246: Line 4,480:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Cmd</b>
 
<dd><b>Cmd</b>
 +
 
<dl>
 
<dl>
 
<dd>Encoded I<sup>2</sup>C Device Command / Index. See <b>Table 13</b>.</dd>
 
<dd>Encoded I<sup>2</sup>C Device Command / Index. See <b>Table 13</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the write data.</dd>
 
<dd>Pointer to a buffer that receives the write data.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>ByteCnt</b>
 
<dd><b>ByteCnt</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Return Status Code:</b></dd>
+
 
</dl>
+
<p>&nbsp;</p>
  
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
+
<p>&nbsp;</p>
<tbody>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Return Status Code:</b></dd>
 +
</dl>
 +
 
 +
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 +
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,383: Line 4,666:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,404: Line 4,690:
 
<dd>Probes I<sup>2</sup>C address to test I<sup>2</sup>C device present.</dd>
 
<dd>Probes I<sup>2</sup>C address to test I<sup>2</sup>C device present.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,418: Line 4,708:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
  
<p>&nbsp;</p>
+
<p>&nbsp;</p>
</dd>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
<dd>Encoded 7/10 Bit I<sup>2</sup>C Device Address.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,440: Line 4,746:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,518: Line 4,827:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,537: Line 4,849:
 
<dd>Get I<sup>2</sup>C clock frequency.</dd>
 
<dd>Get I<sup>2</sup>C clock frequency.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Parameters:</b>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Parameters:</b>
  
 
<dl>
 
<dl>
Line 3,551: Line 4,867:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>pFreq</b>
 
<dd><b>pFreq</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the I<sup>2</sup>C clock frequency value. (Unit: Hz)</dd>
 
<dd>Pointer to a buffer that receives the I<sup>2</sup>C clock frequency value. (Unit: Hz)</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,573: Line 4,905:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,623: Line 4,958:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,642: Line 4,980:
 
<dd>Set I<sup>2</sup>C clock frequency.</dd>
 
<dd>Set I<sup>2</sup>C clock frequency.</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,656: Line 4,998:
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
<dd>Selects target device. See <b>Table 12</b>.</dd>
 
</dl>
 
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
<p>&nbsp;</p>
+
<dl>
</dd>
+
<dd>
 +
<dl>
 
<dd><b>Freq</b>
 
<dd><b>Freq</b>
 +
 
<dl>
 
<dl>
 
<dd>I<sup>2</sup>C clock frequency value. (Unit: Hz)</dd>
 
<dd>I<sup>2</sup>C clock frequency value. (Unit: Hz)</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<p>&nbsp;</p>
 
 
</dd>
 
</dd>
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 
<dd><b>Return Status Code:</b></dd>
 
<dd><b>Return Status Code:</b></dd>
 
</dl>
 
</dl>
Line 3,678: Line 5,036:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td>&lt;tbody&gt;</td>
 
<td>&lt;tbody&gt;</td>
Line 3,720: Line 5,081:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 3,737: Line 5,101:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 3,760: Line 5,127:
 
<p>Other SMBus host devices</p>
 
<p>Other SMBus host devices</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 3,780: Line 5,150:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,791: Line 5,165:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Cmd</b>
 
<dd><b>Cmd</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the offset or command of the device register to read data from.</dd>
 
<dd>Specifies the offset or command of the device register to read data from.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pData</b>
 
<dd><b>pData</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a variable in which the function reads the byte data.</dd>
 
<dd>Pointer to a variable in which the function reads the byte data.</dd>
Line 3,810: Line 5,214:
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Return Status Code:</b></dd>
+
 
</dl>
+
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Return Status Code:</b></dd>
 +
</dl>
  
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 3,899: Line 5,312:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 3,919: Line 5,335:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,930: Line 5,350:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Cmd</b>
 
<dd><b>Cmd</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Data</b>
 
<dd><b>Data</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the byte data to be written.</dd>
 
<dd>Specifies the byte data to be written.</dd>
Line 3,948: Line 5,398:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 3,955: Line 5,411:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,030: Line 5,489:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,051: Line 5,513:
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 
<dd><b>Parameters:</b>
 
<dd><b>Parameters:</b>
  
Line 4,061: Line 5,527:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Cmd</b>
 
<dd><b>Cmd</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the offset or command of the device register to read data from.</dd>
 
<dd>Specifies the offset or command of the device register to read data from.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pData</b>
 
<dd><b>pData</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a variable in which the function reads the word data.</dd>
 
<dd>Pointer to a variable in which the function reads the word data.</dd>
Line 4,079: Line 5,575:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,086: Line 5,588:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,169: Line 5,674:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,189: Line 5,697:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,200: Line 5,712:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Cmd</b>
 
<dd><b>Cmd</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Data</b>
 
<dd><b>Data</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the word data to be written.</dd>
 
<dd>Specifies the word data to be written.</dd>
Line 4,218: Line 5,760:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,225: Line 5,773:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,300: Line 5,851:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,320: Line 5,874:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,331: Line 5,889:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pData</b>
 
<dd><b>pData</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a variable in which the function receive the byte data.</dd>
 
<dd>Pointer to a variable in which the function receive the byte data.</dd>
Line 4,344: Line 5,922:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,351: Line 5,935:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,434: Line 6,021:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,454: Line 6,044:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,465: Line 6,059:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Data</b>
 
<dd><b>Data</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the word data to be sent.</dd>
 
<dd>Specifies the word data to be sent.</dd>
Line 4,478: Line 6,092:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,485: Line 6,105:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,560: Line 6,183:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,580: Line 6,206:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,591: Line 6,221:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
Line 4,600: Line 6,240:
 
</dl>
 
</dl>
  
<dl>
+
<p>&nbsp;</p>
<dd><b>Return Status Code:</b></dd>
+
 
</dl>
+
<p>&nbsp;</p>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd><b>Return Status Code:</b></dd>
 +
</dl>
  
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,673: Line 6,322:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,691: Line 6,343:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,702: Line 6,358:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
Line 4,710: Line 6,376:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,717: Line 6,389:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,784: Line 6,459:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,804: Line 6,482:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,815: Line 6,497:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>Cmd</b>
+
</dl>
<dl>
+
</dd>
<dd>Specifies the offset or command of the device register to read data from.</dd>
+
</dl>
</dl>
+
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Cmd</b>
 +
 
 +
<dl>
 +
<dd>Specifies the offset or command of the device register to read data from.</dd>
 +
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte array in which the function reads the block data.</dd>
 
<dd>Pointer to a byte array in which the function reads the block data.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pLength</b>
 
<dd><b>pLength</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.</dd>
 
<dd>Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.</dd>
Line 4,838: Line 6,560:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,845: Line 6,573:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 4,928: Line 6,659:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 4,948: Line 6,682:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,959: Line 6,697:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>Cmd</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Cmd</b>
 +
 
 +
<dl>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte array in which the function writes the block data.</dd>
 
<dd>Pointer to a byte array in which the function writes the block data.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Length</b>
 
<dd><b>Length</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the number of bytes to be write.</dd>
 
<dd>Specifies the number of bytes to be write.</dd>
Line 4,982: Line 6,760:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 4,989: Line 6,773:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,072: Line 6,859:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,092: Line 6,882:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,103: Line 6,897:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>Cmd</b>
+
</dl>
<dl>
+
</dd>
<dd>Specifies the offset or command of the device register to read data from.</dd>
+
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Cmd</b>
 +
 
 +
<dl>
 +
<dd>Specifies the offset or command of the device register to read data from.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte array in which the function reads the block data.</dd>
 
<dd>Pointer to a byte array in which the function reads the block data.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pLength</b>
 
<dd><b>pLength</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.</dd>
 
<dd>Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.</dd>
Line 5,126: Line 6,960:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,133: Line 6,973:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,224: Line 7,067:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,244: Line 7,090:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,255: Line 7,105:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Addr</b>
 
<dd><b>Addr</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
<dd>Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>Cmd</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Cmd</b>
 +
 
 +
<dl>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
<dd>Specifies the offset or command of the device register to write data to.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a byte array in which the function writes the block data.</dd>
 
<dd>Pointer to a byte array in which the function writes the block data.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Length</b>
 
<dd><b>Length</b>
 +
 
<dl>
 
<dl>
 
<dd>Specifies the number of bytes to be write.</dd>
 
<dd>Specifies the number of bytes to be write.</dd>
Line 5,278: Line 7,168:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,285: Line 7,181:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,376: Line 7,275:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,388: Line 7,290:
  
 
<dl>
 
<dl>
<dd><img _fck_mw_filename="Initial timing.png" _fck_mw_origimgheight="121" _fck_mw_origimgwidth="652" alt="RTENOTITLE" src="/wiki/images/9/9e/Initial_timing.png" style="vertical-align:middle;" title="RTENOTITLE" /></dd>
+
<dd>&lt;img _fck_mw_filename=&quot;Initial timing.png&quot; _fck_mw_origimgheight=&quot;121&quot; _fck_mw_origimgwidth=&quot;652&quot; alt=&quot;RTENOTITLE&quot; src=&quot;/wiki/images/9/9e/Initial_timing.png&quot; style=&quot;vertical-align:middle;&quot; title=&quot;RTENOTITLE&quot; /&gt;</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,400: Line 7,306:
 
<dd>
 
<dd>
 
<dl>
 
<dl>
<dd><img _fck_mw_filename="Timing after trigger.png" _fck_mw_origimgheight="127" _fck_mw_origimgwidth="584" alt="RTENOTITLE" src="/wiki/images/a/a4/Timing_after_trigger.png" style="vertical-align:middle;" title="RTENOTITLE" /></dd>
+
<dd>&lt;img _fck_mw_filename=&quot;Timing after trigger.png&quot; _fck_mw_origimgheight=&quot;127&quot; _fck_mw_origimgwidth=&quot;584&quot; alt=&quot;RTENOTITLE&quot; src=&quot;/wiki/images/a/a4/Timing_after_trigger.png&quot; style=&quot;vertical-align:middle;&quot; title=&quot;RTENOTITLE&quot; /&gt;</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,418: Line 7,328:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Stage B</b>
 
<dd><b>Stage B</b>
 +
 
<dl>
 
<dl>
 
<dd>Initial Delay Period is exhausted.</dd>
 
<dd>Initial Delay Period is exhausted.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>Stage C/F</b>
+
</dl>
 +
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>Stage C/F</b>
 +
 
 
<dl>
 
<dl>
 
<dd>Event is triggered, NMI, IRQ, or PIN is Triggered. To Allow for possible Software Recovery.</dd>
 
<dd>Event is triggered, NMI, IRQ, or PIN is Triggered. To Allow for possible Software Recovery.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Stage D/G</b>
 
<dd><b>Stage D/G</b>
 +
 
<dl>
 
<dl>
 
<dd>System is reset.</dd>
 
<dd>System is reset.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Stage E</b></dd>
 
<dd><b>Stage E</b></dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
  
 
<ul style="margin-left: 160px;">
 
<ul style="margin-left: 160px;">
Line 5,450: Line 7,401:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 5,481: Line 7,435:
 
<p>Third watchdog timer</p>
 
<p>Third watchdog timer</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,500: Line 7,457:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 
<dd><b>Parameters:</b>
 
<dd><b>Parameters:</b>
 +
 
<dl>
 
<dl>
 
<dd><b>Id</b>
 
<dd><b>Id</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 17</b>.</dd>
 
<dd>Selects target capability. See <b>Table 17</b>.</dd>
</dl>
 
</dd>
 
<dd><b>pValue</b>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
 
</dl>
 
</dl>
 
</dd>
 
</dd>
Line 5,520: Line 7,489:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pValue</b>
 +
 +
<dl>
 +
<dd>Pointer to a buffer that receives the target capability.</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,527: Line 7,517:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,566: Line 7,559:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,576: Line 7,572:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 5,679: Line 7,678:
 
<p>Current event type (<b>Table 19</b>)</p>
 
<p>Current event type (<b>Table 19</b>)</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,699: Line 7,701:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,710: Line 7,716:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>DelayTime</b>
 
<dd><b>DelayTime</b>
 +
 
<dl>
 
<dl>
 
<dd>Initial delay for the watchdog timer in milliseconds.</dd>
 
<dd>Initial delay for the watchdog timer in milliseconds.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>EventTime</b>
 
<dd><b>EventTime</b>
 +
 
<dl>
 
<dl>
 
<dd>Watchdog timeout interval in milliseconds to trigger an event.</dd>
 
<dd>Watchdog timeout interval in milliseconds to trigger an event.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>ResetTime</b>
+
</dl>
<dl>
+
</dd>
<dd>Watchdog timeout interval in milliseconds to trigger a reset.</dd>
+
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>ResetTime</b>
 +
 
 +
<dl>
 +
<dd>Watchdog timeout interval in milliseconds to trigger a reset.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>EventType</b>
 
<dd><b>EventType</b>
 +
 
<dl>
 
<dl>
 
<dd>To select one kind of event type. See <b>Table 19</b>.</dd>
 
<dd>To select one kind of event type. See <b>Table 19</b>.</dd>
Line 5,733: Line 7,779:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,740: Line 7,792:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,779: Line 7,834:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,789: Line 7,847:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 5,832: Line 7,893:
 
<p>0x04</p>
 
<p>0x04</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,842: Line 7,906:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 5,881: Line 7,948:
 
<p>Power button event</p>
 
<p>Power button event</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,900: Line 7,970:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 
<dd><b>Parameters:</b>
 
<dd><b>Parameters:</b>
 +
 
<dl>
 
<dl>
 
<dd><b>Id</b>
 
<dd><b>Id</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
Line 5,910: Line 7,987:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,917: Line 8,000:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 5,948: Line 8,034:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 5,965: Line 8,054:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 
<dd><b>Parameters:</b>
 
<dd><b>Parameters:</b>
 +
 
<dl>
 
<dl>
 
<dd><b>Id</b>
 
<dd><b>Id</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
 
<dd>Selects target device. See <b>Table 16</b>.</dd>
Line 5,975: Line 8,071:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 5,982: Line 8,084:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,013: Line 8,118:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,031: Line 8,139:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,042: Line 8,154:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pfnCallback</b>
 
<dd><b>pfnCallback</b>
 +
 
<dl>
 
<dl>
 
<dd>Call back function pointer, SUSI_WDT_INT_CALLBACK is function pointer type, it can set NULL to clear. The type definition just like show below,</dd>
 
<dd>Call back function pointer, SUSI_WDT_INT_CALLBACK is function pointer type, it can set NULL to clear. The type definition just like show below,</dd>
Line 6,048: Line 8,170:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Context</b>
 
<dd><b>Context</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a user context structure for callback function.</dd>
 
<dd>Pointer to a user context structure for callback function.</dd>
Line 6,056: Line 8,188:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,063: Line 8,201:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,094: Line 8,235:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,112: Line 8,256:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:259px;">
 
<td style="width:259px;">
Line 6,147: Line 8,294:
 
<p>This ID control maximum 32 pins per bank.</p>
 
<p>This ID control maximum 32 pins per bank.</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,169: Line 8,319:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,180: Line 8,334:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 21</b>.</dd>
 
<dd>Selects target capability. See <b>Table 21</b>.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability. Each bit of the buffer value represents support situation of a GPIO, according to the order. 1 is supportive, and 0 is unsupportive.</dd>
 
<dd>Pointer to a buffer that receives the target capability. Each bit of the buffer value represents support situation of a GPIO, according to the order. 1 is supportive, and 0 is unsupportive.</dd>
Line 6,193: Line 8,367:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,200: Line 8,380:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,239: Line 8,422:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,251: Line 8,437:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 6,274: Line 8,463:
 
<p>Get GPIO output support state</p>
 
<p>Get GPIO output support state</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,296: Line 8,488:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,307: Line 8,503:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Bitmask</b>
 
<dd><b>Bitmask</b>
 +
 
<dl>
 
<dl>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>pDirection</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pDirection</b>
 +
 
 +
<dl>
 
<dd>Pointer to a buffer that receives the direction of the selected GPIO ports.&nbsp;(0 means output and 1 means input)</dd>
 
<dd>Pointer to a buffer that receives the direction of the selected GPIO ports.&nbsp;(0 means output and 1 means input)</dd>
 
</dl>
 
</dl>
Line 6,320: Line 8,536:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,327: Line 8,549:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,374: Line 8,599:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,398: Line 8,626:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,409: Line 8,643:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Bitmask</b>
 
<dd><b>Bitmask</b>
 +
 
<dl>
 
<dl>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Direction</b>
 
<dd><b>Direction</b>
 +
 
<dl>
 
<dl>
 
<dd>Sets the direction of the selected GPIO ports. (0 means output and 1 means input)</dd>
 
<dd>Sets the direction of the selected GPIO ports. (0 means output and 1 means input)</dd>
Line 6,422: Line 8,676:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,429: Line 8,689:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,468: Line 8,731:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,486: Line 8,752:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,497: Line 8,767:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Bitmask</b>
 
<dd><b>Bitmask</b>
 +
 
<dl>
 
<dl>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pLevel</b>
 
<dd><b>pLevel</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the GPIO level.</dd>
 
<dd>Pointer to a buffer that receives the GPIO level.</dd>
Line 6,510: Line 8,800:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,517: Line 8,813:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,564: Line 8,863:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,584: Line 8,886:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,595: Line 8,901:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Bitmask</b>
 
<dd><b>Bitmask</b>
 +
 
<dl>
 
<dl>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
<dd>Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Level</b>
 
<dd><b>Level</b>
 +
 
<dl>
 
<dl>
 
<dd>Input level of the selected GPIO port.</dd>
 
<dd>Input level of the selected GPIO port.</dd>
Line 6,608: Line 8,934:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,615: Line 8,947:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,654: Line 8,989:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,664: Line 9,002:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:598px;height:582px;">
 
<td style="width:598px;height:582px;">
Line 6,691: Line 9,032:
 
  uint32_t MaxRPM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_RPM
 
  uint32_t MaxRPM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_RPM
  
} AutoFan , *PAutoFan&amp;nbsp;;
+
} AutoFan , *PAutoFan&amp;amp;nbsp;;
  
  
Line 6,716: Line 9,057:
 
</pre>
 
</pre>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,738: Line 9,082:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,749: Line 9,097:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 22</b>. This parameter can also input temperature ID (<b>Table 3</b>) to get is it supports in <i>SusiFanControl</i> function.</dd>
 
<dd>Selects target capability. See <b>Table 22</b>. This parameter can also input temperature ID (<b>Table 3</b>) to get is it supports in <i>SusiFanControl</i> function.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
Line 6,762: Line 9,130:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 6,769: Line 9,143:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 6,808: Line 9,185:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,820: Line 9,200:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 6,843: Line 9,226:
 
<p>Auto support flags (See <b>Table 24</b>)</p>
 
<p>Auto support flags (See <b>Table 24</b>)</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,856: Line 9,242:
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td style="width:267px;">
+
<td>&lt;tbody&gt;</td>
 +
</tr>
 +
<tr>
 +
<td style="width:267px;">
 
<p><b>Flag Name</b></p>
 
<p><b>Flag Name</b></p>
 
</td>
 
</td>
Line 6,911: Line 9,300:
 
<p>0x08</p>
 
<p>0x08</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 6,923: Line 9,315:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:267px;">
 
<td style="width:267px;">
Line 6,988: Line 9,383:
 
<p>0x0200</p>
 
<p>0x0200</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,008: Line 9,406:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,019: Line 9,421:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pConfig</b>
 
<dd><b>pConfig</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to the smart fan function configuration.</dd>
 
<dd>Pointer to the smart fan function configuration.</dd>
Line 7,027: Line 9,439:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,034: Line 9,452:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,081: Line 9,502:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,105: Line 9,529:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,116: Line 9,546:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pConfig</b>
 
<dd><b>pConfig</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to the smart fan function configuration.</dd>
 
<dd>Pointer to the smart fan function configuration.</dd>
Line 7,124: Line 9,564:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,131: Line 9,577:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,178: Line 9,627:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,196: Line 9,648:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:316px;">
 
<td style="width:316px;">
Line 7,219: Line 9,674:
 
<p>Other storage devices</p>
 
<p>Other storage devices</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,241: Line 9,699:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
  
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
Line 7,254: Line 9,714:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 26</b>.</dd>
 
<dd>Selects target capability. See <b>Table 26</b>.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
Line 7,267: Line 9,747:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,274: Line 9,760:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,321: Line 9,810:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,333: Line 9,825:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 7,372: Line 9,867:
 
<p>Get maximum length in byte of storage lock key</p>
 
<p>Get maximum length in byte of storage lock key</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,384: Line 9,882:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 7,407: Line 9,908:
 
<p>Storage is unlock</p>
 
<p>Storage is unlock</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,427: Line 9,931:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,438: Line 9,946:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Offset</b>
 
<dd><b>Offset</b>
 +
 
<dl>
 
<dl>
 
<dd>Storage area start address offset in bytes.</dd>
 
<dd>Storage area start address offset in bytes.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>BufLen</b>
 
<dd><b>BufLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.</dd>
Line 7,456: Line 9,994:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,463: Line 10,007:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,518: Line 10,065:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,538: Line 10,088:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,549: Line 10,103:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>Offset</b>
 
<dd><b>Offset</b>
 +
 
<dl>
 
<dl>
 
<dd>Storage area start address offset in bytes.</dd>
 
<dd>Storage area start address offset in bytes.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>pBuffer</b>
+
</dl>
<dl>
+
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>pBuffer</b>
 +
 
 +
<dl>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the buffer pointed to by the pBuffer parameter.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>BufLen</b>
 
<dd><b>BufLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.</dd>
 
<dd>Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.</dd>
Line 7,567: Line 10,151:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,574: Line 10,164:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,629: Line 10,222:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,649: Line 10,245:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,660: Line 10,260:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Lock of key buffer.</dd>
 
<dd>Lock of key buffer.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>BufLen</b>
 
<dd><b>BufLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Number of key buffer</dd>
 
<dd>Number of key buffer</dd>
Line 7,673: Line 10,293:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,680: Line 10,306:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,735: Line 10,364:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,755: Line 10,387:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,766: Line 10,402:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pBuffer</b>
 
<dd><b>pBuffer</b>
 +
 
<dl>
 
<dl>
 
<dd>Unlock of key buffer.</dd>
 
<dd>Unlock of key buffer.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>BufLen</b>
 
<dd><b>BufLen</b>
 +
 
<dl>
 
<dl>
 
<dd>Number of key buffer</dd>
 
<dd>Number of key buffer</dd>
Line 7,779: Line 10,435:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,786: Line 10,448:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 7,841: Line 10,506:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,853: Line 10,521:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:592px;">
 
<td style="width:592px;">
Line 7,869: Line 10,540:
 
</pre>
 
</pre>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,885: Line 10,559:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>EventType</b>
 
<dd><b>EventType</b>
 +
 
<dl>
 
<dl>
 
<dd>This byte can set up a thermal protect event, see <b>Table 28</b>. NOT every platform supports all event type.</dd>
 
<dd>This byte can set up a thermal protect event, see <b>Table 28</b>. NOT every platform supports all event type.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
<dd><b>SendEevntTemperature</b>
+
</dl>
 +
</dd>
 +
</dl>
 +
 
 +
<p>&nbsp;</p>
 +
 
 +
<dl>
 +
<dd>
 +
<dl>
 +
<dd><b>SendEevntTemperature</b>
 +
 
 
<dl>
 
<dl>
 
<dd>Unit is 0.1 Kelvins. When thermal source goes over this value, SUSI will send event according Event Type.</dd>
 
<dd>Unit is 0.1 Kelvins. When thermal source goes over this value, SUSI will send event according Event Type.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ClearEventTemperature</b>
 
<dd><b>ClearEventTemperature</b>
 +
 
<dl>
 
<dl>
 
<dd>Unit is 0.1 Kelvins. When thermal source goes below this value and Event is sent, SUSI will clear event according Event Type</dd>
 
<dd>Unit is 0.1 Kelvins. When thermal source goes below this value and Event is sent, SUSI will clear event according Event Type</dd>
Line 7,903: Line 10,607:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 7,910: Line 10,620:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:267px;">
 
<td style="width:267px;">
Line 7,964: Line 10,677:
 
<p>0xFF</p>
 
<p>0xFF</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 7,976: Line 10,692:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:268px;">
 
<td style="width:268px;">
Line 8,015: Line 10,734:
 
<p>Thermal protection zone 4</p>
 
<p>Thermal protection zone 4</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 8,035: Line 10,757:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,046: Line 10,772:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>ItemId</b>
 
<dd><b>ItemId</b>
 +
 
<dl>
 
<dl>
 
<dd>Selects target capability. See <b>Table 30</b>. This parameter can also input temperature ID (<b>Table 3</b>) to get is it supports in <i>SusiThermalProtection</i> function.</dd>
 
<dd>Selects target capability. See <b>Table 30</b>. This parameter can also input temperature ID (<b>Table 3</b>) to get is it supports in <i>SusiThermalProtection</i> function.</dd>
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pValue</b>
 
<dd><b>pValue</b>
 +
 
<dl>
 
<dl>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
 
<dd>Pointer to a buffer that receives the target capability.</dd>
Line 8,059: Line 10,805:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,066: Line 10,818:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 8,105: Line 10,860:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 8,117: Line 10,875:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:297px;">
 
<td style="width:297px;">
Line 8,164: Line 10,925:
 
<p>The minimum temperature to clear event</p>
 
<p>The minimum temperature to clear event</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 8,174: Line 10,938:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:267px;">
 
<td style="width:267px;">
Line 8,217: Line 10,984:
 
<p>0x04</p>
 
<p>0x04</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 8,237: Line 11,007:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,248: Line 11,022:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pConfig</b>
 
<dd><b>pConfig</b>
 +
 
<dl>
 
<dl>
 
<dd>A data package for thermal protection.</dd>
 
<dd>A data package for thermal protection.</dd>
Line 8,256: Line 11,040:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,263: Line 11,053:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 8,318: Line 11,111:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
Line 8,338: Line 11,134:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,349: Line 11,149:
 
</dl>
 
</dl>
 
</dd>
 
</dd>
 +
</dl>
 +
</dd>
 +
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<dl>
 +
<dd>
 +
<dl>
 
<dd><b>pConfig</b>
 
<dd><b>pConfig</b>
 +
 
<dl>
 
<dl>
 
<dd>A data package for thermal protection.</dd>
 
<dd>A data package for thermal protection.</dd>
Line 8,357: Line 11,167:
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<dl>
 
<dl>
Line 8,364: Line 11,180:
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<table border="1" cellpadding="0" cellspacing="0" style="margin:1em auto 1em auto;">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td>&lt;tbody&gt;</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width:293px;">
 
<td style="width:293px;">
Line 8,403: Line 11,222:
 
<p>SUSI_STATUS_SUCCESS</p>
 
<p>SUSI_STATUS_SUCCESS</p>
 
</td>
 
</td>
 +
</tr>
 +
<tr>
 +
<td>&lt;/tbody&gt;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
  
<p><span _fck_mw_customtag="true" _fck_mw_tagname="headertabs" _fck_mw_tagtype="t" class="fck_mw_special">_</span></p>
+
<p>&nbsp;</p>

Revision as of 08:04, 9 June 2022

Contents

1 Introduction

SUSI – A Bridge to Simplify & Enhance H/W & Application Implementation Efficiency

When developers want to write an application that involves hardware access, they have to study the specifications to write the drivers. This is a time-consuming job and requires lots of expertise.

Advantech has done all the hard work for our customers with the release of a suite of Software APIs (Application Programming Interfaces), called Secured & Unified Smart Interface (SUSI).

SUSI provides not only the underlying drivers required but also a rich set of user-friendly, intelligent and integrated interfaces, which speeds development, enhances security and offers add-on value for Advantech platforms. SUSI plays the role of catalyst between developer and solution, and makes Advantech embedded platforms easier and simpler to adopt and operate with customer applications.

 

1.1 Functions

1.1.1 GPIO

<img _fck_mw_filename="1.1.1 GPIO.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.1 GPIO.png" height="150" src="/wiki/images/b/ba/1.1.1_GPIO.png" style="vertical-align:middle;" title="1.1.1 GPIO.png" width="100" />

General Purpose Input/Output is a flexible parallel interface that allows a variety of custom connections. It supports various Digital I/O devices – input devices like buttons, switches; output devices such as cash drawers, LED lights…etc. And, allows users to monitor the level of signal input or set the output status to switch on/off the device. Our APIs also provided Programmable GPIO and allows developers to dynamically set the GPIO input or output status.

 

1.1.2 SMBus [x86 only and RISC is unavailable]

<img _fck_mw_filename="1.1.2 SMBus.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.2 SMBus.png" height="150" src="/wiki/images/f/f6/1.1.2_SMBus.png" style="vertical-align:middle;" title="1.1.2 SMBus.png" width="100" />

SMBus is the System Management Bus defined by Intel® Corporation in 1995. It is used in personal computers and servers for low-speed system management communications. Today, SMBus is used in all types of embedded systems. The SMBus APIs allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the SMBus protocols, allowing multiple simultaneous device control.

 

1.1.3 I2C

<img _fck_mw_filename="1.1.3 i2c.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.3 i2c.png" height="150" src="/wiki/images/4/4d/1.1.3_i2c.png" style="vertical-align:middle;" title="1.1.3 i2c.png" width="100" />

I2C is a bi-directional two wire bus that was developed by Philips for use in their televisions in the 1980s. Today, I2C is used in all types of embedded systems. The I2C API allows a developer to interface a platform to a downstream embedded system environment and transfer serial messages using the I2C protocols, allowing multiple simultaneous device control.

 

1.1.4 Watchdog

<img _fck_mw_filename="1.1.4 watchdog.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.4 watchdog.png" height="150" src="/wiki/images/d/d4/1.1.4_watchdog.png" style="vertical-align:middle;" title="1.1.4 watchdog.png" width="100" />

A watchdog timer (WDT) is a device or electronic card that performs a specific operation after a certain period of time if something goes wrong with an electronic system and the system does not recover on its own.

A watchdog timer can be programmed to perform a warm boot (restarting the system) after a certain number of seconds during which a program or computer fails to respond following the most recent mouse click or keyboard action.

 

1.1.5 Hardware Monitor [x86 only and RISC is limited in some features]

<img _fck_mw_filename="1.1.5 HardwareMonitor 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.5 HardwareMonitor 1.png" height="150" src="/wiki/images/1/1f/1.1.5_HardwareMonitor_1.png" style="vertical-align:middle;" title="1.1.5 HardwareMonitor 1.png" width="100" />   <img _fck_mw_filename="1.1.5 HardwareMonitor 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.5 HardwareMonitor 2.png" height="150" src="/wiki/images/e/eb/1.1.5_HardwareMonitor_2.png" style="vertical-align:middle;" title="1.1.5 HardwareMonitor 2.png" width="100" />

The Hardware Monitor (HWM) APIs is a system health supervision API that inspects certain condition indexes, such as smart fan, fan speed, temperature, current, case open and voltage.

 

1.1.6 Backlight Control

<img _fck_mw_filename="1.1.6 Backlight 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.6 Backlight 1.png" height="150" src="/wiki/images/a/a6/1.1.6_Backlight_1.png" style="vertical-align:middle;" title="1.1.6 Backlight 1.png" width="100" />   <img _fck_mw_filename="1.1.6 Backlight 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.6 Backlight 2.png" height="150" src="/wiki/images/5/56/1.1.6_Backlight_2.png" style="vertical-align:middle;" title="1.1.6 Backlight 2.png" width="100" />

The Backlight Control APIs allows a developer to interface platform to easily control brightness through PWM and backlight on/off.

 

1.1.7 Storage [x86 only and RISC is unavailable]

<img _fck_mw_filename="1.1.7 Storage.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.7 Storage.png" height="150" src="/wiki/images/8/83/1.1.7_Storage.png" style="vertical-align:middle;" title="1.1.7 Storage.png" width="100" />

Storage is a non-volatile storage, the storage APIs allows a developer to access storage information, read/write data to storage and lock/unlock data area (same like write protection) by a key.

 

1.1.8 Thermal Protection [x86 only and RISC is unavailable]

<img _fck_mw_filename="1.1.8 Thermal 1.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.8 Thermal 1.png" height="150" src="/wiki/images/4/47/1.1.8_Thermal_1.png" style="vertical-align:middle;" title="1.1.8 Thermal 1.png" width="100" />   <img _fck_mw_filename="1.1.8 Thermal 2.png" _fck_mw_origimgheight="259" _fck_mw_origimgwidth="300" alt="1.1.8 Thermal 2.png" height="150" src="/wiki/images/2/21/1.1.8_Thermal_2.png" style="vertical-align:middle;" title="1.1.8 Thermal 2.png" width="100" />

Thermal Protection can select a thermal source to monitor. When source temperature reach the limit, SUSI can act protect function to protect system.

1.2 Benefits

  • Faster Time to Market
SUSI's unified API helps developers write applications to control the hardware without knowing the hardware specs of the chipsets and driver architecture.

 

  • Reduced Project Effort
When customers have their own devices connected to the onboard bus, they can either: study the data sheet and write the driver & API from scratch, or they can use SUSI to start the integration with a 50% head start. Developers can reference the sample program on the CD to see and learn more about the software development environment.

 

  • Enhances Hardware Platform Reliability
SUSI provides a trusted custom ready solution which combines chipset and library function support, controlling application development through SUSI enhances reliability and brings peace of mind.

 

  • Flexible Upgrade Possibilities
SUSI supports an easy upgrade solution for customers. Customers just need to install the new version SUSI that supports the new functions.

 

  • Backward compatibility
Support SUSI 3.0, iManager 2.0 and EAPI 1.0 interface. Customers don’t need to change any APIs in their applications.

1.3 Environment Requirements

1.3.1Operating Systems

Windows XP Embedded

Windows XP 32-bit

Windows 7 (x86 / x64)

WES7 (x86 / x64)

Windows 8 Desktop (x86 / x64)

Windows 10 (x86 / x64)

Windows CE 5 / 6 / 7

RISC Yocto 2.1

Linux (Project based, request from your local FAE)

Android (Project based, request from your local FAE)

QNX (Project based, request from your local FAE)

VxWorks (Project based, request from your local FAE)

 

2 SUSI Definition

Susi4.h file includes the API declaration, constants and flags that are required for programming.

2.1 Status Codes

All SUSI API functions immediately return a status code from a common list of possible errors. Any function may return any of the defined status codes. See the Appendix for more detailed information.

 

#define SUSI_STATUS_NOT_INITIALIZED					    0xFFFFFFFF
Description
The SUSI API library is not yet or unsuccessfully initialized. SusiLibInitialize needs to be called prior to the first access of any other SUSI API functions.

Actions
Call SusiLibInitialize.

 

#define SUSI_STATUS_INITIALIZED						    0xFFFFFFFE
Description
Library is initialized.

Actions
None.

 

#define SUSI_STATUS_ALLOC_ERROR						    0xFFFFFFFD
Description
Memory Allocation Error.

Actions
Free memory and try again.

 

#define SUSI_STATUS_DRIVER_TIMEOUT						0xFFFFFFFC
Description
Time out in driver. This is Normally caused by hardware/software semaphore timeout.

Actions
Retry.

 

#define SUSI_STATUS_INVALID_PARAMETER					0xFFFFFEFF
Description
One or more of the SUSI API functions call parameters are out of defined range.

Actions
Verify Function Parameters.

 

#define SUSI_STATUS_INVALID_BLOCK_ALIGNMENT			0xFFFFFEFE
Description
The Block Alignment is incorrect.

Actions
Use Inputs and Outputs to correctly select input and outputs.

 

#define SUSI_STATUS_INVALID_BLOCK_LENGTH				0xFFFFFEFD
Description
This means that the Block length is too long.

Actions
Use Alignment Capabilities information to correctly align write access.

 

#define SUSI_STATUS_INVALID_DIRECTION					0xFFFFFEFC
Description
The current Direction Argument attempts to set GPIOs to a unsupported direction. I.E. Setting GPI to Output.

Actions
Use Inputs and Outputs to correctly select input and outputs.

 

#define SUSI_STATUS_INVALID_BITMASK					0xFFFFFEFB
Description
The Bitmask Selects bits/GPIOs which are not supported for the current ID.

Actions
Use Inputs and Outputs to probe supported bits.

 

#define SUSI_STATUS_RUNNING							0xFFFFFEFA
Description
Watchdog timer already started.

Actions
Call SusiWDogStop before retrying.

 

#define SUSI_STATUS_UNSUPPORTED						0xFFFFFCFF
Description
This function or ID is not supported at the actual hardware environment.

Actions
None.

#define SUSI_STATUS_NOT_FOUND							0xFFFFFBFF
Description
Selected device was not found

Actions
None.

 

#define SUSI_STATUS_TIMEOUT							0xFFFFFBFE
Description
Device has no response.

Actions
None.

 

#define SUSI_STATUS_BUSY_COLLISION						0xFFFFFBFD
Description
The selected device or ID is busy or a data collision is detected.

Actions
Retry.

 

#define SUSI_STATUS_READ_ERROR							0xFFFFFAFF
Description
An error is detected during a read operation.

Actions
Retry.

 

#define SUSI_STATUS_WRITE_ERROR						0xFFFFFAFE
Description
An error is detected during a write operation.

Actions
Retry.

 

#define SUSI_STATUS_MORE_DATA							0xFFFFF9FF
Description
The amount of available data exceeds the buffer size. Storage buffer overflow was prevented. Read count was larger than the defined buffer length.

Actions
Either increase the buffer size or reduce the block length.

 

#define SUSI_STATUS_ERROR								0xFFFFF0FF
Description
Generic error message. No further error details are available.

Actions
None.

 

#define SUSI_STATUS_SUCCESS					0
Description
The operation is successful.

Actions
None.

2.2 ID

#define SUSI_ID_UNKNOWN					0xFFFFFFFF
Description
Undefined/Unknown ID

#define SUSI_ID_BOARD_MANUFACTURER_STR			0
#define SUSI_ID_BOARD_NAME_STR				1
#define SUSI_ID_BOARD_REVISION_STR			2
#define SUSI_ID_BOARD_SERIAL_STR			3
#define SUSI_ID_BOARD_BIOS_REVISION_STR			4
#define SUSI_ID_BOARD_HW_REVISION_STR			5
#define SUSI_ID_BOARD_PLATFORM_TYPE_STR			6
#define SUSI_ID_BOARD_EC_FW_STR				7
Description
Board information string ID, use in SusiBoardGetStringA.

#define SUSI_ID_GET_SPEC_VERSION&nbsp				0x00000000
#define SUSI_ID_BOARD_BOOT_COUNTER_VAL				0x00000001
#define SUSI_ID_BOARD_RUNNING_TIME_METER_VAL			0x00000002
#define SUSI_ID_BOARD_PNPID_VAL					0x00000003
#define SUSI_ID_BOARD_PLATFORM_REV_VAL				0x00000004
#define SUSI_ID_BOARD_DRIVER_VERSION_VAL			0x00010000
#define SUSI_ID_BOARD_LIB_VERSION_VAL				0x00010001
#define SUSI_ID_BOARD_FIRMWARE_VERSION_VAL			0x00010002
Description
Board information value ID, use in SusiBoardGetValue.

#define SUSI_ID_HWM_TEMP_CPU					0x00020000
#define SUSI_ID_HWM_TEMP_CHIPSET				0x00020001
#define SUSI_ID_HWM_TEMP_SYSTEM					0x00020002
#define SUSI_ID_HWM_TEMP_CPU2					0x00020003
#define SUSI_ID_HWM_TEMP_OEM0					0x00020004
#define SUSI_ID_HWM_TEMP_OEM1					0x00020005
#define SUSI_ID_HWM_TEMP_OEM2					0x00020006
#define SUSI_ID_HWM_TEMP_OEM3					0x00020007
#define SUSI_ID_HWM_TEMP_OEM4					0x00020008 
#define SUSI_ID_HWM_TEMP_OEM5					0x00020009
Description
Board temperature value ID, use in SusiBoardGetValue.

#define SUSI_ID_HWM_VOLTAGE_VCORE				0x00021000
#define SUSI_ID_HWM_VOLTAGE_VCORE2				0x00021001
#define SUSI_ID_HWM_VOLTAGE_2V5					0x00021002
#define SUSI_ID_HWM_VOLTAGE_3V3					0x00021003
#define SUSI_ID_HWM_VOLTAGE_5V					0x00021004
#define SUSI_ID_HWM_VOLTAGE_12V					0x00021005
#define SUSI_ID_HWM_VOLTAGE_5VSB				0x00021006
#define SUSI_ID_HWM_VOLTAGE_3VSB				0x00021007
#define SUSI_ID_HWM_VOLTAGE_VBAT				0x00021008
#define SUSI_ID_HWM_VOLTAGE_5NV					0x00021009
#define SUSI_ID_HWM_VOLTAGE_12NV				0x0002100A
#define SUSI_ID_HWM_VOLTAGE_VTT					0x0002100B
#define SUSI_ID_HWM_VOLTAGE_24V					0x0002100C
#define SUSI_ID_HWM_VOLTAGE_DC					0x0002100D
#define SUSI_ID_HWM_VOLTAGE_DCSTBY				0x0002100E
#define SUSI_ID_HWM_VOLTAGE_OEM3				0x0002100F
#define SUSI_ID_HWM_VOLTAGE_OEM0				0x00021010
#define SUSI_ID_HWM_VOLTAGE_OEM1				0x00021011
#define SUSI_ID_HWM_VOLTAGE_OEM2				0x00021012
#define SUSI_ID_HWM_VOLTAGE_OEM3				0x00021013
#define SUSI_ID_HWM_VOLTAGE_1V05				0x00021014
#define SUSI_ID_HWM_VOLTAGE_1V5					0x00021015
#define SUSI_ID_HWM_VOLTAGE_1V8					0x00021016
Description
Board voltage value ID, use in SusiBoardGetValue.

#define SUSI_ID_HWM_FAN_CPU					0x00022000
#define SUSI_ID_HWM_FAN_SYSTEM					0x00022001
#define SUSI_ID_HWM_FAN_CPU2					0x00022002
#define SUSI_ID_HWM_FAN_OEM0					0x00022003
#define SUSI_ID_HWM_FAN_OEM1					0x00022004
#define SUSI_ID_HWM_FAN_OEM2					0x00022005
#define SUSI_ID_HWM_FAN_OEM3					0x00022006
#define SUSI_ID_HWM_FAN_OEM4					0x00022007
#define SUSI_ID_HWM_FAN_OEM5					0x00022008
#define SUSI_ID_HWM_FAN_OEM6					0x00022009
Description
Board fan speed value ID, use in SusiBoardGetValue and Smart Fan Functions.

#define SUSI_ID_HWM_CURRENT_OEM0				0x00023000
#define SUSI_ID_HWM_CURRENT_OEM1				0x00023001
#define SUSI_ID_HWM_CURRENT_OEM2				0x00023002
Description
Board current value ID, use in SusiBoardGetValue.

#define SUSI_ID_SMBUS_SUPPORTED					0x00030000
#define SUSI_ID_I2C_SUPPORTED					0x00030100
Description
Board supported information value ID, use in SusiBoardGetValue.

#define SUSI_ID_SMBUS_EXTERNAL					0
#define SUSI_ID_SMBUS_OEM0					1
#define SUSI_ID_SMBUS_OEM1					2
#define SUSI_ID_SMBUS_OEM2					3
#define SUSI_ID_SMBUS_OEM3					4
Description
SMBus device ID, use in SMBus Functions.

#define SUSI_ID_I2C_EXTERNAL					0
#define SUSI_ID_I2C_OEM0					1
#define SUSI_ID_I2C_OEM1					2
#define SUSI_ID_I2C_OEM2					3
Description
I2C device ID, use in I2C Functions.

#define SUSI_ID_GPIO(GPIO_NUM)					(GPIO_NUM)
#define SUSI_ID_GPIO_BANK(BANK_NUM)				(0x00010000 + BANK_NUM)
Description
GPIO device ID, use in GPIO Functions.

#define SUSI_ID_BACKLIGHT_1					0
#define SUSI_ID_BACKLIGHT_2					1
#define SUSI_ID_BACKLIGHT_3					2
Description
Backlight device ID, use in Backlight Functions.

#define SUSI_ID_STORAGE_STD					0x00000000
#define SUSI_ID_STORAGE_OEM0					0x00000001
#define SUSI_ID_STORAGE_OEM1					0x00000002
Description
Storage device ID, use in Storage Functions.

#define SUSI_ID_THERMAL_PROTECT_1				0
#define SUSI_ID_THERMAL_PROTECT_2				1
#define SUSI_ID_THERMAL_PROTECT_3				2
#define SUSI_ID_THERMAL_PROTECT_4				3
Description
Thermal protection device ID, use in Thermal Protection Functions

#define SUSI_ID_WATCHDOG_1					0
#define SUSI_ID_WATCHDOG_2					1
#define SUSI_ID_WATCHDOG_3					2
Description
Watchdog device ID, use in Watchdog Functions.

2.3 Item ID

#define SUSI_ID_I2C_MAXIMUM_BLOCK_LENGTH			0x00000000
Description
Watchdog capabilities item ID, use in SusiI2CGetCaps.

#define SUSI_ID_GPIO_INPUT_SUPPORT				0x00000000
#define SUSI_ID_GPIO_OUTPUT_SUPPORT				0x00000001
Description
GPIO capabilities item ID, use in SusiGPIOGetCaps.

#define SUSI_ID_VGA_BRIGHTNESS_MAXIMUM				0x00010000
#define SUSI_ID_VGA_BRIGHTNESS_MINIMUM				0x00010001
Description
VGA capabilities item ID, use in SusiVgaGetCaps.

#define SUSI_ID_STORAGE_TOTAL_SIZE				0x00000000
#define SUSI_ID_STORAGE_BLOCK_SIZE				0x00000001
#define SUSI_ID_STORAGE_LOCK_STATUS				0x00010000
#define SUSI_ID_STORAGE_PSW_MAX_LEN				0x00010000
Description
Storage capabilities item ID, use in SusiStorageGetCaps.

#define SUSI_ID_WDT_SUPPORT_FLAGS				0x00000000
#define SUSI_ID_WDT_DELAY_MAXIMUM				0x00000001
#define SUSI_ID_WDT_DELAY_MINIMUM				0x00000002
#define SUSI_ID_WDT_EVENT_MAXIMUM				0x00000003
#define SUSI_ID_WDT_EVENT_MINIMUM				0x00000004
#define SUSI_ID_WDT_RESET_MAXIMUM				0x00000005
#define SUSI_ID_WDT_RESET_MINIMUM				0x00000006
#define SUSI_ID_WDT_UNIT_MINIMUM				0x0000000F
#define SUSI_ID_WDT_DELAY_TIME					0x00010001
#define SUSI_ID_WDT_EVENT_TIME					0x00010002
#define SUSI_ID_WDT_RESET_TIME					0x00010003
#define SUSI_ID_WDT_EVENT_TYPE					0x00010004
Description
Watchdog capabilities item ID, use in SusiWDogGetCaps.

#define SUSI_ID_FC_CONTROL_SUPPORT_FLAGS			0x00000000
#define SUSI_ID_FC_AUTO_SUPPORT_FLAGS				0x00000001
Description
Fan control capabilities item ID, use in SusiFanControlGetCaps.

#define SUSI_ID_TP_EVENT_SUPPORT_FLAGS				0x00000000
#define SUSI_ID_TP_EVENT_TRIGGER_MAXIMUM			0x00000001
#define SUSI_ID_TP_EVENT_TRIGGER_MINIMUM			0x00000002
#define SUSI_ID_TP_EVENT_CLEAR_MAXIMUM				0x00000003
#define SUSI_ID_TP_EVENT_CLEAR_MINIMUM				0x00000004
Description
Thermal protection capabilities item ID, use in SusiThermalProtectionGetCaps.

3 SUSI API

The SUSI APIs provide functions to control ADVANTECH platforms. SUSI API functions are based on a dynamic library. SUSI API can be implemented in various other programming languages.

3.1 Initialization Functions

3.1.1 SusiLibInitialize

uint32_t SUSI_API SusiLibInitialize(void)
Description:
General initialization of the SUSI API. Prior to calling any SUSI API functions, the library needs to be initialized by calling this function. The status code for all SUSI API function will be SUSI_STATUS_NOT_INITIALIZED unless this function is called.

 

 

Parameters:
None

 

 

Return Status Code:
<tbody> </tbody>

Condition

Return Value

Library initialized

SUSI_STATUS_INITIALIZED

Fail

SUSI_STATUS_NOT_INITIALIZED

Success

SUSI_STATUS_SUCCESS

 

3.1.2 SusiLibUninitialize

uint32_t SUSI_API SusiLibUninitialize(void)
Description:
General function to uninitialize the SUSI API library that should be called before program exit.

 

 

Parameters:
None

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.2 Information Functions

3.2.1 SusiBoardGetValue

uint32_t SUSI_API SusiBoardGetValue(uint32_t Id, uint32_t *pValue)
Description:
Getting information about the hardware platform in value format.

 

 

Parameters:
Id
Selects target value. See Table 1 to Table 5.

 

pValue
Pointer to a buffer that receives the value's data.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 1 Board information value ID
<tbody> </tbody>
<tbody>

Id

Description

Unit

SUSI_ID_GET_SPEC_VERSION

API Specification Version

 

SUSI_ID_BOARD_BOOT_COUNTER_VAL

Boot Counter

boot

SUSI_ID_BOARD_RUNNING_TIME_METER_VAL

Running Time Meter

hour

SUSI_ID_BOARD_PNPID_VAL

Board Vendor PNPID

 

SUSI_ID_BOARD_PLATFORM_REV_VAL

Platform revision

 

SUSI_ID_BOARD_DRIVER_VERSION_VAL

Driver version

 

SUSI_ID_BOARD_LIB_VERSION_VAL

Library version

 

SUSI_ID_BOARD_FIRMWARE_VERSION_VAL

Firmware version

 

</tbody>

 

Table 2 Board voltage value ID
<tbody> </tbody>
<tbody>

Id

Description

Unit

SUSI_ID_HWM_VOLTAGE_VCORE

CPU Core voltage

millivolt

SUSI_ID_HWM_VOLTAGE_VCORE2 

Second CPU Core voltage

millivolt

SUSI_ID_HWM_VOLTAGE_2V5

2.5V

millivolt

SUSI_ID_HWM_VOLTAGE_3V3

3.3V

millivolt

SUSI_ID_HWM_VOLTAGE_5V

5V

millivolt

SUSI_ID_HWM_VOLTAGE_12V

12V

millivolt

SUSI_ID_HWM_VOLTAGE_5VSB      

5V Standby

millivolt

SUSI_ID_HWM_VOLTAGE_3VSB

3V Standby

millivolt

SUSI_ID_HWM_VOLTAGE_VBAT

CMOS Battery voltage

millivolt

SUSI_ID_HWM_VOLTAGE_5NV

-5V

millivolt

SUSI_ID_HWM_VOLTAGE_12NV

-12V

millivolt

SUSI_ID_HWM_VOLTAGE_VTT

DIMM voltage

millivolt

SUSI_ID_HWM_VOLTAGE_24V

24V

millivolt

SUSI_ID_HWM_VOLTAGE_OEM0~3

Other voltages

millivolt

</tbody>

 

Table 3 Board temperature value ID
<tbody> </tbody>
<tbody>

Id

Description

Unit

SUSI_ID_HWM_TEMP_CPU

CPU temperature

0.1 Kelvin

SUSI_ID_HWM_TEMP_CHIPSET

Chipset temperature

0.1 Kelvin

SUSI_ID_HWM_TEMP_SYSTEM

System temperature

0.1 Kelvin

SUSI_ID_HWM_TEMP_CPU2

CPU2 temperature

0.1 Kelvin

SUSI_ID_HWM_TEMP_OEM0~5

Other temperatures

0.1 Kelvin

</tbody>

 

Table 4 Board fan speed value ID
<tbody> </tbody>
<tbody>

Id

Description

Unit

SUSI_ID_HWM_FAN_CPU

CPU fan speed

RPM

SUSI_ID_HWM_FAN_SYSTEM

System fan speed

RPM

SUSI_ID_HWM_FAN_CPU2

Second CPU fan speed

RPM

SUSI_ID_HWM_FAN_OEM0~6

Other fans

RPM

</tbody>

 

Table 5 Board support information value ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_SMBUS_SUPPORTED

Mask flags:

SUSI_SMBUS_EXTERNAL_SUPPORTED

SUSI_SMBUS_OEM0_SUPPORTED

SUSI_SMBUS_OEM1_SUPPORTED

SUSI_SMBUS_OEM2_SUPPORTED

SUSI_SMBUS_OEM3_SUPPORTED

SUSI_ID_I2C_SUPPORTED

Mask flags:

SUSI_ I2C_EXTERNAL_SUPPORTED

SUSI_ I2C_OEM0_SUPPORTED

SUSI_ I2C_OEM1_SUPPORTED

SUSI_ I2C_OEM2_SUPPORTED

</tbody>

3.2.2 SusiBoardGetStringA

uint32_t SUSI_API SusiBoardGetStringA(uint32_t Id, char *pBuffer, uint32_t *pBufLen)
Description:
Text information about the hardware platform.

 

 

Parameters:
Id
Selects target string. See Table 6.

 

pBuffer
Pointer to a buffer that receives the value's data.

 

pBufLen
Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the pBuffer parameter. When the function returns, this variable contains the size of the data copied to pBuffer including the terminating null character.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBufLen==NULL

SUSI _STATUS_INVALID_PARAMETER

pBufLen!=NULL&&*pBufLen&&pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

strlength + 1 > *pBufLen

SUSI_STATUS_MORE_DATA

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 6 Board information string ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_BOARD_MANUFACTURER_STR

Board Manufacturer Name

SUSI_ID_BOARD_NAME_STR

Board Name

SUSI_ID_BOARD_REVISION_STR

Board Revision

SUSI_ID_BOARD_SERIAL_STR

Board Serial Number

SUSI_ID_BOARD_BIOS_REVISION_STR

Board BIOS Revision

SUSI_ID_BOARD_HW_REVISION_STR

Hardware Revision

SUSI_ID_BOARD_PLATFORM_TYPE_STR

Platform type

SUSI_ID_BOARD_EC_FW_STR

EC FW

</tbody>

3.3 Backlight Functions

This function sub set facilitates backlight control for Integrated flat panel displays, typically LVDS.

Table 7 Backlight ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_BACKLIGHT_1

Backlight Local Flat Panel 1

SUSI_ID_BACKLIGHT_2

Backlight Local Flat Panel 2

SUSI_ID_BACKLIGHT_3

Backlight Local Flat Panel 3

</tbody>
Table 8 Backlight Enable Values
<tbody> </tbody>
<tbody>

Name

Description

SUSI_BACKLIGHT_SET_ON

Signifies that the Backlight be Enabled

SUSI_BACKLIGHT_SET_OFF

Signifies that the Backlight be Disabled

</tbody>

3.3.1 SusiVgaGetCaps

uint32_t SUSI_API SusiVgaGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue);
Description:
Gets VGA capabilities.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

ItemId
Selects target capability. See Table 9.

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id or ItemId

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
Table 9 VGA capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_VGA_BRIGHTNESS_MAXIMUM

Maximum backlight value

SUSI_ID_VGA_BRIGHTNESS_MINIMUM

Minimum backlight value

</tbody>

3.3.2 SusiVgaGetBacklightEnable

uint32_t SUSI_API SusiVgaGetBacklightEnable(uint32_t Id, uint32_t *pEnable)
Description:
Gets current Backlight Enable state for specified Flat Panel.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

pEnable
Pointer to a buffer that receives the current backlight enable state. See Table 8.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pEnable==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.3.3 SusiVgaSetBacklightEnable

uint32_t SUSI_API SusiVgaSetBacklightEnable(uint32_t Id, uint32_t Enable)
Description:
Enables or disable the backlight of the selected flat panel display

 

 

Parameters:
Id
Selects target device. See Table 7.

 

Enable
Backlight Enable options. See Table 8.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.3.4 SusiVgaGetBacklightBrightness

uint32_t SUSI_API SusiVgaGetBacklightBrightness(uint32_t Id, uint32_t *pBright)
Description:
Reads the current brightness of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

pBright
Pointer to a buffer that receives the current backlight brightness value.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBright==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.3.5 SusiVgaSetBacklightBrightness

uint32_t SUSI_API SusiVgaSetBacklightBrightness(uint32_t Id, uint32_t Bright)
Description:
Reads the current brightness of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

Bright
Backlight Brightness value.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Bright > MAX value || Bright < MIN value

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.3.6 SusiVgaGetBacklightLevel

uint32_t SUSI_API SusiVgaGetBacklightLevel(uint32_t Id, uint32_t *pLevel)
Description:
Reads the current brightness level of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

pLevel
Pointer to a buffer that receives the current backlight brightness level. See Table 10.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pLevel==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
Table 10 Brightness level range definition
<tbody> </tbody>
<tbody>

Name

Description

SUSI_BACKLIGHT_LEVEL_MAXIMUM

Maximum backlight level is 9

SUSI_BACKLIGHT_LEVEL_MINIMUM

Minimum backlight level is 0

</tbody>

3.3.7 SusiVgaSetBacklightLevel

uint32_t SUSI_API SusiVgaSetBacklightLevel(uint32_t Id, uint32_t Level)
Description:
Sets the brightness level of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

Level
Backlight Brightness level. See Table 10.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Level>SUSI_BACKLIGHT_LEVEL_MAXIMUM

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.3.8 SusiVgaGetPolarity

uint32_t SUSI_API SusiVgaGetPolarity(uint32_t Id, uint32_t *pPolarity)
Description:
Reads the current backlight polarity of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

pPolarity
Pointer to a buffer that receives the current backlight polarity. See Table 11.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pPolarity==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
Table 11 Brightness polarity definition
<tbody> </tbody>
<tbody>

Name

Description

SUSI_BACKLIGHT_POLARITY_ON

Backlight signal polarity ON 

SUSI_BACKLIGHT_ POLARITY_OFF

Backlight signal polarity OFF

</tbody>

3.3.9 SusiVgaSetPolarity

uint32_t SUSI_API SusiVgaSetPolarity(uint32_t Id, uint32_t Polarity)
Description:
Sets the polarity of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

Polarity
Polarity state. See Table 11.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.3.10 SusiVgaGetFrequency

uint32_t SUSI_API SusiVgaGetFrequency(uint32_t Id, uint32_t *pFrequency)
Description:
Reads the current backlight frequency of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

pFrequency
Pointer to a buffer that receives the current backlight frequency. (Unit: Hz)

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pFrequency==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.3.11SusiVgaSetFrequency

uint32_t SUSI_API SusiVgaSetFrequency(uint32_t Id, uint32_t Frequency)
Description:
Sets the frequency of the selected flat panel display.

 

 

Parameters:
Id
Selects target device. See Table 7.

 

Polarity
Frequency value. (Unit: Hz)

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.4 I2C Functions

I2C APIs support standard 7 and 10 bits slave address mode. I2C APIs also support word command, it needs encode before set to parameter, see Table 13

Table 12 I2C ID
<tbody> </tbody>
<tbody>
<tbody>

Id

Description

SUSI_ID_I2C_EXTERNAL

Main I2C host device

SUSI_ID_I2C_OEM0~2

Other I2C host devices

</tbody>
</tbody>

 

Table 13 I2C command encode
<tbody> </tbody>
<tbody>
<tbody>

Type

Description

Standard command

Byte command

Extend command

Word command | 0x80000000

Ex. 0x8000FABC

No command

0x4000xxxx, ignore command parameter

</tbody>
</tbody>

 

3.4.1 SusiI2CGetCaps

uint32_t SUSI_API SusiI2CGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)
Description:
Gets I2C capabilities.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

ItemId
Selects target capability. See Table 14.

 

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id or ItemId

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>
Table 14 I2C capabilities item Id
<tbody> </tbody>
<tbody>
<tbody>

Item Id

Description

SUSI_ID_I2C_MAXIMUM_BLOCK_LENGTH

I2C maximum block length

 

 

</tbody>
</tbody>

 

3.4.2 SusiI2CWriteReadCombine

uint32_t SUSI_API SusiI2CWriteReadCombine(uint32_t Id, uint8_t Addr, uint8_t *pWBuffer, uint32_t WriteLen, uint8_t *pRBuffer, uint32_t ReadLen)
Description:
Universal function for read and write operations to the I2C bus.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

Addr
First byte of I2C device address. 7-bit address only

 

 

pWBuffer
Pointer to a buffer containing the data to be transferred. This parameter can be NULL if the data is not required.

 

 

WriteLen
Size in bytes of the information pointed to by the pWBuffer parameter. If pWBuffer is NULL this will be ignored.

 

 

pRBuffer
Pointer to a buffer that receives the read data. This parameter can be NULL if the data is not required.

 

 

 

 

ReadLen
Size in bytes of the buffer pointed to by the pRBuffer parameter. If pRBuffer is NULL this will be ignored.

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

(WriteLen>1)&&(pWBuffer==NULL)

SUSI _STATUS_INVALID_PARAMETER

(RBufLen>1)&&(pRBuffer==NULL)

SUSI _STATUS_INVALID_PARAMETER

(WriteLen==0)&&(RBufLen==0)

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

 

3.4.3 SusiI2CReadTransfer

uint32_t SUSI_API SusiI2CReadTransfer(uint32_t Id, uint32_t Addr, uint32_t Cmd, uint8_t *pBuffer, uint32_t ReadLen)
Description:
Reads from a specific register in the selected I2C device. Reads from I2C device at the I2C address Addr the amount of ReadLen bytes to the buffer pBuffer while using the device specific command Cmd. Depending on the addressed I2C device Cmd can be a specific command or a byte offset.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

Addr
Encoded 7/10 Bit I2C Device Address.

 

 

Cmd
Encoded I2C Device Command / Index. See Table 13.

 

 

pBuffer
Pointer to a buffer that receives the read data.

 

 

ReadLen
Size in bytes of the buffer pointed to by the pBuffer parameter.

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || ReadLen==0

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

 

3.4.4 SusiI2CWriteTransfer

uint32_t SUSI_API SusiI2CWriteTransfer(uint32_t Id, uint32_t Addr, uint32_t Cmd, uint8_t *pBuffer, uint32_t ByteCnt)
Description:
Write to a specific register in the selected I2C device. Writes to an I2C device at the I2C address Addr the amount of ByteCnt bytes from the buffer *pBuffer while using the device specific command Cmd. Depending on the addressed I2C device Cmd can be a specific command or a byte offset

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

Addr
Encoded 7/10 Bit I2C Device Address.

 

 

Cmd
Encoded I2C Device Command / Index. See Table 13.

 

 

pBuffer
Pointer to a buffer that receives the write data.

 

 

ByteCnt
Size in bytes of the buffer pointed to by the pBuffer parameter.

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || ByteCnt==0

SUSI _STATUS_INVALID_PARAMETER

ByteCnt > MaxLength

SUSI_STATUS_INVALID_BLOCK_LENGTH

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

 

3.4.5 SusiI2CProbeDevice

uint32_t SUSI_API SusiI2CProbeDevice(uint32_t Id, uint32_t Addr)
Description:
Probes I2C address to test I2C device present.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

Addr
Encoded 7/10 Bit I2C Device Address.

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

3.4.6 SusiI2CGetFrequency

uint32_t SUSI_API SusiI2CGetFrequency(uint32_t Id, uint32_t *pFreq)
Description:
Get I2C clock frequency.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

pFreq
Pointer to a buffer that receives the I2C clock frequency value. (Unit: Hz)

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

pFreq == NULL

SUSI _STATUS_INVALID_PARAMETER

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

3.4.7 SusiI2CSetFrequency

uint32_t SUSI_API SusiI2CSetFrequency(uint32_t Id, uint32_t Freq)
Description:
Set I2C clock frequency.

 

 

 

Parameters:
Id
Selects target device. See Table 12.

 

 

Freq
I2C clock frequency value. (Unit: Hz)

 

 

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
</tbody>

3.5 SMBus Functions

SMBus is the System Management Bus defined by Intel® Corporation in 1995. It is used in personal computers and servers for low-speed system management communications.

Table 15 SMBus ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_ SMBUS _EXTERNAL

Main SMBus host device

SUSI_ID_SMBUS_OEM0~3

Other SMBus host devices

</tbody>

 

3.5.1 SusiSMBReadByte

uint32_t SUSI_API SusiSMBReadByte(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t *pData)
Description:
Read a byte of data from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to read data from.

 

pData
Pointer to a variable in which the function reads the byte data.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pData==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.2 SusiSMBWriteByte

uint32_t SUSI_API SusiSMBWriteByte(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t Data)
Description:
Write a byte of data to the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to write data to.

 

Data
Specifies the byte data to be written.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.3 SusiSMBReadWord

uint32_t SUSI_API SusiSMBReadWord(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint16_t *pData)
Description:
Read a word of data from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to read data from.

 

pData
Pointer to a variable in which the function reads the word data.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pData==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.4 SusiSMBWriteWord

uint32_t SUSI_API SusiSMBWriteWord(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint16_t Data)
Description:
Write a word of data to the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to write data to.

 

Data
Specifies the word data to be written.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.5 SusiSMBReceiveByte

uint32_t SUSI_API SusiSMBReceiveByte(uint32_t Id, uint8_t Addr, uint8_t *pData)
Description:
Receive a byte of data from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

pData
Pointer to a variable in which the function receive the byte data.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.6 SusiSMBSendByte

uint32_t SUSI_API SusiSMBSendByte(uint32_t Id, uint8_t Addr, uint8_t Data)
Description:
Send a byte of data to the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Data
Specifies the word data to be sent.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.7 SusiSMBReadQuick

uint32_t SUSI_API SusiSMBReadQuick(uint32_t Id, uint8_t Addr)
Description:
Turn SMBus device function off (on) or disable (enable) a specific device mode.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Success

SUSI_STATUS_SUCCESS

</tbody>

3.5.8 SusiSMBWriteQuick

uint32_t SUSI_API SusiSMBWriteQuick(uint32_t Id, uint8_t Addr)
Description:
Turn SMBus device function off (on) or disable (enable) a specific device mode.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.9 SusiSMBReadBlock

uint32_t SUSI_API SusiSMBReadBlock(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t *pBuffer, uint32_t *pLength)
Description:
Read multi-data from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to read data from.

 

pBuffer
Pointer to a byte array in which the function reads the block data.

 

pLength
Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.10 SusiSMBWriteBlock

uint32_t SUSI_API SusiSMBWriteBlock(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t *pBuffer, uint32_t Length)
Description:
Write multi-data from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to write data to.

 

pBuffer
Pointer to a byte array in which the function writes the block data.

 

Length
Specifies the number of bytes to be write.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.11 SusiSMBI2CReadBlock

uint32_t SUSI_API SusiSMBI2CReadBlock(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t *pBuffer, uint32_t *pLength)
Description:
Read multi-data using I2C block protocol from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to read data from.

 

pBuffer
Pointer to a byte array in which the function reads the block data.

 

pLength
Pointer to a byte in which specifies the number of bytes to be read and also return succeed bytes.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.5.12 SusiSMBI2CWriteBlock

uint32_t SUSI_API SusiSMBI2CWriteBlock(uint32_t Id, uint8_t Addr, uint8_t Cmd, uint8_t *pBuffer, uint32_t Length)
Description:
Write multi-data using I2C block protocol from the target slave device in the SMBus.

 

 

Parameters:
Id
Selects target device. See Table '15'.

 

Addr
Specifies the 8-bit device address, ranging from 0x00 to 0xFF. Whether to give a 1 (read) or 0 (write) to the LSB of slave address could be ignored.

 

Cmd
Specifies the offset or command of the device register to write data to.

 

pBuffer
Pointer to a byte array in which the function writes the block data.

 

Length
Specifies the number of bytes to be write.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device unsupported

SUSI _STATUS_UNSUPPORTED

Bus Busy SDA/SDC low

SUSI_STATUS_BUSY_COLLISION

Arbitration Error/Collision Error

On Write 1 write cycle

SDA Remains low

SUSI_STATUS_BUSY_COLLISION

Time-out due to clock stretching

SUSI_STATUS_TIMEOUT

Address Non-ACK

SUSI_STATUS_NOT_FOUND

Write Non-ACK

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

3.6 Watchdog Functions

After the watchdog timer has been start function it must be triggered within (Delay + Event Timeout) milliseconds as set with the start function, following the initial trigger every subsequent trigger must occur within (Event Timeout) milliseconds. Should trigger not be called within the relevant time limit a system reset will occur. The SUSI watchdog timer may support two stages. If the watchdog is not triggered within the event timeout, an NMI, IRQ, or hardware output will be generated. Then the reset timeout becomes active. If the watchdog timer is not triggered within the reset timeout a reset will be generated

Initial timing:
<img _fck_mw_filename="Initial timing.png" _fck_mw_origimgheight="121" _fck_mw_origimgwidth="652" alt="RTENOTITLE" src="/wiki/images/9/9e/Initial_timing.png" style="vertical-align:middle;" title="RTENOTITLE" />

 

 

Timing after trigger:
<img _fck_mw_filename="Timing after trigger.png" _fck_mw_origimgheight="127" _fck_mw_origimgwidth="584" alt="RTENOTITLE" src="/wiki/images/a/a4/Timing_after_trigger.png" style="vertical-align:middle;" title="RTENOTITLE" />

 

 

Where:
Stage A
Watchdog is started.

 

Stage B
Initial Delay Period is exhausted.

 

Stage C/F
Event is triggered, NMI, IRQ, or PIN is Triggered. To Allow for possible Software Recovery.

 

Stage D/G
System is reset.

 

Stage E

 

  • Watchdog is Triggered.
  • Trigger / Stop must be called before Stage C/F to prevent event from being generated.
  • Trigger / Stop must be called before Stage D/G to prevent The system from being reset.
Table 16 Watchdog ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_WATCHDOG_1

First watchdog timer

SUSI_ID_WATCHDOG_2

Second watchdog timer

SUSI_ID_WATCHDOG_3

Third watchdog timer

</tbody>

 

3.6.1 SusiWDogGetCaps

uint32_t SUSI_API SusiWDogGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)
Description:
Gets watchdog capabilities.

 

Parameters:
Id
Selects target device. See Table 16.

 

ItemId
Selects target capability. See Table 17.

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id or ItemId

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>
Table 17 Watchdog capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_WDT_SUPPORT_FLAGS

Event support flags (Table 18)

SUSI_ID_WDT_DELAY_MAXIMUM

The maximum delay time value

SUSI_ID_WDT_DELAY_MINIMUM

The minimum delay time value

SUSI_ID_WDT_EVENT_MAXIMUM

The maximum event time value

SUSI_ID_WDT_EVENT_MINIMUM

The minimum event time value

SUSI_ID_WDT_RESET_MAXIMUM

The maximum reset time value

SUSI_ID_WDT_RESET_MINIMUM

The minimum reset time value

SUSI_ID_WDT_UNIT_MINIMUM

The minimum unit value

SUSI_ID_WDT_DELAY_TIME

Current delay time setting

SUSI_ID_WDT_EVENT_TIME

Current event time setting

SUSI_ID_WDT_RESET_TIME

Current reset time setting

SUSI_ID_WDT_EVENT_TYPE

Current event type (Table 19)

</tbody>

 

3.6.2 SusiWDogStart

uint32_t SUSI_API SusiWDogStart(uint32_t Id, uint32_t DelayTime, uint32_t EventTime, uint32_t ResetTime, uint32_t EventType)
Description:
Start the watchdog timer and set the parameters. To adjust the parameters, the watchdog must be stopped and then start again with the new values. If the hardware implementation of the watchdog timer does not allow a setting at the exact time selected, the SUSI API selects the next possible longer timing.

 

 

Parameters:
Id
Selects target device. See Table 16.

 

DelayTime
Initial delay for the watchdog timer in milliseconds.

 

EventTime
Watchdog timeout interval in milliseconds to trigger an event.

 

ResetTime
Watchdog timeout interval in milliseconds to trigger a reset.

 

EventType
To select one kind of event type. See Table 19.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Wrong time range

SUSI _STATUS_INVALID_PARAMETER

Success

SUSI_STATUS_SUCCESS

</tbody>
Table 18 Watchdog Support Flags
<tbody> </tbody>
<tbody>

Flag Name

Description

Value

SUSI_WDT_FLAG_SUPPORT_IRQ

Support IRQ event

0x01

SUSI_WDT_FLAG_SUPPORT_SCI

Support SCI event

0x02

SUSI_WDT_FLAG_SUPPORT_PWRBTN

Support power button event

0x04

</tbody>
Table 19 Watchdog timer event type
<tbody> </tbody>
<tbody>

Event Type

Description

SUSI_WDT_EVENT_TYPE_NONE

No event

SUSI_WDT_EVENT_TYPE_SCI

SCI event

SUSI_WDT_EVENT_TYPE_IRQ

IRQ event

SUSI_WDT_EVENT_TYPE_PWRBTN

Power button event

</tbody>

 

3.6.3 SusiWDogStop

uint32_t SUSI_API SusiWDogStop(uint32_t Id)
Description:
Stops the operation of the watchdog timer.

 

Parameters:
Id
Selects target device. See Table 16.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.6.4 SusiWDogTrigger

uint32_t SUSI_API SusiWDogTrigger(uint32_t Id)
Description:
Trigger the watchdog timer.

 

Parameters:
Id
Selects target device. See Table 16.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.6.5 SusiWDogSetCallBack

uint32_t SUSI_API SusiWDogSetCallBack(uint32_t Id, SUSI_WDT_INT_CALLBACK pfnCallback, void *Context)
Description:
The call back function pointer can be transmit from Application when IRQ triggered.

 

 

Parameters:
Id
Selects target device. See Table 16.

 

pfnCallback
Call back function pointer, SUSI_WDT_INT_CALLBACK is function pointer type, it can set NULL to clear. The type definition just like show below,
typedef void (*SUSI_WDT_INT_CALLBACK)(void*);

 

Context
Pointer to a user context structure for callback function.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.7 GPIO Functions

Programmable GPIO allows developers to dynamically set the GPIO input or output status

 

Table 20 GPIO ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_GPIO(X)

X is GPIO pin number, definition as below:

  1. define SUSI_ID_GPIO(x) (0x0000 | x)

This ID control single pin only.

SUSI_ID_GPIO_BANK(Y)

Y is GPIO bank number, definition as below:

  1. define SUSI_ID_GPIO_BANK(Y) (0x10000 | Y)

This ID control maximum 32 pins per bank.

</tbody>

 

3.7.1 SusiGPIOGetCaps

uint32_t SUSI_API SusiGPIOGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)

 

Description:
Reads the capabilities of the current GPIO implementation from the selected GPIO interface.

 

 

Parameters:
Id
Selects target device. See Table 20.

 

ItemId
Selects target capability. See Table 21.

 

pValue
Pointer to a buffer that receives the target capability. Each bit of the buffer value represents support situation of a GPIO, according to the order. 1 is supportive, and 0 is unsupportive.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 21 GPIO capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_GPIO_INPUT_SUPPORT

Get GPIO input support state

SUSI_ID_GPIO_OUTPUT_SUPPORT

Get GPIO output support state

</tbody>

 

 

3.7.2 SusiGPIOGetDirection

uint32_t SUSI_API SusiGPIOGetDirection(uint32_t Id, uint32_t Bitmask, uint32_t *pDirection)
Description:
Gets the configuration for the selected GPIO ports.

 

 

Parameters:
Id
Selects target device. See Table 20.

 

Bitmask
Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.

 

pDirection
Pointer to a buffer that receives the direction of the selected GPIO ports. (0 means output and 1 means input)

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pDirection==NULL

SUSI _STATUS_INVALID_PARAMETER

Bitmask==0 when bank mode

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.7.3 SusiGPIOSetDirection

uint32_t SUSI_API SusiGPIOSetDirection(uint32_t Id, uint32_t Bitmask, uint32_t Direction)

 

Description:
Sets the configuration for the selected GPIO ports.

 

 

 

Parameters:
Id
Selects target device. See Table 20.

 

Bitmask
Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.

 

Direction
Sets the direction of the selected GPIO ports. (0 means output and 1 means input)

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Bitmask==0 when bank mode

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.7.4 SusiGPIOGetLevel

uint32_t SUSI_API SusiGPIOGetLevel(uint32_t Id, uint32_t Bitmask, uint32_t *pLevel)
Description:
Read level the from GPIO ports.

 

 

Parameters:
Id
Selects target device. See Table 20.

 

Bitmask
Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.

 

pLevel
Pointer to a buffer that receives the GPIO level.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pLevel==NULL

SUSI _STATUS_INVALID_PARAMETER

Bitmask==0 when bank mode

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.7.5 SusiGPIOSetLevel

uint32_t SUSI_API SusiGPIOSetLevel(uint32_t Id, uint32_t Bitmask, uint32_t Level)
Description:
Write level to GPIO ports. Depending on the hardware implementation writing multiple GPIO ports with the bit mask option does not guarantee a time synchronous change of the output levels.

 

 

Parameters:
Id
Selects target device. See Table 20.

 

Bitmask
Value for a bit mask. Only selected bits are changed, unselected bits remain unchanged. This parameter will be ignored when single pin mode.

 

Level
Input level of the selected GPIO port.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

Bitmask==0 when bank mode

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

3.8 Smart Fan Functions

The Smart Fan function call is used to set fan speed configuration. You can use this function to easily control the fan speed. It takes a pointer to an instance of structure SusiFanControl, which is defined as follows:

<tbody> </tbody>
<tbody>
#define SUSI_FAN_AUTO_CTRL_OPMODE_PWM 0

#define SUSI_FAN_AUTO_CTRL_OPMODE_RPM 1

typedef struct _AutoFan {

 uint32_t TmlSource; // Thermal source

 uint32_t OpMode;

 uint32_t LowStopLimit; // Temperature (0.1 Kelvins)

 uint32_t LowLimit; // Temperature (0.1 Kelvins)

 uint32_t HighLimit; // Temperature (0.1 Kelvins)

 uint32_t MinPWM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_PWM

 uint32_t MaxPWM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_PWM

 uint32_t MinRPM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_RPM

 uint32_t MaxRPM; // Enable when OpMode == FAN_AUTO_CTRL_OPMODE_RPM

} AutoFan , *PAutoFan&amp;nbsp;;



// Mode

#define SUSI_FAN_CTRL_MODE_OFF 0

#define SUSI_FAN_CTRL_MODE_FULL 1

#define SUSI_FAN_CTRL_MODE_MANUAL 2

#define SUSI_FAN_CTRL_MODE_AUTO 3

typedef struct _SusiFanControl {

 uint32_t Mode;

 uint32_t PWM; // Manual mode only (0 - 100%)

 AutoFan AutoControl; // Auto mode only

} SusiFanControl, *PSusiFanControl;
</tbody>

If Mode member of SusiFanControl is not Auto, AutoControl member will be ignored. In auto mode, parameter “TmlSource” is use SUSI_ID_HWM_TEMP_XXX (Table 3) to select which thermal type to reference. If TmlSource is not match any temperature ID means unknown or unsupported.

 

3.8.1 SusiFanControlGetCaps

uint32_t SUSI_API SusiFanControlGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)
Description:
Gets fan control capabilities.

 

 

Parameters:
Id
Smart fan ID is same as Fan Speed Value ID. See Table 4.

 

ItemId
Selects target capability. See Table 22. This parameter can also input temperature ID (Table 3) to get is it supports in SusiFanControl function.

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id or ItemId

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 22 Fan control capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_FC_CONTROL_SUPPORT_FLAGS

Control support flags (See Table 23)

SUSI_ID_FC_AUTO_SUPPORT_FLAGS

Auto support flags (See Table 24)

</tbody>

 

Table 23 Control Support Flags
<tbody> </tbody>
<tbody>

Flag Name

Description

Value

SUSI_FC_FLAG_SUPPORT_OFF_MODE

Support off mode

0x01

SUSI_FC_FLAG_SUPPORT_FULL_MODE

Support full mode

0x02

SUSI_FC_FLAG_SUPPORT_MANUAL_MODE

Support manual mode

0x04

SUSI_FC_FLAG_SUPPORT_AUTO_MODE

Support auto mode

More detail to get Auto Support Flags

0x08

</tbody>

 

Table 24 Auto Support Flags
<tbody> </tbody>
<tbody>

Flag Name

Description

Value

SUSI_FC_FLAG_SUPPORT_AUTO_LOW_STOP

Auto mode support Low Stop

0x01

SUSI_FC_FLAG_SUPPORT_AUTO_LOW_LIMIT

Auto mode support Low Limit

0x02

SUSI_FC_FLAG_SUPPORT_AUTO_HIGH_LIMIT

Auto mode support High Limit

0x04

SUSI_FC_FLAG_SUPPORT_AUTO_PWM

Auto mode support PWM operation

0x0100

SUSI_FC_FLAG_SUPPORT_AUTO_RPM

Auto mode support RPM operation

0x0200

</tbody>

 

3.8.2 SusiFanControlGetConfig

uint32_t SUSI_API SusiFanControlGetConfig(uint32_t Id, SusiFanControl *pConfig)
Description:
Get information about smart fan function mode and configuration.

 

 

Parameters:
Id
Smart fan ID is same as Fan Speed Value ID. See Table 4.

 

pConfig
Pointer to the smart fan function configuration.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pConfig==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device not support smart mode

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.8.3 SusiFanControlSetConfig

uint32_t SUSI_API SusiFanControlSetConfig(uint32_t Id, SusiFanControl *pConfig)
Description:
Set smart fan function mode and configuration.

 

 

 

Parameters:
Id
Smart fan ID is same as Fan Speed Value ID. See Table 4.

 

pConfig
Pointer to the smart fan function configuration.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pConfig==NULL

SUSI _STATUS_INVALID_PARAMETER

Wrong configuration

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.9 Storage Functions

Access storage information and read / write data to the selected user data area. Developers can use this area to store their own data.

 

Table 25 Storage ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_STORAGE_STD

Standard storage device

SUSI_ID_STORAGE_OEM0~1

Other storage devices

</tbody>

 

3.9.1 SusiStorageGetCaps

uint32_t SUSI_API SusiStorageGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)

 

Description:
Reads the capabilities of the current storage implementation from the selected storage interface.

 

 

Parameters:
Id
Selects target device. See Table 25.

 

ItemId
Selects target capability. See Table 26.

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device not support

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 26 Storage capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_STORAGE_TOTAL_SIZE

Get storage total size in bytes

SUSI_ID_STORAGE_BLOCK_SIZE

Get storage block size in bytes

SUSI_ID_STORAGE_LOCK_STATUS

Get storage lock status. See Table 27.

SUSI_ID_STORAGE_PSW_MAX_LEN

Get maximum length in byte of storage lock key

</tbody>

 

Table 27 Storage Lock Status
<tbody> </tbody>
<tbody>

Lock Status

Description

SUSI_STORAGE_STATUS_LOCK

Storage is lock

SUSI_STORAGE_STATUS_UNLOCK

Storage is unlock

</tbody>

 

3.9.2 SusiStorageAreaRead

uint32_t SUSI_API SusiStorageAreaRead(uint32_t Id, uint32_t Offset, uint8_t *pBuffer, uint32_t BufLen)
Description:
Reads data from the selected user data area.

 

 

Parameters:
Id
Selects target device. See Table 25.

 

Offset
Storage area start address offset in bytes.

 

pBuffer
Size in bytes of the buffer pointed to by the pBuffer parameter.

 

BufLen
Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || BufLen==0

SUSI _STATUS_INVALID_PARAMETER

Offset+BufLen>TotalSize

SUSI_STATUS_INVALID_BLOCK_LENGTH

Unknown Id

SUSI _STATUS_UNSUPPORTED

Read error

SUSI_STATUS_READ_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.9.3 SusiStorageAreaWrite

uint32_t SUSI_API SusiStorageAreaWrite(uint32_t Id, uint32_t Offset, uint8_t *pBuffer, uint32_t BufLen)
Description:
Writes data to the selected user data area.

 

 

Parameters:
Id
Selects target device. See Table 25.

 

Offset
Storage area start address offset in bytes.

 

pBuffer
Size in bytes of the buffer pointed to by the pBuffer parameter.

 

BufLen
Size in bytes of the information read to the buffer pointed to by the pBuffer parameter.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || BufLen==0

SUSI _STATUS_INVALID_PARAMETER

Offset+BufLen>TotalSize

SUSI_STATUS_INVALID_BLOCK_LENGTH

Unknown Id

SUSI _STATUS_UNSUPPORTED

Write error

SUSI_STATUS_WRITE_ERROR

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.9.4 SusiStorageAreaSetLock

uint32_t SUSI_API SusiStorageAreaSetLock(uint32_t Id, uint8_t *pBuffer, uint32_t BufLen)
Description:
Lock a storage area for write protect.

 

 

Parameters:
Id
Selects target device. See Table 25.

 

pBuffer
Lock of key buffer.

 

BufLen
Number of key buffer

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || BufLen==0

SUSI _STATUS_INVALID_PARAMETER

Lock error

SUSI_STATUS_WRITE_ERROR

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device not support

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.9.5 SusiStorageAreaSetUnlock

uint32_t SUSI_API SusiStorageAreaSetUnlock(uint32_t Id, uint8_t *pBuffer, uint32_t BufLen)
Description:
Unlock a storage area for write protect.

 

 

Parameters:
Id
Selects target device. See Table 25.

 

pBuffer
Unlock of key buffer.

 

BufLen
Number of key buffer

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pBuffer==NULL || BufLen==0

SUSI _STATUS_INVALID_PARAMETER

Unlock error

SUSI_STATUS_WRITE_ERROR

Unknown Id

SUSI _STATUS_UNSUPPORTED

Device not support

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.10Thermal Protection Functions

The Thermal Protection function call is used to set hardware base thermal monitoring and notify. It takes a pointer to an instance of structure SusiThermalProtect, which is defined as follows:

<tbody> </tbody>
<tbody>
typedef struct _SusiThermalProtect{

 uint32_t SourceId;

 uint32_t EventType;

 uint32_t SendEventTemperature;

 uint32_t ClearEventTemperature;

} SusiThermalProtect, *PSusiThermalProtect;
</tbody>

 

Where:
SourceId
Setting thermal source ID here. See Table 3.

 

EventType
This byte can set up a thermal protect event, see Table 28. NOT every platform supports all event type.

 

SendEevntTemperature
Unit is 0.1 Kelvins. When thermal source goes over this value, SUSI will send event according Event Type.

 

ClearEventTemperature
Unit is 0.1 Kelvins. When thermal source goes below this value and Event is sent, SUSI will clear event according Event Type

 

 

 

Table 28 Thermal Protection Event Type
<tbody> </tbody>
<tbody>

Event Type Name

Description

Value

SUSI_THERMAL_EVENT_SHUTDOWN

Shutdown event

0x00

SUSI_THERMAL_EVENT_THROTTLE

Throttle event

0x01

SUSI_THERMAL_EVENT_POWEROFF

Power off event

0x02

SUSI_THERMAL_EVENT_NONE

No event

0xFF

</tbody>

 

Table 29 Thermal Protection ID
<tbody> </tbody>
<tbody>

Id

Description

SUSI_ID_THERMAL_PROTECT_1

Thermal protection zone 1

SUSI_ID_THERMAL_PROTECT_2

Thermal protection zone 2

SUSI_ID_THERMAL_PROTECT_3

Thermal protection zone 3

SUSI_ID_THERMAL_PROTECT_4

Thermal protection zone 4

</tbody>

 

3.10.1 SusiThermalProtectionGetCaps

uint32_t SUSI_API SusiThermalProtectionGetCaps(uint32_t Id, uint32_t ItemId, uint32_t *pValue)
Description:
Gets Thermal Protection capabilities.

 

 

Parameters:
Id
Selects target device. See Table 29.

 

ItemId
Selects target capability. See Table 30. This parameter can also input temperature ID (Table 3) to get is it supports in SusiThermalProtection function.

 

pValue
Pointer to a buffer that receives the target capability.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pValue==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id or ItemId

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

Table 30 Thermal Protection capabilities item Id
<tbody> </tbody>
<tbody>

Item Id

Description

SUSI_ID_TP_EVENT_SUPPORT_FLAGS

Event support flags (See Table 31)

SUSI_ID_TP_EVENT_TRIGGER_MAXIMUM

The maximum temperature to trigger event

SUSI_ID_TP_EVENT_TRIGGER_MINIMUM

The minimum temperature to trigger event

SUSI_ID_TP_EVENT_CLEAR_MAXIMUM

The maximum temperature to clear event

SUSI_ID_TP_EVENT_CLEAR_MINIMUM

The minimum temperature to clear event

</tbody>
Table 31 Thermal Protection Support Flags
<tbody> </tbody>
<tbody>

Flag Name

Description

Value

SUSI_THERMAL_FLAG_SUPPORT_SHUTDOWN

Support shutdown event

0x01

SUSI_THERMAL_FLAG_SUPPORT_THROTTLE

Support throttle event

0x02

SUSI_THERMAL_FLAG_SUPPORT_POWEROFF

Support power off event

0x04

</tbody>

 

3.10.2 SusiThermalProtectionSetConfig

uint32_t SUSI_API SusiThermalProtectionSetConfig(uint32_t Id, SusiThermalProtect *pConfig)
Description:
Set Thermal Protection configuration.

 

 

Parameters:
Id
Selects target device. See Table 29.

 

pConfig
A data package for thermal protection.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pConfig==NULL

SUSI _STATUS_INVALID_PARAMETER

Config invalid

SUSI _STATUS_INVALID_PARAMETER

Source Id or event type not support

SUSI _STATUS_UNSUPPORTED

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>

 

3.10.3 SusiThermalProtectionGetConfig

uint32_t SUSI_API SusiThermalProtectionGetConfig(uint32_t Id, SusiThermalProtect *pConfig)
Description:
Get Thermal Protection configuration.

 

 

Parameters:
Id
Selects target device. See Table 29.

 

pConfig
A data package for thermal protection.

 

 

 

Return Status Code:
<tbody> </tbody>
<tbody>

Condition

Return Value

Library uninitialized

SUSI_STATUS_NOT_INITIALIZED

pConfig==NULL

SUSI _STATUS_INVALID_PARAMETER

Unknown Id

SUSI _STATUS_UNSUPPORTED

Success

SUSI_STATUS_SUCCESS

</tbody>