|
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... |
|
/* LCD1602引腳2(VDD)必須接5V電壓, 不可以接3.3V電壓。其他引腳(包括引腳15-背光電源正)都可以接3.3V電壓 */ /* 必須把J-Link設為不供電(更改內部跳線),... |
|
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
|
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI... |
|
|
|
/* 93C46選默認的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C... |
|
/* 93C46選默認的16位模式,但SPI總線上每次發送/接收8位數據 */ #include <stm32f10x.h> #define _BV(n) (1 <... |
|
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
|
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint... |
|
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 數碼管兩側... |
|
所在的文件夾是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp... |
|
【程序運行效果】  |
|
【示例1:高優先級中斷屏蔽並清除低優先級中斷】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16... |
|
每1位16進制數表示一個I/O端口。 1為10MHz推挽輸出(推挽輸出適合直接驅動)(復用為9) 2為2MHz推挽輸出(復用為a) 3為50MHz推挽輸出(復用為b) 5為10... |
|
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
|
本吧共有主題數91個,帖子數413篇,會員數0位。 |