![Freescale Semiconductor FXTH87 11 Series Скачать руководство пользователя страница 30](http://html.mh-extra.com/html/freescale-semiconductor/fxth87-11-series/fxth87-11-series_firmware-user-manual_2330494030.webp)
FXTH87xx11 and FXTH87xx12 Embedded Firmware User Guide, Rev. 2.1
30
Freescale Semiconductor, Inc.
Firmware Functions
3.2.24
void TPMS_RF_READ_DATA_REVERSE(UINT8 u8Size, UINT8
*u8RAMBuffer, UINT8 u8RFMBuffer)
•
Description:
This function reads several consecutive bytes from the dedicated RFM buffer
registers and copies them to a given address in RAM. It assumes that BUFF0 is location “0”. The
data is transferred from the LSB bit of each byte of the RFM data registers to the MSB of each of
the bytes of the target memory address (reversed data bit order). This function manages the RFM’s
buffer paged memory.
— In case the required buffer address is out of bounds, the routine will return “0” for that location.
•
Stack size:
10 bytes
•
Approx. Duration:
236 usec (for 8 bytes, switching pages included).
•
Power Management:
This function executes entirely in RUN mode.
•
Interrupt Management:
This function does not await any interrupts. It will not be affected by
interrupts.
•
Resources:
RFM
•
Input Parameters:
— UINT8 u8Size: Number of bytes to read.
— UINT8 *u8RamBuffer: Target memory location.
— UINT8 u8RFMBuffer: Buffer register (0 to 31) to read.
•
Returns
:
— void
3.2.25
void TPMS_RF_WRITE_DATA(UINT8 u8Size, UINT8 *u8RAMBuffer,
UINT8 u8RFMBuffer)
•
Description:
This function copies several consecutive bytes from RAM into the dedicated RFM
Output Buffer. It assumes that BUFF0 is location “0”. The data is transferred from the LSB bit of
RAM to the LSB of the RFM data register (standard data bit order). This function manages the
RFM’s buffer paged-memory.
— In case the destination buffer address is out of bounds, the register value will not be written.
•
Stack size:
8 bytes
•
Approx. Duration:
182 usec (for 8 bytes, switching pages included).
•
Power Management:
This function executes entirely in RUN mode.
•
Interrupt Management:
This function does not await any interrupts. It will not be affected by
interrupts.
•
Resources:
RFM
•
Input Parameters:
— UINT8 u8Size: Number of bytes to write.
— UINT8 *u8RamBuffer: Source memory location.
— UINT8 u8RFMBuffer: Starting buffer register (0 to 31) to write.
•
Returns
:
— void