ADC Configuration ADC配置 |
| ||
Parameter Settings 参数设置 | |||
NVIC Settings 中断优先级设置 | |||
DMA Settings DMA模式设置 | |||
GPIO Settings GPIO设置 | |||
Configure the below parameters: 配置以下参数 | |||
ADC Settings ADC设置 | |||
Clock Prescaler 时钟分频
| Asynchronous clock mode 不同步时钟模式 | ||
Synchronous clock mode divided by 2 同步时钟模式除以2 | |||
Synchronous clock mode divided by 4 同步时钟模式除以4 | |||
Resolution ADC采样分辨率
| ADC 12-bit resolution ADC 12位采样分辨率
| ||
ADC 10-bit resolution ADC 10位采样分辨率 | |||
ADC 8-bit resolution ADC 8位采样分辨率 | |||
ADC 6-bit resolution ADC 6位采样分辨率 | |||
Data Alignment 数据对齐 | Right alignment 数据右对齐模式 | ||
Left alignment 数据左对齐模式 | |||
Scan Conversion Mode 扫描转换模式 | Forward 扫描通道从第一个通道到最后一个通道 | ||
Backward 扫描通道从最后一个通道到第一个通道 | |||
Continuous Conversion Mode 连续转换模式 | Disabled 关闭 | ||
Enabled 打开 | |||
Discontinuous Conversion Mode 间断转换模式 | Disabled 关闭 | ||
Enabled 打开 | |||
DMA Continuous Requests DMA连续请求 | Disabled 关闭 | ||
Enabled 打开 | |||
End of Conversion Selection 转换结束选择 | End of single conversion 单通道转换结束 | ||
End of sequence of conversion 序列转换结束 | |||
End of single or sequence of conversion单通道或序列结束 | |||
Overrun behaviour
| Overrun data preserved | ||
Overrun data overwritten | |||
Low Power Auto Wait 低电压自动等待 | Disabled 关闭 | ||
Enabled 打开 | |||
Low Power Auto Power Off 低电压ADC自动关闭 | Disabled 关闭 | ||
Enabled 打开 | |||
ADC_Regular_ConversionMode ADC规则通道转换模式 | |||
Number Of Conversion 转换的通道个数 | |||
External Trigger Conversion Edge 外部触发转换边沿 | None 没有外部触发 | ||
Trigger detection on the rising edge 上升沿触发检测 | |||
Trigger detection on the rising edge 下降沿触发检测 | |||
Trigger detection on the rising or fallings 上升沿和下降沿触发 | |||
External Trigger Conversion Source 外部触发转换源 | Timer1 Trigger Out event 定时器1触发 | ||
Timer1 Capture Compare4 event 定时器1输出比较4事件 | |||
Timer3 Trigger Out event 定时器3触发输出事件 | |||
Timer15 Trigger Out event 定时器15触发输出事件 | |||
Software Trigger 软件触发转换 | |||
Rank 转换序列号 | |||
| |||
Watchdog 看门狗 | |||
Enable Analog WatchDog Mode 打开模拟看门狗 | |||
Watchdog Mode | Single regular channel 单一规则通道上打开看门狗 | ||
All regular channel 所有规则通道上打开看门狗 | |||
None 关闭看门狗 | |||
High Threshold 看门狗高临界值 | |||
Low Threshold 看门狗低临界值 | |||
Interrupt Mode 中断模式 | Disabled 关闭 | ||
Enabled 打开 | |||
ADC global interrupt ADC 全局中断 | |||
TIM1 Configuration TIM1 配置 | |||
Prescaler 时钟分频数 | |||
Counter Mode 计数模式 | UP 向上计数 | ||
Down 向下计数 | |||
Center Aligned mode1 中间对齐模式1 | |||
Center Aligned mode2 中间对齐模式2 |
| ||
Center Aligned mode3 中间对齐模式3 | |||
Counter Period 计数周期 | |||
Internal Clock Division (CKD) 内部时钟分割 | No Division 内部时钟不分频 | ||
Division by 2 时钟除以2 | |||
Division by 4 时钟除以4 | |||
Repetition Counter 重复计数 | |||
Slave Mode Controller 从模式控制器 Slave mode disable 关闭从模式 | |||
Trigger Output(TRGO) Parameters 触发输出参数设置 | |||
Master/Slave Mode 主从模式 | Disable(no sync between this TIM(Master)and its slaves) | ||
Enable(sync between this TIM(Master)and its slaves) | |||
Trigger Event Selection 触发事件选择 | Reset(UG bit from TIMx_EGR)复位 | ||
Enable(CNT_EN) 使能从定时器 | |||
Update Event 更新事件 | |||
Compare Pulse(OC1) 比较脉冲 | |||
Output Compare(OC1REF) 输出比较1 | |||
Output Compare (OC2REF) 输出比较2 | |||
Output Compare (OC3REF) 输出比较3 | |||
Output Compare (OC4REF) 输出比较4 | |||
Break and dead time management 刹车死区时间管理 | |||
BRK State 刹车状态 | Disable 关闭 | ||
Enable 打开 | |||
BRK Polarity 刹车极性 | High 高电平 | ||
Low 低电平 | |||
Automatic Output State 自动输出状态 | Disabled 关闭 | ||
Enabled 打开 | |||
Off State Selection for Run Mode (OSSR) | Disabled 关闭 | ||
Enabled 打开 | |||
Off State Selection for Idle Mode (OSSI) | Disabled 关闭 | ||
Enabled 打开 | |||
Lock Configuration 定时器锁定配置 | Off 关闭 | ||
Lock Level 1 锁定1 | |||
Lock Level 2 锁定2 | |||
Lock Level 3 锁定3 | |||
Output compare no output channel 2 输出比较输出通道2N | |||
Mode 模式 | Frozen(used for Timing base) 冻结 | ||
Active Level on match 匹配输出高电平 | |||
Inactive Level on match 匹配输出低电平 | |||
Toggle Level on match 匹配翻转电平 | |||
Forced Active 强制输出高电平 | |||
Forced Inactive 强制输出低电平 | |||
Pulse (16 bits value) 脉冲宽度(16位) | |||
CH Polarity 输出通道极性 | High 高 | ||
Low 低 | |||
CH Idle State 输出通道闲置状态 | Set 置高 | ||
Reset 复位低 | |||
Output compare channel 3 输出比较通道3 | |||
Mode 模式 | Frozen(used for Timing base) 冻结 | ||
Active Level on match 匹配输出高电平 | |||
Inactive Level on match 匹配输出低电平 | |||
Toggle on match 匹配翻转电平 | |||
Forced Active 强制输出高电平 | |||
Forced Inactive 强制输出低电平 | |||
Pulse (16 bits value) 脉冲宽度(16位) | |||
CH Polarity 输出通道极性 | High 高 | ||
Low 低 | |||
CH Idle State 输出通道闲置状态 | Set 置高 | ||
Reset 复位低 | |||
| |||
USART1 Configuration 串口1 配置 | |||
Baud Rate 波特率 | |||
Word Length 数据长度 | 8bits(including parity) 8位(包含校验位) | ||
9bits(including parity)9位(包含校验位) | |||
Parity 检验位 | None 没有校验 | ||
Even 偶校验 | |||
Odd 奇校验 | |||
Stop Bits 停止位 | 1 1个停止位 | ||
2 2个停止位 | |||
Advanced Parameters 高级参数设置 | |||
Data Direction 数据传输方向 | Receive and Transmit 接收和发送 | ||
Receive Only 仅接收 | |||
Transmit Only 仅发送 | |||
Over Sampling 过采样 | 16 Samples 采样16次 | ||
8 Samples 采样8次 | |||
Single Sample | Disable 关闭 | ||
Enable 打开 | |||
Advanced Features 高级特性 | |||
Auto Baudrate 自动波特率 | Disabled 关闭 | ||
Enabled 打开 | |||
TX Pin Active Level Is Inverted | Disabled 关闭 | ||
Enabled 打开 | |||
RX Pin Active Level Is Inverted | Disabled 关闭 | ||
Enabled 打开 | |||
Data Are Inverted | Disabled 关闭 | ||
Enabled 打开 | |||
TX and RX Pins Are Swapped 发送和接收引脚交换 | Disabled 关闭 | ||
Enabled 打开 | |||
Overrun Disable 关闭数据覆盖
| Disabled 关闭 | ||
Enabled 打开 | |||
DMA Disable on RX Error RX脚错误关闭DMA | Disabled 关闭 | ||
Enabled 打开 | |||
MSB Is Sent First 最高位先发送 | Disabled 关闭 | ||
Enabled 打开 | |||
| |||
| |||
SPI1 Configuration SPI1 配置 | |||
Frame Format 帧格式 Motorola | |||
Data Size 传输数据大小 | 4 Bits 4位 | ||
5 Bits 5位 | |||
6 Bits 6位 | |||
7 Bits 7位 | |||
8 Bits 8位 | |||
9 Bits 9位 | |||
10 Bits 10位 | |||
11 Bits 11位 | |||
Clock Parameters(时钟参数 ) | |||
Prescaler (for Baud Rate) 分频(针对波特率) | 2 2分频 | ||
4 4分频 | |||
8 8分频 | |||
16 16分频 | |||
Baud Rate 波特率 | |||
Clock Polarity (CPOL) 数据采样时时钟极性 | Low 低 | ||
High 高 | |||
Clock Phase (CPHA) 数据采样时时钟相位 | 1 Edge 第一个边沿 | ||
2 Edge 第二个边沿 | |||
Advanced Parameters 高级参数设置 | |||
CRC Calculation CRC 计算 | Disabled 关闭 | ||
Enabled 打开 | |||
| |||
| |||
| |||
| |||
| |||
I2C1 Configuration I2C1 配置 |
| ||
I2C Speed Mode | Standard Mode 标准模式 | ||
Fast Mode 快速模式 | |||
Fast Mode Plus 快速模式+ | |||
I2C Speed Frequency (KHz) I2C速度 | |||
Rise Time (ns) 上升时间 | |||
Fall Time (ns) 下降时间 | |||
Coefficient of Digital Filter | |||
Analog Filter 模拟滤波器 | Disabled 关闭 | ||
Enabled 打开 | |||
Slave features 从模式特性 | |||
Clock No Stretch Mode 时钟没有扩展模式 | Clock Stretch Disabled 关闭时钟扩展 | ||
Clock Stretch Enabled 打开时钟扩展 | |||
General Call Address Detection 通用呼叫检测 | Disabled 关闭 | ||
Enabled 打开 | |||
Primary Address Length selection 原始地址长度检测 | 7-bit 7位 | ||
10-bit 10位 | |||
Primary slave address 原始从地址 | |||
Dual Address Acknowledged 双地址确认 | Disabled 关闭 | ||
Enabled 打开 | |||
| |||
| |||
| |||
IWDG Configuration 独立看门狗设置 | |||
IWDG counter clock prescaler 独立看门狗计数时钟分频器 | 4 | ||
8 | |||
16 | |||
32 | |||
64 | |||
128 | |||
256 | |||
IWDG window value 独立看门狗值 | |||
IWDG down-counter reload value 独立看门狗向下重装载值 | |||
| |||
| |||
Pin Configuration GPIO口配置 | |||
GPIO Mode GPIO模式 | analog mode 模拟输入端口 | ||
No pull-up and no pull-down 既不上拉也不下拉 | |||
Alternate Function Open Drain 复用开漏输出 | |||
Alternate Function Push Pull 复用推挽 | |||
Maximum output speed 最大输出速度 | Low 低 | ||
Medium 中 | |||
High 高 | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
|
STCubeMX翻译
最新推荐文章于 2025-03-22 01:23:14 发布