This converts the bit-banged GPIO SPI driver to looking up and using GPIO descriptors to get a handle on GPIO lines for SCK, MOSI, MISO and all CS lines. All existing board files are converted in one go to keep it all consistent. With these conversions I rarely find any interrim ...
This converts the EP93xx SPI master driver to use GPIO descriptors for chip select handling. EP93xx was using platform data to pass in GPIO lines, by converting all board files to use GPIO descriptor tables the core will look up the GPIO lines from the SPI device in the same manner as...
static int8_t TEMPLATE_Receive(uint8_t *Buf, uint32_t *Len) { if(Buf[0] == '1') HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_SET); else if(Buf[0] == '0') HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_RESET); USBD_CDC_ReceivePacket(&hUsbDeviceFS); r...
The ADC input channels and the GPIO pins GPIO41 through GPIO48 map to the same pins on the MT3260. However, if your application uses the ADC then all 8 pins are allocated for use as ADC inputs. None of them can be used for GPIO. ADC requirements Applications that communicate with ...
externETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT];/* Ethernet Rx DMA Descriptors */externETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT];/* Ethernet Tx DMA Descriptors *//* Global Ethernet handle*/externETH_HandleTypeDef heth;externETH_TxPacketConfig TxConfig;...
The start address for each receive buffer is stored in the system memory in a list of receive buffer descriptors at an address location described by the receive buffer queue pointer. The base address of the receive buffer queue pointer (also referred ...
Current limitation of the firmware: With the current PN533, it is possible to corrupt the USB Descriptors information. If some large exchanges of data are performed, it is possible to overwrite some USB data which are necessary during a power management state transition of the computer. For ...
host->use_gpio_descriptors = true; host->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP; if (dws->caps & DW_SPI_CAP_DFS32) master->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); host->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); ...
gpio: pca953x: use simple irqdomainThis switches the legacy irqdomain to the simple one, which will auto-allocate descriptors, and also make sure that we use irq_create_mapping() in the to_irq function. Also use the map function of irq_domain_ops to setup the irq configuration on demand...
IB-NFP integrated circuit 1 also has several general purpose input/output (GPIO) interfaces. One of these GPIO interfaces 23 is used to access external PROM 8. In addition to the area of the input/output circuits outlined above, the IB-NFP integrated circuit 1 also includes two additional ...