
RDAIRPABPSI5UG , Rev. 2.0
30
Freescale Semiconductor, Inc.
Installing the Software and Setting up the Hardware
6.4.2
ASBC API Parameters Detail
Brief description of input and output API parameters is in the following paragraphs. Descriptions contain only a verbal description of the
parameter. Values which can variable acquired are described in the header file MC33789.h.
Parameters of the Asbc_Init API function:
•
Spi_Channel (Asbc_SpiChannelType) - logical SPI channel number (not physical SPI channel)
•
Config (Asbc_ConfigType) - input configuration structure:
•
Asbc_SafingThreshold0 - 8 bits safing 0 threshold value
•
Asbc_SafingDwellExt0 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold0
•
Asbc_SafingThreshold1 - 8 bits safing 1 threshold value
•
Asbc_SafingDwellExt1 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold1
•
Asbc_SafingThreshold2 - 8 bits safing 2 threshold value
•
Asbc_SafingDwellExt2 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold2
•
Asbc_SafingThreshold3 - 8 bits safing 3 threshold value
•
Asbc_SafingDwellExt3 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold3
•
Asbc_SafingThreshold4 - 8 bits safing 4 threshold value
•
Asbc_SafingDwellExt4 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold4
•
Asbc_SafingThreshold5 - 8 bits safing 5 threshold value
•
Asbc_SafingDwellExt5 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold5
•
Asbc_SafingThreshold6 - 8 bits safing 6 threshold value
•
Asbc_SafingDwellExt6 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold6
•
Asbc_SafingThreshold7 - 8 bits safing 7 threshold value
•
Asbc_SafingDwellExt7 - extension of the arming pulse width (either 255 ms or 2.0 s) for threshold7
Parameters of the Asbc_GetStatus API function:
•
Spi_Channel (Asbc_SpiChannelType) - logical SPI channel number (not physical SPI channel)
•
Status (Asbc_StatusType) output status structure containing the common status of the ASBC device:
•
Asbc_VregSyncSuppOverTemp - Sync supply over-temperature error
•
Asbc_VregSensRegulOverTemp - DC sensor regulator over-temperature error
•
Asbc_VregBoostOverTemp - Boost supply over-temperature error
•
Asbc_VregIgnState
•
Asbc_WakeupPinState - wake-up pin state
•
Asbc_WdogState - watchdog state
•
Asbc_WdogErrStatus - watchdog error status
•
Asbc_SafingSequenceErr - safing sequence error
Asbc_ReadSensor
Spi_Channel [in]
SequenceIdentifier [in]
LogicalChannel [in]
Asbc_ReturnType
This function provides sensor request/response to retrieve sensor
data from satellite interface block.
Asbc_FeedWatchdog
Spi_Channel [in]
WD_Polarity [in]
Asbc_ReturnType
Update the ASBC Watchdog. A successful watchdog refresh is an
SPI command (high), following another SPI command (low).
Asbc_ProgramCmd
Spi_Channel [in]
Command [in]
Data [in]
SpiResponse [out]
Asbc_ReturnType
Send any ASBC command to the device and read its response.
Table 22: Airbag System Basis Chip SW Driver API (continued)