| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
swm_8xx.c File Reference
`#include "chip.h"`

Go to the source code of this file.

## Macros
#define | PINASSIGN_IDX(movable) ((movable >> 4))
#define | PINSHIFT(movable) (8 * (movable & (0xF)))

## Functions
void | Chip_SWM_MovablePinAssign (CHIP_SWM_PIN_MOVABLE_T movable, CHIP_PINx_T pin)
| Assign movable pin function to physical pin in Switch Matrix.
void | Chip_SWM_FixedPinEnable (CHIP_SWM_PIN_FIXED_T pin, bool enable)
| Enables or Disable Fixed Function Pin in the Switch Matrix.
bool | Chip_SWM_IsEnabled (CHIP_SWM_PIN_FIXED_T pin)
| Tests whether a pin is enabled or disabled in the Switch Matrix.

## Macro Definition Documentation

#define PINASSIGN_IDX | ( |  | movable | ) | ((movable >> 4))

Definition at line 38 of file swm_8xx.c.

#define PINSHIFT | ( |  | movable | ) | (8 * (movable & (0xF)))

Definition at line 39 of file swm_8xx.c.