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
20
int
tim1_PWM_init
(
void
);
21
30
int
tim1_CTC_init
(
void
);
31
32
#endif
// INCLUDE_INCLUDE_TIMER_H_
33
tim1_CTC_init
int tim1_CTC_init(void)
Initialize Timer1 in CTC mode on OC1A.
Definition
timer.c:26
tim1_PWM_init
int tim1_PWM_init(void)
Initialize Timer1 for Fast PWM on OC1A.
Definition
timer.c:6
include
timer.h
Generated by
1.15.0