How do you write/read from pins Pxx_C ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-02 12:03 PM
For example, when using the HAL drivers to write to a pin you would normally write:
HAL_GPIO_WritePin(GPIOA, GPIO_PIN_1, GPIO_PIN_RESET);
But, how would you do that using PA1_C, for instance?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-02 12:44 PM
What is PA1_C? Pins of port A are named PA0-PA15. Pins of port C are named PC0-PC15.
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-02 1:15 PM
These are special bond options on some big BGA packages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-03 2:06 PM
The functionality is completely split between Pxx and Pxx_C, so only to one of them is the GPIO connected, see pin table in datasheet. Unless you switch on the switch which connects the two internally, you cannot use GPIO to read/write the state of other.
JW
