Main Content

外设管理

使用模块、外设 App 和配置参数设置配置 Infineon® AURIX™ TC4x 微控制器

在与目标硬件通信之前,请先应用模块设置、硬件配置参数和外设 App 设置。

模块

全部展开

Digital Port ReadRead GPIO pin(s) status (自 R2022b 起)
Digital Port WriteSet GPIO pin(s) status (自 R2022b 起)
Hardware InterruptTrigger downstream function-call subsystem from an interrupt service routine (自 R2022b 起)
EncoderMeasures rotation of motor in ticks (自 R2022b 起)
PWMGenerate pulse width modulated waveforms (自 R2022b 起)
QSPIWrite data to and read data from an SPI peripheral device (自 R2022b 起)
TMADCMeasure voltage of an analog input pin (自 R2022b 起)
DSADCMeasure voltage of an analog input pin using delta-sigma conversion (自 R2023b 起)
SENTRead high-resolution sensor data over Single Edge Nibble Transmission (SENT) protocol (自 R2023b 起)
FCCDetect when analog input signal crosses 10-bit threshold value (自 R2024a 起)
ResolverMeasure position of resolver sensor (自 R2024a 起)
CDSPProcess data output from ADC peripherals of IFX TC4x (自 R2024a 起)
Byte Pack将输入信号转换为 uint8 向量
Byte Unpackuint8 向量转换为输入信号
Byte Reversal反转输入字中的字节顺序
Memory CopyCopy data from and to memory section

工具

硬件映射Map tasks and peripherals in a model to hardware board configurations (自 R2022b 起)
任务Map tasks in the Infineon AURIX to interrupt service routines on the hardware board (自 R2022b 起)
数字端口读取外设配置Map Digital Port Read peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
数字端口写入外设配置Map Digital Port Write peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
编码器外设配置Map encoder peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
PWM 外设配置Map PWM peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
QSPI 外设配置Map QSPI peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
TMADC 外设配置Map TMADC peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2022b 起)
DSADC 外设配置Map DSADC peripherals in the Infineon AURIX model to peripheral registers in the MCU (自 R2023b 起)
SENT 配置Map data transfer over SENT protocol in the Infineon AURIX model to peripheral registers in the MCU (自 R2023b 起)
FCC 外设配置Map FCC peripherals in the model to peripheral registers in MCU (自 R2024a 起)
解析器外设配置Map resolver peripherals in model to peripheral registers in MCU (自 R2024a 起)
CDSP 外设配置Map CDSP peripherals in the model to peripheral registers in the MCU (自 R2024a 起)

模型设置

主题