Plant Monitor SAM3X8E
Loading...
Searching...
No Matches
tc.h
Go to the documentation of this file.
1
9
10#ifndef TC_H
11#define TC_H
12
13#include <stdint.h>
14#include "sam3xa.h"
15
16/*================================
17 * Function Declarations
18 *================================*/
19
26void tc_init(void);
27
28
34void tc_delay_us(uint32_t us);
35
41void tc_delay_ms(uint32_t ms);
42
49void wdt_disable(void);
50
51#endif
void tc_delay_ms(uint32_t ms)
Creates a hardware delay in milliseconds.
Definition tc.c:32
void tc_delay_us(uint32_t us)
Creates a hardware delay in microseconds.
Definition tc.c:23
void tc_init(void)
Initializes TC0->Channel0.
Definition tc.c:12
void wdt_disable(void)
Disables SAM3X8E watchdog timer.
Definition tc.c:41