原创 scanf fgets gets qsort

1. scanf 用scanf獲取一行字符串包括空格的以及C語言函數其內容爲 #include<stdio.h> int main(){ char str[1024]; scanf("%[^\n]", &str); return 0; }

原创 emmc 總結

      硬件方面介紹 emmc的擦寫次數是有限的,一般閃存分爲三種類型:TLC,MLC,SLC。TLC的擦寫次數約都爲500~1000次,壽命和速度都不行;MLC的擦寫次數是1W次,SLC最好了爲10W次。   轉載 https://

原创 uart+ tty+ console

http://man7.org/linux/man-pages/man3/termios.3.html      //終端設備各flag 含義, termbits.h https://www.cmrr.umn.edu/~strupp/se

原创 Linux中斷管理機制

轉自  https://www.cnblogs.com/arnoldlu/p/8659981.html 新的linux kernel 及 arm不支持 中斷嵌套。      關鍵詞:GIC、IAR、EOI、SGI/PPI/SPI、中斷映

原创 SMbus和I2C異同, PMBUS

轉載自  https://blog.csdn.net/a13698709128/article/details/79236539 轉載自  https://blog.csdn.net/zyboy2000/article/details/7

原创 win10+ubuntu 18.04+uefi

  什麼是UEFI模式? 先簡單提一下BIOS吧,供諸君回憶: BIOS是一組程序(輸入輸出程序、開機自檢程序、系統自啓動程序等),固化在主板上的一個ROM芯片上。開機後,CPU自動讀取BIOS中的代碼(彙編語言編寫)到內存,開始執行BI

原创 hash表的C實現和hash桶的示例

  此段轉載  https://blog.csdn.net/qq_15437629/article/details/79275255 hash是以空間換時間的結構,現在空間越來越大,而且對性能要求越來越高的年代,這絕對是值得的。 hash

原创 802.11ac 速率 + 信道 + 國家碼信道

轉載   https://blog.csdn.net/zhangfan406/article/details/80758624?utm_medium=distribute.pc_relevant.none-task-blog-BlogCo

原创 open drain push pull 上拉電阻理解

轉載 https://blog.csdn.net/u012604283/article/details/84647237 因爲自己之前一直不理解推輓輸出、漏極開路輸出、集電極開路輸出這三個概念到底是什麼意思。今天終於靜下心來好好學習了一遍

原创 reserved-memory和memreserve 區別

轉載自:  http://www.voidcn.com/article/p-qxdokkft-bqd.html   Devicetree 提供了兩種方式預留內存: reserved-memory和memreserve   memreser

原创 WiFi_P2P抓包分析_三_WSC

轉載自:   https://blog.csdn.net/hpp205/article/details/50087301     EAPOL 01. EAPOL - Start 02. EAPOL Request - Identity

原创 80211 power save

https://wireless.wiki.kernel.org/en/developers/documentation/ieee80211/power-savings   Power Savings on IEEE-802.11 IEE

原创 ffmpeg 轉換視頻格式

http://trac.ffmpeg.org/wiki/Encode/MPEG-4 MPEG-4 Encoding Guide ​MPEG-4 Part 2, aka MPEG-4, Xvid, and DivX, is a video

原创 Device Tree編譯工具dtc

  轉載自 https://blog.csdn.net/qwaszx523/article/details/78422004   1、dtc編譯器源碼目錄kernel\scripts\dtc 2、編譯過內核會生成dtc,放在out目錄下的

原创 DMA內存相關

  A =dma_alloc_coherent(B,C,D,GFP_KERNEL); 含義: A: 內存的虛擬起始地址,在內核要用此地址來操作所分配的內存 B: struct device指針,可以平臺初始化裏指定,主要是dma_mask