| Electronic Components Datasheet Search |
|
AN2618 Datasheet(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2618 Datasheet(HTML) 14 Page - STMicroelectronics |
|
14 / 23 page ![]() Code example 3.etpuc_pwm.c AN2618 14/23 { //This else statement is used to catch all unspecified entery table conditions } } #pragma endlibrary; /* Information exported to Host CPU program */ #pragma write h, (::ETPUfilename (etpu_pwm_auto.h)); #pragma write h, (/* WARNING this file is automatically generated DO NOT EDIT IT! */); #pragma write h, ( ); #pragma write h, (::ETPUliteral(#ifndef __ETPU_PWM_AUTO_H)); #pragma write h, (::ETPUliteral(#define __ETPU_PWM_AUTO_H)); #pragma write h, ( ); #pragma write h, (/* Function Configuration Information */); #pragma write h, (::ETPUliteral(#define ETPU_PWM_FUNCTION_NUMBER) PWM_FUNCTION_NUMBER ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_TABLE_SELECT) ::ETPUentrytype(PWM) ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_NUM_PARMS) ::ETPUram(PWM) ); #pragma write h, ( ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_INT_ENABLE) PWM_INT_ENABLE ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_DMA_ENABLE) PWM_DMA_ENABLE ); #pragma write h, ( ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_OUT_DIS) PWM_OUT_DISABLE ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_FUNC_MODE) PWM_FUNCTION_MODE ); #pragma write h, ( ); #pragma write h, (/* Host Service Request Definitions */); #pragma write h, (::ETPUliteral(#define ETPU_PWM_INIT) hsrInitPWM ); #pragma write h, (::ETPUliteral(#define ETPU_PWM_UPDATE) hsrUpdtPWM ); #pragma write h, ( ); #pragma write h, (/* Parameter Definitions */); #pragma write h, (::ETPUliteral(#define ETPU_PWM_PERIOD_OFFSET) ((::ETPUlocation(PWM,Period)–1)/4)); #pragma write h, (::ETPUliteral(#define ETPU_PWM_DUTY_OFFSET) (::ETPUlocation(PWM, Duty)-1)/4 ); #pragma write h, ( ); #pragma write h, (::ETPUliteral(#endif /*__ETPU_PWM_AUTO_H */ )); /* Information exported to Host CPU program */ #pragma write m, (::ETPUfilename (etpu_image.h)); #pragma write m, (/* WARNING this file is automatically generated DO NOT EDIT IT! */); #pragma write m, ( ); #pragma write m, (::ETPUliteral(#ifndef __ETPU_IMAGE_H)); #pragma write m, (::ETPUliteral(#define __ETPU_IMAGE_H)); #pragma write m, ( ); #pragma write m, (/* eTPU Code RAM Constants Definitions */); #pragma write m, (::ETPUliteral(#define ETPU_CODE_RAM_SIZE) ETPU_CODE_IMAGE_SIZE); #pragma write m, (::ETPUliteral(#define ETPU_MISC_VAL) ::ETPUmisc); #pragma write m, ( ); /* Global const initialization array */ #pragma write m,( const uint32_t etpu_globals[]= { ::ETPUglobalimage32 };); |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |