上一页 1 ··· 19 20 21 22 23
摘要: 1 u8 _data1[4]; 2 void Configuration(void) 3 { 4 USART_InitTypeDef USART_InitStructure; 5 DMA_InitTypeDef DMA_InitStructure; 6 GPIO_InitTypeDef GPIO_InitStructure; 7 RCC_APB1PeriphClo... 阅读全文
posted @ 2019-07-29 15:58 penuel 阅读(1343) 评论(0) 推荐(0)
摘要: 1 void Configuration(void) 2 { 3 USART_InitTypeDef USART_InitStructure; 4 GPIO_InitTypeDef GPIO_InitStructure; 5 RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART3, ENABLE); 6 //TX 7 GPIO... 阅读全文
posted @ 2019-07-29 15:49 penuel 阅读(1650) 评论(0) 推荐(0)
摘要: 1 static void TIM3_Configuration(void) //10ms 2 { 3 TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; 4 NVIC_InitTypeDef NVIC_InitStructure; 5 6 RCC_APB1PeriphClockCmd(RCC_APB1Periph_TI... 阅读全文
posted @ 2019-07-29 15:42 penuel 阅读(1154) 评论(0) 推荐(0)
摘要: 1 void USART3_Configuration(void) //串口3配置 S 2 { 3 DMA_InitTypeDef DMA_InitStructure; 4 USART_InitTypeDef USART_InitStructure; 5 GPIO_InitTypeDef GPIO_ 阅读全文
posted @ 2019-07-29 15:40 penuel 阅读(1980) 评论(0) 推荐(0)
摘要: 1.构造函数 主要用于对类的private变量初始化 1 stock::stock(const std::string &co, long n, double pr) 2 { 3 company = co; 4 shares = n; 5 share_val = pr; 6 } 7 8 stock: 阅读全文
posted @ 2019-07-29 11:02 penuel 阅读(525) 评论(0) 推荐(0)
摘要: 1.将.ycm_extra_conf.py拷贝到工程目录,然后打开,将自己的include目录添加进去 阅读全文
posted @ 2019-07-28 20:08 penuel 阅读(1436) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23