Can't reference Pin macro in PSoC Creator 4.2

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Rova_1179706
Level 2
Level 2
First like received First like given

I would have expected the IDE to generate the macro's for the pin-instance.

pastedImage_0.png

Is this feature removed for the PSoC 6?

This is my first time working with the PSoC 6.

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

For PSoC 6 GPIO access function was changed to

Cy_GPIO_Write(Pin_PORT, Pin_NUM, value)

Please try and expand Cy_GPIO to see available variants.

It is also recommended to read

Differences Between PSoC 4 and PSoC 6 MCU Software Architecture - KBA220606

And also take a look at other example projects accessible from the menu "File > Code Example..."

moto

View solution in original post

0 Likes
1 Reply
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

For PSoC 6 GPIO access function was changed to

Cy_GPIO_Write(Pin_PORT, Pin_NUM, value)

Please try and expand Cy_GPIO to see available variants.

It is also recommended to read

Differences Between PSoC 4 and PSoC 6 MCU Software Architecture - KBA220606

And also take a look at other example projects accessible from the menu "File > Code Example..."

moto

0 Likes