RTEMS  5.0.0
watchdog.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2014 Taller Technologies.
11  *
12  * @author Boretto Martin (martin.boretto@tallertechnologies.com)
13  * @author Diaz Marcos (marcos.diaz@tallertechnologies.com)
14  * @author Lenarduzzi Federico (federico.lenarduzzi@tallertechnologies.com)
15  * @author Daniel Chicco (daniel.chicco@tallertechnologies.com)
16  *
17  * The license and distribution terms for this file may be
18  * found in the file LICENSE in this distribution or at
19  * http://www.rtems.org/license/LICENSE.
20  */
21 
22 #ifndef LIBBSP_ARM_LPC176X_WATCHDOG_H
23 #define LIBBSP_ARM_LPC176X_WATCHDOG_H
24 
25 #include <bsp/watchdog-defs.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30 
39 
43 void lpc176x_watchdog_reset( void );
44 
52 
62  lpc176x_wd_isr_funct interrupt,
64 );
65 
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69 
70 #endif /* LIBBSP_ARM_LPC176X_WATCHDOG_H */
bool lpc176x_been_reset_by_watchdog(void)
Checks if the watchdog was executed by software or not. Set when the watchdog timer times out...
Definition: watchdog.c:29
rtems_status_code lpc176x_watchdog_config_with_interrupt(lpc176x_wd_isr_funct interrupt, lpc176x_microseconds tcount)
Configures the timer watchdog using interrupt.
Definition: watchdog.c:80
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t lpc176x_microseconds
Microseconds representation.
Definition: common-types.h:37
rtems_status_code lpc176x_watchdog_config(lpc176x_microseconds tcount)
Configures the watchdog&#39;s timer.
Definition: watchdog.c:66
void lpc176x_watchdog_reset(void)
Resets the watchdog timer.
Definition: watchdog.c:35
API definitions of the Watchdog driver for the lpc176x bsp in RTEMS.
rtems_interrupt_handler lpc176x_wd_isr_funct
A function that attends an interruption for a watchdog.
Definition: watchdog-defs.h:59