Go to the documentation of this file.
24#if defined(__VSF_HEADER_ONLY_SHOW_ARCH_INFO__)
28# define VSF_ARCH_PRI_NUM 4
29# define VSF_ARCH_PRI_BIT 2
31#elif defined(__VSF_HAL_SHOW_VENDOR_INFO__)
33# define __VSF_HEADER_ONLY_SHOW_VENDOR_INFO__
38#ifndef __HAL_DEVICE_RASPBERRYPI_RP2040_H__
39#define __HAL_DEVICE_RASPBERRYPI_RP2040_H__
44#include "hardware/regs/addressmap.h"
50#define USB_OTG_COUNT 1
52#define USB_DWCOTG_MAX_EP_NUM 16
54#define USB_OTG0_IRQHandler USBDMA_IRQHandler
55#define USB_OTG0_CONFIG \
56 .dc_ep_num = 4 << 1, \
60 .buffer_word_size = 948, \
61 .speed = USB_SPEED_FULL, \
67#define VSF_HW_I2C_COUNT 2
68#define VSF_HW_I2C0_IRQN I2C0_IRQ_IRQn
69#define VSF_HW_I2C0_IRQHandler I2C0_IRQHandler
70#define VSF_HW_I2C0_REG I2C0_BASE
71#define VSF_HW_I2C1_IRQN I2C1_IRQ_IRQn
72#define VSF_HW_I2C1_IRQHandler I2C1_IRQHandler
73#define VSF_HW_I2C1_REG I2C1_BASE
75#define VSF_HW_USART_COUNT 2
76#define VSF_HW_USART0_IRQN UART0_IRQ_IRQn
77#define VSF_HW_USART0_IRQHandler UART0_IRQHandler
78#define VSF_HW_USART0_REG UART0_BASE
79#define VSF_HW_USART1_IRQN UART1_IRQ_IRQn
80#define VSF_HW_USART1_IRQHandler UART1_IRQHandler
81#define VSF_HW_USART1_REG UART1_BASE