DeepPass / mDot_AT_firmware

Dependencies:   MTS-Serial libmDot mbed-rtos mbed-src

Fork of mDot_AT_firmware by MultiTech

Embed: (wiki syntax)

« Back to documentation index

TM_WATCHDOG_Functions

TM_WATCHDOG_Functions
[TM_WATCHDOG]

* * More...

Functions

uint8_t TM_WATCHDOG_Init (uint16_t reloa)
 *
void TM_WATCHDOG_Reset (void)
 *

Detailed Description

* *

Library Functions *


Function Documentation

uint8_t TM_WATCHDOG_Init ( uint16_t  reloa )

*

Initialize Watchdog timer *

Note:
After you initialize it, you can't disable it unless reset occur. *
Parameters:
timeout.Timeout value when watchdog reset happen if not reset by user. * This parameter can be a value of TM_WATCHDOG_Timeout_t enumeration *
Return values:
Valueif system was reset because of watchdog timer

  • 1: Reset happen because of watchdog
    • 0: Otherwise *

Definition at line 112 of file wakeup.c.

void TM_WATCHDOG_Reset ( void   )

*

Reset Watchdog timer *

Note:
This function have to be called periodically to reset watchdog timer, or your system will reset *
Parameters:
None*
Return values:
None

Definition at line 150 of file wakeup.c.