TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
timer.h
Go to the documentation of this file.
1
8
9#ifndef INCLUDE_INCLUDE_TIMER_H_
10#define INCLUDE_INCLUDE_TIMER_H_
11
20int tim1_PWM_init(void);
21
30int tim1_CTC_init(void);
31
32#endif // INCLUDE_INCLUDE_TIMER_H_
33
int tim1_CTC_init(void)
Initialize Timer1 in CTC mode on OC1A.
Definition timer.c:26
int tim1_PWM_init(void)
Initialize Timer1 for Fast PWM on OC1A.
Definition timer.c:6