]> rtime.felk.cvut.cz Git - arc.git/blob - examples/pwm_node/Rte/Rte.c
Initial commit.
[arc.git] / examples / pwm_node / Rte / Rte.c
1 /* -------------------------------- Arctic Core ------------------------------
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com
3  *
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
5  *
6  * This source code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published by the
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  * for more details.
14  * -------------------------------- Arctic Core ------------------------------*/
15
16
17
18
19
20
21
22
23 /*\r
24  * RTE.c\r
25  *\r
26  *  Created on: 2009-jul-10\r
27  *      Author: rosa\r
28  */\r
29 \r
30 #include "Pwm.h"\r
31 \r
32 \r
33 void RTE_pwm_sine_update(Pwm_ChannelType channel, Pwm_PeriodType arg){\r
34         Pwm_SetDutyCycle(channel, arg);\r
35 }\r
36 \r
37 \r
38 void RTE_pwm_enable_notifications(Pwm_ChannelType channel, Pwm_EdgeNotificationType type) {\r
39         Pwm_EnableNotification(channel, type);\r
40 }\r