Serial DMA of STM32 receives indefinite length data
Introduction
When using stm32 or other single-chip computers, serial communication is often used, so how to effectively receive data? If this data is indefinite, how can it be received efficiently?
Classmate A: when the data comes, it will enter into the serial port and interrupt. Just read the data in the interrupt!Interrupt is to interrupt th ...
Added by bobbyM on Wed, 16 Oct 2019 22:40:37 +0300
Nat address translation details (static NAT, port mapping, dynamic NAT,PAT)
NAT address translation overview
In this chapter, we will learn and practice static NAT address translation, dynamic NAT address translation.
Port mapping, PAT port multiplexing
I. understand the advantages and disadvantages of NAT
II. Operation principle of NAT
Static translationDynamic TranslationPort Address Translation
III. terminolo ...
Added by cerebrus189 on Wed, 16 Oct 2019 21:21:18 +0300
Flutter Learning Notes (29) -- How Flutter Communicates with native
If you need to reproduce, please indicate the source: Flutter Learning Notes (29) -- How Flutter Communicates with native
Foreword: When we develop Flutter project, we will inevitably encounter the need to call native api or other situations. At this time, we need to deal with the communication problem between Flutter and native. There are thr ...
Added by Boudga on Sat, 12 Oct 2019 12:46:10 +0300
Realization of Classification Menu of Goods on the Left Side of E-Commerce
Whether on the pc side or the mobile phone side, there are similar categories on the left side, clicking on the right side to switch the content of the functional page.
To achieve this function, the first step is to master the method of left and right layout.
Left and right layout
Flexible Layout is recommended
.parent {
display: flex;
}
...
Added by AustinP on Fri, 11 Oct 2019 18:13:49 +0300
flutter custom appbar
Scene description:
Because many pages are written, each top has a return key, share, the middle title of this kind of thing, make more cumbersome, simply pull out the appbar to a separate, redefined as a widget this content.
The effect is roughly like this:
Source code:
Code directly:
import 'pac ...
Added by mbariou on Thu, 10 Oct 2019 13:44:00 +0300
Implementation of linked list in java
1. Overview of single linked list
The linked list is stored in the way of nodes, it is chain storage.
Each node contains a data domain, next domain: point to the next node.
The nodes of the linked list are not necessarily consecutive storage
The linked list with sub-header nodes and the linked l ...
Added by lilbadger25 on Thu, 10 Oct 2019 02:09:10 +0300
Atomic Stamped Reference Source Code Analysis of Dead java Atoms
(mobile phone horizontal screen source code is more convenient)
problem
(1) what is ABA?
(2) The harm of ABA?
(3) ABA solution?
(4) what is AtomicStampedReference?
(5) How does Atomic Stamped Reference solve ABA?
brief introduction
Atomic StampedReference is an atomic class provided under java Concurrent package. It can solve ABA problems that ...
Added by Addos on Tue, 08 Oct 2019 07:19:21 +0300
Wechat Domain Name Interception Detection-Mechanism and Primary Understanding Secret
background
Due to the stricter restrictions, domain names are judged to be induced sharing. Therefore, the company decided to investigate a set of stable, fast and accurate detection and query interfaces for the domain name interception.
The development group tried to search for a period of time, and found that the source code and principles w ...
Added by shellyrobson on Mon, 07 Oct 2019 10:10:59 +0300
Atomic Integer Source Code Analysis of Dead java Atoms
(mobile phone horizontal screen source code is more convenient)
problem
(1) what is atomic manipulation?
(2) What is the relationship between atomic operation and ACID of database?
(3) How does Atomic Integer implement atomic operations?
(4) what are the shortcomings of AtomicInteger?
brief introduction
Atomic Integer is an atomic class provid ...
Added by splitinfo on Mon, 07 Oct 2019 09:20:52 +0300
The rotation chart of small programs
Today, I record how to achieve the effect of the rotation chart when developing the small program. Not much to say, go directly to the code:
<!-- 1. Home Rotary Map -->
<view>
<swiper class="my-swiper"
autoplay="true"
indicator-dots="true"
indicator-active-color="#fff"
...
Added by nomadrw on Sun, 06 Oct 2019 11:43:46 +0300