mirror of
https://github.com/apache/nuttx.git
synced 2026-10-02 19:58:01 +00:00
boards/thingy53: fix ADC and QSPI pin macros
use the NRF53 prefix for the ADC and QSPI pin definitions Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
00a379c3f7
commit
dff3977d4c
1 changed files with 5 additions and 5 deletions
|
|
@ -115,7 +115,7 @@
|
|||
* ADC CH0 - P0.06 - AIN2 - BAT_MEAS
|
||||
*/
|
||||
|
||||
#define NRF52_ADC_CH0_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(6))
|
||||
#define NRF53_ADC_CH0_PIN (GPIO_INPUT | GPIO_PORT0 | GPIO_PIN(6))
|
||||
|
||||
/* QSPI Pins ****************************************************************/
|
||||
|
||||
|
|
@ -126,10 +126,10 @@
|
|||
* QSPI IO1 - P0.14
|
||||
*/
|
||||
|
||||
#define NRF52_QSPI0_CSN_PIN (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN(18))
|
||||
#define NRF52_QSPI0_SCK_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(17))
|
||||
#define NRF52_QSPI0_IO0_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(13))
|
||||
#define NRF52_QSPI0_IO1_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(14))
|
||||
#define NRF53_QSPI0_CSN_PIN (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN(18))
|
||||
#define NRF53_QSPI0_SCK_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(17))
|
||||
#define NRF53_QSPI0_IO0_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(13))
|
||||
#define NRF53_QSPI0_IO1_PIN (GPIO_OUTPUT | GPIO_PORT0 | GPIO_PIN(14))
|
||||
|
||||
/* PWM Pins *****************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue