本吧共有主題數108個,帖子數468篇,蝶粉1位。
內容轉換:不轉換▼
  點擊 回復 標題 作者 最後回復
  882 4
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define CS_0 (GPIOA->BRR = GPI...
巨大八爪鱼 2-28  巨大八爪鱼
  779 2
巨大八爪鱼 2-26  巨大八爪鱼
  720 0
/* 93C46选默认的16位模式 */
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define C...
巨大八爪鱼 2-25  巨大八爪鱼
  943 2
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */
#include <stm32f10x.h>
#define _BV(n) (1 <...
巨大八爪鱼 2-24  巨大八爪鱼
  773 2
#include <stm32f10x.h>
void delay(void)
{
    uint32_t i;...
巨大八爪鱼 2-20  巨大八爪鱼
  834 3
#include <stm32f10x.h>
#include <string.h>
#define _BV(n) (1 << (n))
uint...
巨大八爪鱼 1-16  巨大八爪鱼
  676 1
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t num[2] = {0, 0}; // 数码管两侧...
巨大八爪鱼 1-16  巨大八爪鱼
  637 0
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
巨大八爪鱼 1-16  巨大八爪鱼
  953 3
【程序运行效果】
巨大八爪鱼 1-16  巨大八爪鱼
  788 6
【示例1:高优先级中断屏蔽并清除低优先级中断】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint16...
巨大八爪鱼 1-15  巨大八爪鱼
  850 4
每1位16进制数表示一个I/O端口。
1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9)
2为2MHz推挽输出(复用为a)
3为50MHz推挽输出(复用为b)
5为10...
巨大八爪鱼 1-15  巨大八爪鱼
  793 5
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t seg8[] = {0xc0, 0xf9, 0xa...
巨大八爪鱼 1-14  巨大八爪鱼
  786 8
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define SCL_1 GPIOB->BSRR = _B...
巨大八爪鱼 1-13  巨大八爪鱼
  858 4
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
uint8_t seg8[]...
巨大八爪鱼 1-11  巨大八爪鱼
  870 5
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
uint8_t seg8[]...
巨大八爪鱼 1-11  巨大八爪鱼
  722 3
【程序】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t i = 0;
uint8_t...
巨大八爪鱼 1-10  巨大八爪鱼
  836 9
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
void delay(void)
{...
巨大八爪鱼 1-10  巨大八爪鱼
  546 0
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t cnt = 0; // 匹配计数
uint8...
巨大八爪鱼 1-9  巨大八爪鱼
  471 1
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint32_t data;
uint8_t seg8[]...
巨大八爪鱼 1-8  巨大八爪鱼
  601 1
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t seg8[] = {0xc0, 0xf9, 0xa...
巨大八爪鱼 12-30  巨大八爪鱼
  700 3
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t seg8[] = {0xc0, 0xf9, 0xa...
巨大八爪鱼 12-30  巨大八爪鱼
  670 6
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t num = 0;
uint8_t s...
巨大八爪鱼 12-19  巨大八爪鱼
  1030 9
巨大八爪鱼 11-22  巨大八爪鱼
  809 1
首先点击菜单栏中的Options -> Project settings...命令,在Production选项卡中的Actions performed by "Production Progra...
巨大八爪鱼 11-21  巨大八爪鱼
  1397 10
【1】下载安装Keil uVision5 MDK-ARM。
打开网站:http://www.keil.com/
选择MDK-ARM,填写个人注册信息后可下载,然后安装。
(四个可以同...
巨大八爪鱼 10-3  巨大八爪鱼
  981 1
地址:http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/st...
巨大八爪鱼 9-27  巨大八爪鱼
  571 2
巨大八爪鱼 7-3  巨大八爪鱼
  725 7
讀取屏幕上寫入的內容以及光標的位置。
巨大八爪鱼 7-3  巨大八爪鱼
  694 6
巨大八爪鱼 7-1  巨大八爪鱼
  676 3
【main.c】
#include <stm32f10x.h>
int main(void)
{
    GPIO_InitTypeD...
巨大八爪鱼 7-1  巨大八爪鱼
  654 3
线反转法也是识别闭合键的一种常用方法,该法比行扫描速度快。
先将行线作为输出线,列线作为输入线,行线输出全0信号,读入列线的值,那么在闭合键所在的列线上的值必为0;然后从列线输出全0信号,再读取...
巨大八爪鱼 7-1  巨大八爪鱼
  728 7
【接线】
巨大八爪鱼 7-1  巨大八爪鱼
  732 4
默认情况下,由于JTAG没有关闭,因此PB3~4不能作为普通I/O口使用。此外,为了用串口方式下载程序,还需在STM32转接板上插上BOOT1的跳线(绿色转接板的左上角),这更是导致了PB2~...
巨大八爪鱼 6-30  巨大八爪鱼
  650 4
巨大八爪鱼 6-30  巨大八爪鱼
  802 7
【电路】
巨大八爪鱼 6-30  巨大八爪鱼
  705 1
MDK-ARM 使用中一直有个很纠结的问题,中文字符支持不好。
比如写代码注释,使用中文删除字符就会只删除一半问题。复制粘贴代码中间有中文就会出现乱码问题。
想过换IAR,新学个I...
巨大八爪鱼 6-30  巨大八爪鱼
  692 1
本吧简介 [圖片]
巨大八爪鱼 6-30  巨大八爪鱼
  599 0
#include <stm32f10x.h>
void delay(void)
{
 uint32_t i;
 for (i = 0; i...
巨大八爪鱼 6-30  巨大八爪鱼
  748 3
【接线】
巨大八爪鱼 6-30  巨大八爪鱼
  751 5
【症状】
HTML帮助文件:
双击打开后无法显示其内容:
巨大八爪鱼 6-30  巨大八爪鱼
  581 2
关于如何新建使用标准固件库的工程,请参阅:https://zh.arslanbar.net/post.php?t=24015
【程序代码——main.c】
#include <stm...
巨大八爪鱼 5-14  巨大八爪鱼
  553 0
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t segdisp[] = {0xc0, 0xf9,...
巨大八爪鱼 5-14  巨大八爪鱼
  553 1
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t segdisp[] = {0xc0, 0xf9,...
巨大八爪鱼 5-14  巨大八爪鱼
  621 2
【代码】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint32_t n = 12345678;...
巨大八爪鱼 5-14  巨大八爪鱼
  653 2
在STM32中也可以像C51和AVR那样直接读取和操作I/O口。
其中,GPIOx->ODR几乎完全等价于C51中的Px和AVR中的PORTx,GPIOx->IDR则等价于AVR中的...
巨大八爪鱼 5-14  巨大八爪鱼
  589 2
拿掉流水灯下面74HC165右边的跳线帽即可。(如图所示)
就是因为这个并入串出锁存器影响了PA7口的正常功能。。。。
巨大八爪鱼 5-13  巨大八爪鱼
  1198 13
标准库的下载请参阅:https://zh.arslanbar.net/post.php?t=24014
新建工程的步骤请参阅:
http://jingyan.baidu.com/album...
巨大八爪鱼 5-13  巨大八爪鱼
  883 3
http://www2.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-emb...
巨大八爪鱼 5-13  巨大八爪鱼
  585 1
【程序】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
uint8_t...
巨大八爪鱼 4-23  巨大八爪鱼
  539 1
【程序】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
void de...
巨大八爪鱼 4-23  巨大八爪鱼

發表帖子

標題:
內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)

本吧信息

本吧粉絲:1
吧主:
會員: 蝶粉1
分類:程序設計

STM32簡介

STM32 is a family of 32-bit microcontroller and microprocessor integrated circuits by STMicroelectr...

精品區

本吧暫無精品區分類。

鏈接

本吧暫無鏈接。
 
©2010-2025 Purasbar Ver2.0
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。