- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on a project where porting SMT32+ChibiOS software into PSOC4+FreeRTOS
I have CY8CKIT-046 Pioneer kit which is based on PSOC 4200L
I did extensive research and my only IDE option is PSOC Creator (MTB doesn't support PSOC 4200)
The problem that I am facing right now is that setting up interrupts on GPIO
https://www.cypress.com/file/127121/download
I read this document thoroughly and looks like my only option is to set each GPIO pin with GUI
However, I prefer to configure it by code.
On ChibiOS, I was able to configure it like this
palSetPadMode(GPIOD, 1, PAL_MODE_INPUT_PULLDOWN);
palSetPadMode(GPIOB, 0, PAL_MODE_OUTPUT_PUSHPULL);
palSetPad(GPIOB, 0);
palReadPort(GPIOD);
Can I do something like this on PSOC Creator?
Thanks,
Solved! Go to Solution.
- Labels:
-
ispn:39616:1:0
-
l1:314:1:0
-
PSoC4MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Related discussion is available in the following thread:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Related discussion is available in the following thread: