Renesas M3T-MR100 Manuel d'utilisateur Page 242

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 304
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 241
228
It is also possible to enter operators in numerical values. Table 8.2 Operators lists the operators available.
Table 8.2 Operators
Operator Priority Direction of computation
()
High From left to right
- (Unary_minus)
From right to left
/ %
From left to right
+ - (Binary_minus)
Low From loft to right
13.
Numerical value examples are presented below.
123
123 + 0x23
(23/4 + 3) 2
100B + 0aH
Symbol
The symbols are indicated by a character string that consists of numerals, upper- and lower-case alphabetical let-
ters, _(underscore), and ?, and begins with a non-numeric character.
Example symbols are presented below.
_TASK1
IDLE3
Function Name
The function names are indicated by a character string that consists of numerals, upper and lower-case alpha-
betical letters,'$'(dollar) and '_'(underscore), begins with a non-numeric character, and ends with '()'.
The following shows an example of a function name written in the C language.
main()
func()
When written in the assembly language, the start label of a module is assumed to be a function name.
Frequency
The frequency is indicated by a character string that consist of numerals and . (period), and ends with MHz. The
numerical values are significant up to six decimal places. Also note that the frequency can be entered using de-
cimal numbers only.
Frequency entry examples are presented below.
16MHz
8.1234MHz
It is also well to remember that the frequency must not begin with . (period).
Time
The time is indicated by a character string that consists of numerals and . (period), and ends with ms. The time
values are effective up to three decimal places when the character string is terminated with ms. Also note that the
Vue de la page 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 303 304

Commentaires sur ces manuels

Pas de commentaire