monoZ docs
MZ_gpio_example.h File Reference
#include "MZ_error_handler.h"

Go to the source code of this file.

Functions

mz_error_t gpio_app_init (void)
 Initialize GPIO App and creates the gpio application thread By default it will initialize the gpio3. More...
 

Function Documentation

◆ gpio_app_init()

mz_error_t gpio_app_init ( void  )

Initialize GPIO App and creates the gpio application thread By default it will initialize the gpio3.

Initialize GPIO App and creates the gpio application thread By default it will initialize the GPIO.

Returns
_ret returns the gpio app thread creation status
Note
creates the semaphore to lock the process when multiple processes are in run status
Returns
mz_error_t returns the GPIO app thread creation status
Note
creates the semaphore to lock the process when multiple processes are in run status

Definition at line 161 of file MZ_gpio_example.c.