- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to use these functions? What interrupts do they enable/disable? I found in one document - Serial Peripheral Interface (SPI) Master - that these functions are removed. They are instead replaced by - SPIM_EnableTxInt(), SPIM_EnableRxInt(), SPIM_DisableTxInt(), SPIM_DisableRxInt(. Why dont I see these functions in my generated source code?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello SaGh_4441651
Please refer the component datasheet for details on these APIs.
The SCB_EnableInt() API is used to enable the Internal interrupt in the NVIC and SCB_DisableInt() will disable the internal interrupt in NVIC This is applicable for the SCB implementation of the component.
Some PSoC devices also include UDB based implementation of communication block and that includes different set of APIs such as SPIM_EnableTxInt and SPIM_EnableRxInt.
So, depending on the component used in the project, the APIs will be different.
You can obtain details and implementation of the APIs from the component datasheet.
Thanks and regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello SaGh_4441651
Please refer the component datasheet for details on these APIs.
The SCB_EnableInt() API is used to enable the Internal interrupt in the NVIC and SCB_DisableInt() will disable the internal interrupt in NVIC This is applicable for the SCB implementation of the component.
Some PSoC devices also include UDB based implementation of communication block and that includes different set of APIs such as SPIM_EnableTxInt and SPIM_EnableRxInt.
So, depending on the component used in the project, the APIs will be different.
You can obtain details and implementation of the APIs from the component datasheet.
Thanks and regards
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a PSoC 4100S Plus Device. Why am I not able to find the SPI Master Component (UDB based implementation of communication block) in the Component Catalog?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that PSoC 4100S Plus does not have "UDB", instead, they have SmartIOs.
You can check it with PSoC Creator's Device Selector.
moto