Macros | |
| #define | IOCON_PIO_COUNT |
| #define | IOCON_PIO_COUNT2 |
PIO - Analog/Digital I/O control for port..Digital I/O control for port | |
| #define | IOCON_PIO_FUNC_MASK |
| #define | IOCON_PIO_FUNC_SHIFT |
| #define | IOCON_PIO_FUNC(x) |
| #define | IOCON_PIO_MODE_MASK |
| #define | IOCON_PIO_MODE_SHIFT |
| #define | IOCON_PIO_MODE(x) |
| #define | IOCON_PIO_SLEW_MASK |
| #define | IOCON_PIO_SLEW_SHIFT |
| #define | IOCON_PIO_SLEW(x) |
| #define | IOCON_PIO_INVERT_MASK |
| #define | IOCON_PIO_INVERT_SHIFT |
| #define | IOCON_PIO_INVERT(x) |
| #define | IOCON_PIO_DIGIMODE_MASK |
| #define | IOCON_PIO_DIGIMODE_SHIFT |
| #define | IOCON_PIO_DIGIMODE(x) |
| #define | IOCON_PIO_OD_MASK |
| #define | IOCON_PIO_OD_SHIFT |
| #define | IOCON_PIO_OD(x) |
| #define | IOCON_PIO_ASW0_MASK |
| #define | IOCON_PIO_ASW0_SHIFT |
| #define | IOCON_PIO_ASW0(x) |
| #define | IOCON_PIO_ASW1_MASK |
| #define | IOCON_PIO_ASW1_SHIFT |
| #define | IOCON_PIO_ASW1(x) |
| #define | IOCON_PIO_SSEL_MASK |
| #define | IOCON_PIO_SSEL_SHIFT |
| #define | IOCON_PIO_SSEL(x) |
| #define | IOCON_PIO_FILTEROFF_MASK |
| #define | IOCON_PIO_FILTEROFF_SHIFT |
| #define | IOCON_PIO_FILTEROFF(x) |
| #define | IOCON_PIO_ECS_MASK |
| #define | IOCON_PIO_ECS_SHIFT |
| #define | IOCON_PIO_ECS(x) |
| #define | IOCON_PIO_EGP_MASK |
| #define | IOCON_PIO_EGP_SHIFT |
| #define | IOCON_PIO_EGP(x) |
| #define | IOCON_PIO_I2CFILTER_MASK |
| #define | IOCON_PIO_I2CFILTER_SHIFT |
| #define | IOCON_PIO_I2CFILTER(x) |
| #define IOCON_PIO_FUNC | ( | x | ) |
FUNC - Signal(function) select
| #define IOCON_PIO_MODE | ( | x | ) |
MODE - Mode select (on-chip pull-up/pull-down resistor control) 0b00..Inactive. Inactive (no pull-down/pull-up resistor enabled). 0b01..Pull-down. Pull-down resistor enabled. 0b10..Pull-up. Pull-up resistor enabled. 0b11..Repeater. Repeater mode.
| #define IOCON_PIO_SLEW | ( | x | ) |
SLEW - Driver slew rate 0b0..Standard-mode, output slew rate is slower. More outputs can be switched simultaneously. 0b1..Fast-mode, output slew rate is faster. Refer to the appropriate specific device data sheet for details.
| #define IOCON_PIO_INVERT | ( | x | ) |
INVERT - Invert polarity of input signal 0b0..Don't invert the signal. 0b1..Invert the signal.
| #define IOCON_PIO_DIGIMODE | ( | x | ) |
DIGIMODE - Select Digital mode 0b0..Disable digital mode. Digital input set to 0. 0b1..Enable Digital mode. Digital input is enabled.
| #define IOCON_PIO_OD | ( | x | ) |
OD - Controls open-drain mode 0b0..Normal. Normal push-pull output 0b1..Open-drain. Simulated open-drain output (high drive disabled).
| #define IOCON_PIO_ASW0 | ( | x | ) |
ASW0 - Analog switch input control 0b0..Analog switch is open. (disable) 0b1..Analog switch is closed. (enable)
| #define IOCON_PIO_ASW1 | ( | x | ) |
ASW1 - Analog switch input control 0b0..Analog switch is open. (disable) 0b1..Analog switch is closed. (enable)
| #define IOCON_PIO_SSEL | ( | x | ) |
SSEL - Supply Selection bit. 0b0..3V3 Signaling in I2C Mode. 0b1..1V8 Signaling in I2C Mode.
| #define IOCON_PIO_FILTEROFF | ( | x | ) |
FILTEROFF - Controls input glitch filter 0b0..Filter enabled. 0b1..Filter disabled.
| #define IOCON_PIO_ECS | ( | x | ) |
ECS - Pull-up current source enable in I2C mode 0b1..Enabled. Pull resistor is conencted. 0b0..Disabled. IO is in open drain cell.
| #define IOCON_PIO_EGP | ( | x | ) |
EGP - Switch between GPIO mode and I2C mode 0b0..I2C mode 0b1..GPIO mode.
| #define IOCON_PIO_I2CFILTER | ( | x | ) |
I2CFILTER - Configures I2C features for standard mode, fast mode, and Fast Mode Plus operation and High-Speed mode operation. 0b0..I2C 50 ns glitch filter enabled. Typically used for Standard-mode, Fast-mode and Fast-mode Plus I2C. 0b1..I2C 10 ns glitch filter enabled. Typically used for High-speed mode I2C.