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
26
void
tc_init
(
void
);
27
28
34
void
tc_delay_us
(uint32_t us);
35
41
void
tc_delay_ms
(uint32_t ms);
42
49
void
wdt_disable
(
void
);
50
51
#endif
tc_delay_ms
void tc_delay_ms(uint32_t ms)
Creates a hardware delay in milliseconds.
Definition
tc.c:32
tc_delay_us
void tc_delay_us(uint32_t us)
Creates a hardware delay in microseconds.
Definition
tc.c:23
tc_init
void tc_init(void)
Initializes TC0->Channel0.
Definition
tc.c:12
wdt_disable
void wdt_disable(void)
Disables SAM3X8E watchdog timer.
Definition
tc.c:41
include
hal
tc.h
Generated by
1.16.1