![]() |
mFrame
|
PORT Pin Configuration Structure. 更多...
#include <Config.h>
公開屬性 | |
Pull | pullSelect: 2 |
Pull Resistor Configuration. | |
PullResistor | pullValueSelect: 1 |
Pull Resistor Value Selection. | |
Rate | slewRate: 1 |
Slew Rate Control. | |
PassiveFilter | passiveFilterEnable: 1 |
Passive Filter Enable. | |
OpenDrain | openDrainEnable: 1 |
Open Drain Output Enable. | |
DriveStrength | driveStrength: 1 |
Drive Strength Control. | |
DriveStrengthDouble | driveStrengthDouble: 1 |
Double Drive Strength Enable. | |
Mux | mux: 4 |
Pin Multiplexer Configuration. | |
InputBuffer | inputBuffer: 1 |
Input Buffer Configuration. | |
Inverted | invertInput: 1 |
Input Inversion Control. | |
uint16 | reserved1: 1 |
Reserved Bit Field. | |
Lock | lockRegister: 1 |
Pin Control Register Lock. | |
PORT Pin Configuration Structure.
Bit-field structure for configuring individual GPIO pin properties and characteristics. This structure maps directly to the PORT Pin Control Register (PCR) layout, providing a convenient way to configure all pin attributes in a single operation.
GPIO引腳配置結構體,用於配置個別GPIO引腳的屬性和特性。 此結構直接映射到PORT引腳控制暫存器(PCR)佈局。
DriveStrength mcxa153::chip::port::Config::driveStrength |
Drive Strength Control.
Controls the output driver strength for normal operation. Affects current drive capability and signal edge rates.
輸出驅動強度控制
DriveStrengthDouble mcxa153::chip::port::Config::driveStrengthDouble |
Double Drive Strength Enable.
Enables double drive strength mode for maximum current capability. Provides enhanced drive strength for heavy loads or long traces.
雙倍驅動強度模式啟用
InputBuffer mcxa153::chip::port::Config::inputBuffer |
Input Buffer Configuration.
Enables/disables the input buffer for digital input functionality. When disabled, pin cannot be read as digital input.
輸入緩衝器配置
Inverted mcxa153::chip::port::Config::invertInput |
Input Inversion Control.
Enables/disables input signal inversion before processing. Inverts the logic level of input signals at the pin level.
輸入信號反相控制
Lock mcxa153::chip::port::Config::lockRegister |
Pin Control Register Lock.
Locks/unlocks the pin configuration to prevent accidental changes. When locked, other configuration bits cannot be modified.
引腳控制暫存器鎖定
Mux mcxa153::chip::port::Config::mux |
Pin Multiplexer Configuration.
Selects the pin function from available peripheral alternatives. Determines which peripheral (GPIO, UART, SPI, etc.) controls the pin.
引腳多工器配置
OpenDrain mcxa153::chip::port::Config::openDrainEnable |
Open Drain Output Enable.
Configures the pin output stage as open drain (open collector). In open drain mode, pin can only pull low or float (high-Z).
開漏輸出模式啟用
PassiveFilter mcxa153::chip::port::Config::passiveFilterEnable |
Passive Filter Enable.
Enables/disables the passive input filter to reduce noise sensitivity. Helps filter out high-frequency noise on input signals.
被動輸入濾波器啟用控制
Pull mcxa153::chip::port::Config::pullSelect |
Pull Resistor Configuration.
Configures the internal pull resistor setting for the pin. Determines whether pull-up, pull-down, or no pull resistor is enabled.
內部上拉/下拉電阻配置
PullResistor mcxa153::chip::port::Config::pullValueSelect |
Pull Resistor Value Selection.
Selects the resistance value when pull resistor is enabled. Provides different resistance strengths for pull-up/pull-down.
上拉/下拉電阻阻值選擇
uint16 mcxa153::chip::port::Config::reserved1 |
Reserved Bit Field.
Reserved bit that should not be modified. Keep at reset value for proper operation.
保留位元欄位
Rate mcxa153::chip::port::Config::slewRate |
Slew Rate Control.
Controls the output signal rise/fall time characteristics. Affects electromagnetic interference (EMI) and signal integrity.
輸出信號轉換速率控制