1 # SPDX-FileCopyrightText: 2023 Liz Clark for Adafruit Industries
3 # SPDX-License-Identifier: MIT
5 Pin definitions for the Feather RP2040 CAN with u2if firmware.
7 Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Feather RP2040 CAN with rp2040
17 CAN_STANDBY CAN_TX0_RTS CAN_RESET CAN_CS
18 CAN_INTERRUPT CAN_RX0_BF NEOPIXEL_POWER
21 from adafruit_blinka.microcontroller.rp2040_u2if import pin
43 BUTTON = BOOT = pin.GP7
46 NEOPIXEL_POWER = pin.GP20
55 CAN_STANDBY = pin.GP16
56 CAN_TX0_RTS = pin.GP17
59 CAN_INTERRUPT = pin.GP22
62 # access u2if via pin instance to open for specifc VID/PID
63 # pylint:disable = protected-access
64 pin.GP0._u2if_open_hid(0x239A, 0x8130)