изменила ножки прерываний

This commit is contained in:
KLASSENTS 2025-01-28 14:32:01 +07:00
parent c5bb50af4f
commit 4a7598f652

View File

@ -144,14 +144,14 @@ HAL_TIMER32_CHANNEL_IndexTypeDef pwmPinToTimerChannel(uint32_t digPinNumber)
// index = interrupt number. In each row {digitalPinNumber, IntLineValue, IntMuxValue}
uint8_t interruptInfo[EXTERNAL_INTERRUPTS_QTY][3] =
{
{P0_4, GPIO_LINE_4, GPIO_MUX_LINE_4_PORT0_4}, // INT0
{P0_9, GPIO_LINE_5, GPIO_MUX_LINE_5_PORT0_9}, // INT1
{P0_10, GPIO_LINE_2, GPIO_MUX_LINE_2_PORT0_10}, // INT2
{P0_15, GPIO_LINE_7, GPIO_MUX_LINE_7_PORT0_15}, // INT3
{P1_6, GPIO_LINE_6, GPIO_MUX_LINE_6_PORT1_6}, // INT4
{P1_9, GPIO_LINE_1, GPIO_MUX_LINE_1_PORT1_9}, // INT5
{P1_12, GPIO_LINE_0, GPIO_MUX_LINE_0_PORT1_12}, // INT6
{P1_15, GPIO_LINE_3, GPIO_MUX_LINE_3_PORT1_15}, // INT7
{P0_8, GPIO_LINE_0, GPIO_MUX_LINE_0_PORT0_8}, // INT0
{P1_4, GPIO_LINE_4, GPIO_MUX_LINE_4_PORT1_4}, // INT1
{P1_5, GPIO_LINE_5, GPIO_MUX_LINE_5_PORT1_5}, // INT2
{P1_6, GPIO_LINE_6, GPIO_MUX_LINE_6_PORT1_6}, // INT3
{P1_9, GPIO_LINE_1, GPIO_MUX_LINE_1_PORT1_9}, // INT4
{P1_10, GPIO_LINE_2, GPIO_MUX_LINE_2_PORT1_10}, // INT5
{P1_15, GPIO_LINE_3, GPIO_MUX_LINE_3_PORT1_15}, // INT6
{P2_7, GPIO_LINE_7, GPIO_MUX_LINE_7_PORT2_7}, // INT7
};
int8_t digitalPinToGpioIntMux(uint8_t digPinNumber)