SPI Macro

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI Macro

1,688件の閲覧回数
Jojo67
Contributor II

Hi, is it this macro <SPI_S_SPTEF_MASK> same function as <LPSPI_SR_TDF_MASK> ?

タグ(1)
0 件の賞賛
返信
1 返信

1,652件の閲覧回数
giraffe508
Contributor IV

Hi SPI Macro can be defined following two types,

SPI_S_SPTEF_MASK is a mask for the SPI Transmit Buffer Empty Flag (SPTEF) in the SPI Status Register (SPI_S). 

On the other hand, LPSPI_SR_TDF_MASK is a mask for the Transmit Data Flag (TDF) in the LPSPI Status Register (LPSPI_SR).

Both of these masks are used to check the status of the respective SPI modules' transmit buffers, but they are specific to different SPI modules within the NXP product range. The SPI_S_SPTEF_MASK is used with the classic SPI module, while the LPSPI_SR_TDF_MASK is used with the Low Power SPI (LPSPI) module.

 

For more information on these modules and their respective registers, you can refer to the following documentation:

0 件の賞賛
返信