Macros | |
| #define | IOPCTL2_PIO_COUNT |
| #define | IOPCTL2_PIO_COUNT2 |
PIO - IOPCTL Configuration | |
| #define | IOPCTL2_PIO_FSEL_MASK |
| #define | IOPCTL2_PIO_FSEL_SHIFT |
| #define | IOPCTL2_PIO_FSEL(x) |
| #define | IOPCTL2_PIO_PUPDENA_MASK |
| #define | IOPCTL2_PIO_PUPDENA_SHIFT |
| #define | IOPCTL2_PIO_PUPDENA(x) |
| #define | IOPCTL2_PIO_PUPDSEL_MASK |
| #define | IOPCTL2_PIO_PUPDSEL_SHIFT |
| #define | IOPCTL2_PIO_PUPDSEL(x) |
| #define | IOPCTL2_PIO_IBENA_MASK |
| #define | IOPCTL2_PIO_IBENA_SHIFT |
| #define | IOPCTL2_PIO_IBENA(x) |
| #define | IOPCTL2_PIO_ODENA_MASK |
| #define | IOPCTL2_PIO_ODENA_SHIFT |
| #define | IOPCTL2_PIO_ODENA(x) |
| #define | IOPCTL2_PIO_IIENA_MASK |
| #define | IOPCTL2_PIO_IIENA_SHIFT |
| #define | IOPCTL2_PIO_IIENA(x) |
| #define | IOPCTL2_PIO_DRIVE_MASK |
| #define | IOPCTL2_PIO_DRIVE_SHIFT |
| #define | IOPCTL2_PIO_DRIVE(x) |
| #define IOPCTL2_PIO_FSEL | ( | x | ) |
FSEL - Function Selector (Digital Function) 0b0000..Function 0 0b0001..Function 1 0b0010..Function 2 0b0011..Function 3 0b0100..Function 4 0b0101..Function 5 0b0110..Function 6 0b0111..Function 7 *..
| #define IOPCTL2_PIO_PUPDENA | ( | x | ) |
PUPDENA - Pullup / Pulldown Enable 0b0..Disable 0b1..Enable
| #define IOPCTL2_PIO_PUPDSEL | ( | x | ) |
PUPDSEL - Pullup or Pulldown Selector 0b0..Enables the internal pull-down resistor. 0b1..Enables the internal pull-up resistor.
| #define IOPCTL2_PIO_IBENA | ( | x | ) |
IBENA - Input Buffer Enable 0b0..Disables 0b1..Enables
| #define IOPCTL2_PIO_ODENA | ( | x | ) |
ODENA - Open-drain Mode Enable 0b0..Disables for normal push-pull output 0b1..Enables for simulated open-drain output (high drive disabled)
| #define IOPCTL2_PIO_IIENA | ( | x | ) |
IIENA - Input Invert Enable 0b0..Disables 0b1..Enables
| #define IOPCTL2_PIO_DRIVE | ( | x | ) |
DRIVE - Drive 0b00..100 ohm 0b01..66 ohm 0b10..50 ohm 0b11..33 ohm