]> rtime.felk.cvut.cz Git - arc.git/blob - boards/ti_tms570ls/examples/tms570_hdk_led/config/IoHwAb_Pwm.h
Added an example of LED Blinker for the TMS570LS31x HDK
[arc.git] / boards / ti_tms570ls / examples / tms570_hdk_led / config / IoHwAb_Pwm.h
1 /*\r
2 * Configuration of module: IoHwAb (IoHwAb_Pwm.h)\r
3 *\r
4 * Created by:              \r
5 * Copyright:               \r
6 *\r
7 * Configured for (MCU):    MPC551x\r
8 *\r
9 * Module vendor:           ArcCore\r
10 * Generator version:       3.1.3\r
11 *\r
12 * Generated by Arctic Studio (http://arccore.com) \r
13 */\r
14 \r
15 #ifndef IOHWAB_PWM_H_
16 #define IOHWAB_PWM_H_
17
18 #if !(((IOHWAB_SW_MAJOR_VERSION == 1) && (IOHWAB_SW_MINOR_VERSION == 0)) )
19 #error IoHwAb: Configuration file expected BSW module version to be 1.0.*
20 #endif
21
22 /****************************************** Pwm outputs *******************************************/\r
23 \r
24 /************************************ Parameterized Pwm output ************************************/\r
25 \r
26 Std_ReturnType IoHwAb_Set_Duty(IoHwAb_SignalType signal, IoHwAb_DutyType duty, IoHwAb_StatusType *status);\r
27 Std_ReturnType IoHwAb_Set_FrequencyAndDuty(IoHwAb_SignalType signal, IoHwAb_FrequencyType frequency, IoHwAb_DutyType duty, IoHwAb_StatusType *status);\r
28 \r
29 /************************************* Pwm validation macros **************************************/\r
30 \r
31 #define IOHWAB_SIGNAL_COUNT_PWM_DUTY_OUTPUT                             0\r
32 #define IOHWAB_SIGNAL_COUNT_PWM_FREQUENCYANDDUTY_OUTPUT 0\r
33 \r
34 #define IOHWAB_SIGNAL_IS_VALID_PWM_DUTY_OUTPUT(signal) \\r
35                 (FALSE)\r
36 \r
37 #define IOHWAB_SIGNAL_IS_VALID_PWM_FREQUENCYANDDUTY_OUTPUT(signal) \\r
38                 (FALSE)\r
39 \r
40
41 #endif /* IOHWAB_PWM_H_ */