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___gpio___init_data__t.html | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 ucs2-lib/doc/html/struct_ucs___gpio___init_data__t.html (limited to 'ucs2-lib/doc/html/struct_ucs___gpio___init_data__t.html') diff --git a/ucs2-lib/doc/html/struct_ucs___gpio___init_data__t.html b/ucs2-lib/doc/html/struct_ucs___gpio___init_data__t.html new file mode 100644 index 0000000..8b9f3d8 --- /dev/null +++ b/ucs2-lib/doc/html/struct_ucs___gpio___init_data__t.html @@ -0,0 +1,147 @@ + + + + + +UNICENS: Ucs_Gpio_InitData_t Struct Reference + + + + + + + + + + + + + + + +
+
+
+ + + + + + + +
Logo +
UNICENS V2.1.0-3491
+
User Manual and API Reference
+ +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Ucs_Gpio_InitData_t Struct Reference
+
+
+ +

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

+ + + + + +

+Data Fields

Ucs_Gpio_TriggerEventResultCb_t trigger_event_status_fptr
 Callback function that reports trigger events information of the GPIO Port.
 
+

Detailed Description

+

The initialization structure of the GPIO Module.

+


+ Example

+
Ucs_InitData_t ucs_init_data;
+
(void)Ucs_SetDefaultConfig(&ucs_init_data)
+
+
// Resources Management init section.
+
ucs_init_data.gpio.trigger_event_status_fptr = &App_GpioTriggerEventStatusCb;
+
+
+
// Handle the GPIO trigger events here
+
void App_GpioTriggerEventStatusCb(uint16_t node_address,
+
uint16_t gpio_port_handle,
+
uint16_t rising_edges,
+
uint16_t falling_edges,
+
uint16_t levels,
+
void * user_ptr)
+
{
+
// Do what needs to be..
+
}
+
+
+ + + + + + -- cgit 1.2.3-korg