Echelon Neuron C Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 267
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
44 Functions
Function Description
bin2bcd( ) Convert binary data to binary coded
decimal
high_byte( ) Extract the high byte of a 16-bit
number
low_byte( ) Extract the low byte of a 16-bit number
make_long( ) Create a 16-bit number from two 8-bit
numbers
max( ) Arithmetic maximum of two values
min( ) Arithmetic minimum of two values
muldiv( ) Unsigned multiply/divide with 32-bit
intermediate result
muldiv24( ) Unsigned multiply/divide with 24-bit
intermediate result
muldiv24s( ) Signed multiply/divide with 24-bit
intermediate result
muldivs( ) Signed multiply/divide with 32-bit
intermediate result
random( ) Generate 8-bit random number
reverse( ) Reverse the order of bits in an eight-bit
number
rotate_long_left( ) Rotate left a 16-bit number
rotate_long_right( ) Rotate right a 16-bit number
rotate_short_left( ) Rotate left an 8-bit number
rotate_short_right( ) Rotate right an 8-bit number
s32_abs( ) Take the absolute value of a signed 32-
bit number
s32_add( ) Add two signed 32-bit numbers
s32_cmp( ) Compare two 32-bit signed numbers
s32_dec( ) Decrement a 32-bit signed number
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 266 267

Komentáře k této Příručce

Žádné komentáře