Component Creation | Schematic implementation | API Generation | Cypress Semiconductor
Component Creation | Schematic implementation | API Generation
Hi all, i´m trying to create my first component (a nRF24), so i did the symbol, and schematic implementation (see attached), until here is where the video tutorials guide me, so reading the component author guide is how i'm trying to make the API´s, i added the .h and .c files, same name on both (nRF24).
Here is where the questions begins:
- Section 6.4 of the component author guide says i should include references to the cyfitter.h and cytypes.h files, i did as the example says:
- on the nRF24.c i add #include "`$INSTANCE_NAME`.h" as the section 6.3 section indicates.
- 6.1 API Cases says when i got other components on the schematic implementation i would need to use API of those components i would refer as:
so i didn't know if i must include something similar on the top of the C file like:
When i try to use a SPI function on the nRF24.c file no help displayed, i mean no SPI_Start, i also tried `$INSTANCE_NAME``[SPI]`_ and no help is displayed, as i know i'm bad explain my questions i attach some images to try help me.
all help and suggestions are welcome.
ps: http://origin-www.cypress.com/forum/psoc-creator-software/spi-component-schmatic-implementation this topic help me, but no mention about API generation.