我是靠谱客的博主 勤劳毛巾,这篇文章主要介绍充电桩设计之4G模块 板级控制接口,现在分享给大家,希望可以做个参考。

复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//0--off 1--on void app4g_standby_io_init(void)//power { GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; //PB6复用为TIM4的通道1 GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOC, &GPIO_InitStructure); } void app4g_standby_io_high(void) { GPIO_SetBits(GPIOC, GPIO_Pin_0); } void app4g_standby_io_low(void) { GPIO_ResetBits(GPIOC, GPIO_Pin_0); } void app4g_reset_io_init(void) { GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; //PB6复用为TIM4的通道1 GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(GPIOC, &GPIO_InitStructure); } void app4g_reset_io_high(void) { GPIO_SetBits(GPIOC, GPIO_Pin_1); } void app4g_reset_io_low(void) { GPIO_ResetBits(GPIOC, GPIO_Pin_1); } uint32_t start_time_4g = 0; uin

最后

以上就是勤劳毛巾最近收集整理的关于充电桩设计之4G模块 板级控制接口的全部内容,更多相关充电桩设计之4G模块内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(107)

评论列表共有 0 条评论

立即
投稿
返回
顶部