| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 176 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 176 Page - STMicroelectronics |
|
176 / 185 page ![]() eTPU specific features AN3350 176/185 Doc ID 018512 Rev 2 23 eTPU specific features This chapter describes the eTPU specific features in the compiler: ● Restrictions on 32-bit variables ● Host interface files ● eTPU functions structure ● pragma ETPU_function ● Memory allocation ● Channel structure ● Tooth Program Register (TPR) structure ● struct tpr_struct <varname> @ tpr; ● Entry table intrinsic functions ● Predefined symbols ● Integer types ● Fractional types ● Inline assembly ● #pragma write ● #pragma fill ● __attribute__((expects_flags)) ● __attribute__((no_save_registers)) ● __attribute__((pure_assembly)) ● eTPU intrinsic functions 23.1 Restrictions on 32-bit variables eTPU has limited support for 32 bit variables. This is due to 24 bit natural word size of eTPU. You can declare 32 bit variables, and perform moves (assignments). This allows larger values to be moved around. Math operations are not supported for 32-bit values. ● Pointers to functions are not supported. ● Floating point are not supported. ● Standard libraries are not provided. 23.2 Host interface files The compiler creates files intended for the CPU program, which configures eTPU. These files are named as: filename_CPU.letter Where filename is the base name of the eTPU source file being compiled, and letter is an alphabet letter from a to z. |
|
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 |