How Many Pins Does STM32 Have? Why Can One Pin Serve Multiple Functions?

How Many Pins Does STM32 Have? Why Can One Pin Serve Multiple Functions?

πŸ”Œ How Many Pins Does STM32 Have? Why Can One Pin Serve Multiple Functions? Almost all beginners with STM32 will be confused: πŸ‘‰ How many pins does STM32 actually have?πŸ‘‰ Are pin 0 of GPIOA and pin 0 of GPIOB duplicated?πŸ‘‰ Why can one pin have multiple functions without conflict? Let’s clarify this systematically and … Read more

Analysis of Less Common Library Functions for STM32 GPIO

1. void GPIO_DeInit(GPIO_TypeDef* GPIOx); First, let’s take a look at this function. We can see that the parameter of this function is a GPIO group parameter (GPIOB, GPIOC, GPIOA, etc.),Now, let’s enter the definition of this function in the standard peripheral library. void GPIO_DeInit(GPIO_TypeDef* GPIOx){ /* Check the parameters */ assert_param(IS_GPIO_ALL_PERIPH(GPIOx)); if (GPIOx == GPIOA) … Read more

Understanding gRPC and HTTP/2

Traditional RPC Solutions: JSON + HTTP 1.x TCP + Custom Protocol Limitations Method Limitations HTTP/1.x + JSON Single connection order calls, frequent connection establishment incurs high overhead;Large JSON payloads, slow parsing; not suitable for streaming communication;Manual SDK writing required for multi-language calls or handling compatibility TCP Custom Protocol Packet sticking, unpacking, message boundaries, and concurrency … Read more

[LNX002] Core Knowledge of Linux Operating System File System and IO Operations

This document is based on the linux6.6.92 x86-64 version, covering the main content of the VFS architecture, the file from the perspective of the process, VFS caching, mount/unmount implementation, open/close implementation, read/write implementation, pipe/FIFO implementation, message queue (mqueue) implementation, and IO multiplexing (select/poll/…).

Go Begins Work on HTTP/3: Is Go’s Performance Set to Soar?

Go Begins Work on HTTP/3: Is Go's Performance Set to Soar?

Life is ultimately about experiences, especially those that are unresolved. “Dream of the Red Chamber” unexpectedly tells us that the specific ending is not that important; what you unfold in each word and sentence is already interesting enough. Introduction With the continuous evolution of internet technology, the HTTP protocol is also undergoing constant upgrades. From … Read more

The Era of HTTP/2.0 Has Arrived

The Era of HTTP/2.0 Has Arrived

KS Knowledge Sharing We are now in an era of resource sharing, as well as knowledge sharing. If you find this article informative, please share the knowledge with others! A Brief History of HTTP Development Above: Connection cannot be reused Above: Set Connection: Keep-Alive to keep the connection open for a period of time. Above: … Read more

Practical Principles of HTTP/3

Practical Principles of HTTP/3

Author: billpchen, Frontend Developer at Tencent Kandian After the HTTP/2 standard was published in 2015, most mainstream browsers supported this standard by the end of that year. Since then, with advantages such as multiplexing, header compression, and server push, HTTP/2 has gained increasing favor among developers. Unbeknownst to many, HTTP has now evolved to its … Read more

Wireshark Case Study (25): The ‘Multiplexing’ of HTTP/2

Wireshark Case Study (25): The 'Multiplexing' of HTTP/2

Introduction This article continues the “Wireshark Practical Case Study” series, delving into an “epoch-making” “efficiency revolution” in the world of web performance. It concerns the “loading speed” of every modern website you open, the fundamental transformation in the “dialogue” between “browsers” and “servers”, and a great “traffic” revolution initiated to end the “old” and “inefficient” … Read more

Linux: Say Goodbye to Complexity! Unlocking the Magical Uses of the SSH `config` File

Linux: Say Goodbye to Complexity! Unlocking the Magical Uses of the SSH `config` File

As an operations development engineer, <span>SSH</span> is a command we use almost every day. We use it to connect to remote servers for code deployment, log viewing, and various system management tasks. But are we still manually typing long <span>ssh</span> commands like <span>ssh -p 2222 -i ~/.ssh/my_key [email protected]</span>? If we manage dozens or even hundreds … Read more