Tag:interrupt
-
Time:2021-2-9
ADK AMBA Design Suite AHB advanced high performance bus AHB ‐ AP AHB access port AMBA advanced MCU bus architecture APB advanced peripheral bus Arm arm architecture reference manualASIC industry specific integrated circuitATB advanced tracking busBe8 byte invariant big end modeCPI cycles per instructionCPU central processing unitDAP debug access portDSP digital signal processor / digital […]
-
Time:2021-2-5
Usage Summary of Python yield and yield from Yield effect: 1 Note:The next () method of generator is next () in Python 2, but not in Python 3__next__()[there are two underscores before and after next] Turn a function into a generator, and the function with yield is no longer an ordinary function. That is: a […]
-
Time:2021-1-29
Stopping a thread means stopping the operation before the task is finished, that is, abandoning the current operation. To stop a thread, you can use the Thread.stop () method, but it’s better not to use it. Although it can stop a running thread, this method is not safe and has been abandoned. In Java, there […]
-
Time:2021-1-26
1、 Review the previous section The wait () method and interrupt are thrown by the running thread java.lang.InterruptedException When the thread calls the wait() method of the shared object, the current thread will only release the lock of the current shared variable, not the lock of other shared variables held by the thread. Wait (long […]
-
Time:2021-1-15
Share basisLinux performance optimizationNotes of course pictures. preface Experimental environment: Ubuntu 18.04, switch to the root authority operation To view the detailed usage of the command, you can:man xxxWhen it comes to paths, you can generallycat /x/xx/xxxWhen it comes to tools, if they are not installed, you can:apt-get install xxx CPU CPU performance index Find […]
-
Time:2021-1-9
1、 Requirement description MCU needs to receive firmware data from CPLD CPLD only sends data to MCU and does not receive data from MCU CPLD can’t tell the beginning and end of data transmission, which needs MCU to judge by itself (CPLD only transmits data through, and doesn’t judge data) The data communication rate is […]
-
Time:2021-1-7
There is a passage in the BibleFind duplicate rowsIf the input is unresponsive, the duplicate line data will not be printed // Dup1 prints the text of each line that appears more than // once in the standard input, preceded by its count. package main import ( “bufio” “fmt” “os” ) func main() { counts […]
-
Time:2020-12-14
IOS has been developed for several years, and custom cameras have been encountered many times. Each time, they copy code from the Internet. However, there are many problems such as direction, which have never been really studied. Now, I would like to record the problems encountered by custom cameras here, so as to avoid forgetting […]
-
Time:2020-12-13
Processor and its scheduling processor It is used to execute instructions to process data. The mechanism is as follows: Register: there are many kinds of registers, the main function of which is to constitute the working site of processor Command system Non privileged instruction Privileged instruction: the instruction used by the core program of the […]
-
Time:2020-12-9
1、 Preface Recently, when using the Hal Library of STM32, I found that there was no integration of idle interrupt processing. The Hal library processing logic written by itself is very cumbersome, and the efficiency is not high, and there are still lack of arms and legs. Usually, the data received by the serial port […]
-
Time:2020-12-5
Original statement: This article comes from the official account [fat pig programming]. Please indicate the source. In Java Concurrent Programming how to solve the atomic problem finally, we sold a key, mutex lock not only has the synchronized keyword, but also can be implemented with the lock package in j.u.c., and it is very powerful! […]
-
Time:2020-12-1
First of all, as a new comer, I don’t have much experience in SCM development, so there may be some errors in writing some related documents. I hope you can include them more! I also hope that you will give me your advice and advice! Good memory is not as good as bad writing. The […]