摘要:
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
阅读(1382)
评论(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
阅读(1679)
评论(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
阅读(1178)
评论(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
阅读(2010)
评论(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
阅读(544)
评论(0)
推荐(0)

浙公网安备 33010602011771号