{"id":58919,"date":"2023-10-20T21:42:02","date_gmt":"2023-10-20T13:42:02","guid":{"rendered":"\/\/www.viralrail.com\/?p=58919"},"modified":"2023-10-20T21:42:02","modified_gmt":"2023-10-20T13:42:02","slug":"skyszfm","status":"publish","type":"post","link":"\/\/www.viralrail.com\/blog\/58919.html","title":{"rendered":"STM32\u53ef\u4ee5\u8bbe\u7f6eFIFO\u5417\uff1f"},"content":{"rendered":"
STM32\u662f\u4e00\u79cd\u9ad8\u6027\u80fd32\u4f4d\u5fae\u63a7\u5236\u5668\uff0c\u5177\u6709\u8d85\u4f4e\u529f\u8017\u3001\u9ad8\u6027\u80fd\u3001\u9ad8\u53ef\u9760\u6027\u7b49\u7279\u70b9\uff0c\u53ef\u7528\u4e8e\u5404\u79cd\u5e94\u7528\u573a\u666f\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSTM32\u662f\u5426\u53ef\u4ee5\u8bbe\u7f6eFIFO\uff0c\u4ee5\u53ca\u5982\u4f55\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n
FIFO\uff08First In First Out\uff09\u662f\u4e00\u79cd\u5148\u8fdb\u5148\u51fa\u7684\u7f13\u51b2\u673a\u5236\uff0c\u5b83\u53ef\u4ee5\u628a\u6536\u5230\u7684\u6570\u636e\u6309\u7167\u5148\u8fdb\u5148\u51fa\u7684\u539f\u5219\u8fdb\u884c\u5b58\u50a8\u548c\u63d0\u53d6\u3002FIFO\u53ef\u4ee5\u8ba9\u6536\u53d1\u6570\u636e\u66f4\u52a0\u6709\u5e8f\uff0c\u907f\u514d\u63a5\u6536\u7aef\u6536\u5230\u7684\u6570\u636e\u4e71\u5e8f\uff0c\u4ece\u800c\u63d0\u9ad8\u6570\u636e\u5904\u7406\u7684\u6548\u7387\u3002<\/p>\n
STM32\u53ef\u4ee5\u8bbe\u7f6eFIFO\uff0c\u53ef\u4ee5\u901a\u8fc7\u6539\u53d8\u786c\u4ef6\u5bc4\u5b58\u5668\u7684\u503c\u6765\u8bbe\u7f6eFIFO\u7684\u5927\u5c0f\uff0c\u4ee5\u53caFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\uff0c\u4ee5\u6b64\u8fbe\u5230\u5bf9FIFO\u7684\u63a7\u5236\u3002<\/p>\n
\u8981\u8bbe\u7f6eSTM32\u7684FIFO\uff0c\u9996\u5148\u9700\u8981\u6253\u5f00FIFO\uff0c\u7136\u540e\u518d\u8bbe\u7f6eFIFO\u7684\u5927\u5c0f\uff0c\u6700\u540e\u518d\u8bbe\u7f6eFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\u3002\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n
1. \u6253\u5f00FIFO<\/strong><\/p>\n \u8981\u6253\u5f00FIFO\uff0c\u9700\u8981\u5728\u786c\u4ef6\u5bc4\u5b58\u5668\u4e2d\u8bbe\u7f6eFIFO Enable\u4f4d\uff0c\u5373\u628aFE\u4f4d\u7f6e\u4f4d\uff0c\u4ee5\u6b64\u6765\u6fc0\u6d3bFIFO\u3002<\/p>\n 2. \u8bbe\u7f6eFIFO\u7684\u5927\u5c0f<\/strong><\/p>\n \u8981\u8bbe\u7f6eFIFO\u7684\u5927\u5c0f\uff0c\u9700\u8981\u5728\u786c\u4ef6\u5bc4\u5b58\u5668\u4e2d\u8bbe\u7f6eFIFO Size\u4f4d\uff0c\u5373\u628aFIFO Size\u4f4d\u7f6e\u4f4d\uff0c\u4ee5\u6b64\u6765\u6307\u5b9aFIFO\u7684\u5927\u5c0f\u3002<\/p>\n 3. \u8bbe\u7f6eFIFO\u7684\u5b58\u50a8\u65b9\u5f0f<\/strong><\/p>\n \u8981\u8bbe\u7f6eFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\uff0c\u9700\u8981\u5728\u786c\u4ef6\u5bc4\u5b58\u5668\u4e2d\u8bbe\u7f6eFIFO Mode\u4f4d\uff0c\u5373\u628aFIFO Mode\u4f4d\u7f6e\u4f4d\uff0c\u4ee5\u6b64\u6765\u6307\u5b9aFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n \u672c\u6587\u4ecb\u7ecd\u4e86STM32\u53ef\u4ee5\u8bbe\u7f6eFIFO\u5417\uff1fSTM32\u53ef\u4ee5\u8bbe\u7f6eFIFO\uff0c\u53ef\u4ee5\u901a\u8fc7\u6539\u53d8\u786c\u4ef6\u5bc4\u5b58\u5668\u7684\u503c\u6765\u8bbe\u7f6eFIFO\u7684\u5927\u5c0f\uff0c\u4ee5\u53caFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\uff0c\u4ee5\u6b64\u8fbe\u5230\u5bf9FIFO\u7684\u63a7\u5236\u3002\u6b64\u5916\uff0c\u8bbe\u7f6eFIFO\u7684\u5177\u4f53\u6b65\u9aa4\u4e5f\u4ecb\u7ecd\u4e86\uff0c\u9996\u5148\u9700\u8981\u6253\u5f00FIFO\uff0c\u7136\u540e\u518d\u8bbe\u7f6eFIFO\u7684\u5927\u5c0f\uff0c\u6700\u540e\u518d\u8bbe\u7f6eFIFO\u7684\u5b58\u50a8\u65b9\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" STM32\u662f\u4e00\u79cd\u9ad8\u6027\u80fd32\u4f4d\u5fae\u63a7\u5236\u5668\uff0c\u5177\u6709\u8d85\u4f4e\u529f\u8017\u3001\u9ad8\u6027\u80fd\u3001\u9ad8\u53ef\u9760\u6027\u7b49\u7279\u70b9\uff0c\u53ef\u7528\u4e8e\u5404\u79cd\u5e94\u7528\u573a\u666f\u3002\u672c\u6587\u5c06\u4ecb\u7ecdSTM32\u662f\u5426\u53ef\u4ee5\u8bbe\u7f6eFIFO\uff0c\u4ee5\u53ca\u5982\u4f55\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[287],"class_list":["post-58919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-stm32"],"_links":{"self":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/58919"}],"collection":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/comments?post=58919"}],"version-history":[{"count":0,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/posts\/58919\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/media?parent=58919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/categories?post=58919"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.viralrail.com\/wp-json\/wp\/v2\/tags?post=58919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u603b\u7ed3<\/h2>\n