From d2e42029ec04c3f224580f8007cdfbbfe0fc47a6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Fri, 26 May 2017 18:45:56 +0200 Subject: Initial Commit --- .../doc/html/struct_ucs___i2c___init_data__t.html | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 ucs2-lib/doc/html/struct_ucs___i2c___init_data__t.html (limited to 'ucs2-lib/doc/html/struct_ucs___i2c___init_data__t.html') diff --git a/ucs2-lib/doc/html/struct_ucs___i2c___init_data__t.html b/ucs2-lib/doc/html/struct_ucs___i2c___init_data__t.html new file mode 100644 index 0000000..d8c4d30 --- /dev/null +++ b/ucs2-lib/doc/html/struct_ucs___i2c___init_data__t.html @@ -0,0 +1,141 @@ + + + + + +UNICENS: Ucs_I2c_InitData_t Struct Reference + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
Logo +
UNICENS V2.1.0-3491
+
User Manual and API Reference
+ +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Ucs_I2c_InitData_t Struct Reference
+
+
+ +

The initialization structure of the I2C Module. + More...

+ + + + + +

+Data Fields

Ucs_I2c_IntEventReportCb_t interrupt_status_fptr
 Callback function that reports the I2C interrupt.
 
+

Detailed Description

+

The initialization structure of the I2C Module.

+


+ Example

+
Ucs_InitData_t ucs_init_data;
+
(void)Ucs_SetDefaultConfig(&ucs_init_data)
+
+
// Resources Management init section.
+
ucs_init_data.i2c.interrupt_status_fptr = &App_I2cIntStatusCb;
+
+
// Handle the I2C interrupt event here
+
void App_I2cIntStatusCb (uint16_t node_address, void * user_ptr)
+
{
+
// Do what needs to be..
+
}
+
+
+ + + + + + -- cgit 1.2.3-korg