STM32
LED
#include"stm32f10x.h"
int main(void)
{
RCC->APB2ENR|=1<<4;
GPIOC->CRL& = 0xF0FFFFFF;
GPIOC->CRL| = 0x03000000;
GPIOC->BSRR = 0x00000040;
GPIOC->BSRR = 0x00400000;
GPIOC->CRH& = 0xFFFFFFF0;
GPIOC->CRH| = 0x00000003;
GPIOC->BSRR = 0x00000100;
GPIOC->BSRR = 0x01000000;
}
EXTI
void EXTI_Configuration(void)
{
EXTI_InitTypeDef.EXTI_InitStructure;
EXTI_InitStructure.EXTI_Line
STM32最先出现在Python成神之路。
共有 0 条评论