Motorola DSP56800 Guía de usuario Pagina 150

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 446
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 149
Inline Assembly Language and Intrinsics
Intrinsic Functions
150
Targeting MC56F83xx/DSP5685x Controllers
Example
long la = 0x40000000; /* 0.5 */
long lb = 0xE0000000; /* -0.25 */
long result;
result = L_sub(la,lb);
// Expected value of result: 0x60000000 = 0.75
Control
The intrinsic functions of the control group are:
stop
wait
turn_off_conv_rndg
turn_off_sat
turn_on_conv_rndg
turn_on_sat
stop
Generates a STOP instruction which places the processor in the low power STOP
mode.
Prototype
void stop(void)
Usage
stop();
Vista de pagina 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 445 446

Comentarios a estos manuales

Sin comentarios