Maxim-integrated MAXQ7666 Manual do Utilizador Página 375

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 386
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 374
MAXQ7665/MAXQ7666 Users Guide
15-6
Function: copyBuffer
Summary: Copies LC[0] bytes/words from DP[0] to BP[OFFS].
Inputs: DP[0]: Address to copy from.
BP[OFFS]: Address to copy to.
LC[0]: Number of bytes or words to copy.
Outputs: OFFS is incremented by LC[0].
DP[0] is incremented by LC[0].
Destroys: LC[0]
Notes:
1) Before calling this function, DPC should be set appropriately to configure DP[0] and BP[OFFS] for byte or word mode. Both DP[0]
and BP[OFFS] should be configured to the same mode (byte or word) for correct buffer copying.
2) The addresses passed to this function should be based on the data memory mapping for the utility ROM, as explained in
Section 1
.
The CDA0 and CDA1 bits must be set appropriately to access either the upper or lower half of program flash memory.
3) This function automatically refreshes the data pointers before reading the byte/word values.
15.3 Temperature Conversion Function
Function: tempConv
Summary: Performs internal/remote diode-connected transistor-based temperature measurements.
Inputs: GR: Sensor source (SS) code.
A[0]: Single-ended or differential configuration, SEDIF. Set to 1 for differential or 0 for singled-ended.
Outputs: GR: Temperature conversion result in degree Celsius.
Carry: Set on error or illegal SS code.
Destroys: A[0], A[1], PSW; AP, APC set to 0
Notes:
1) Valid sensor source (SS) code identifiers:
SS = 0x00 Internal diode-connected transistor-based temperature measurement.
SS = 0x01 Remote diode-connected transistor-based temperature measurement on AIN0.
SS = 0x02 Remote diode-connected transistor-based temperature measurement on AIN2.
Maxim Integrated
Vista de página 374
1 2 ... 370 371 372 373 374 375 376 377 378 379 380 ... 385 386

Comentários a estes Manuais

Sem comentários