sub_gpio_wdt_get |
Top Previous Next |
Got to SUB-20 page |
Synopsis int sub_gpio_wdt_get( sub_handle hndl, int* pto_ms, int* pdir_cfg, int* pout_cfg, unsigned char* pflags )
Read GPIO Watchdog settings and status. Parameters •pto_ms - point to store GPIO Watchdog period in ms. •pdir_cfg - pointor to sotre idle state GPIO direction configuration bits. •out_cfg - pointer to store idle state GPIO output configuration bits. •pflags - pointer to store GPIO Watchdog status flags:
Return value On success function returns 0. Otherwise error code. See also Compatibility
|