| Online Development Notebook > Index > ODN > Raw Device Programming > Raw Command Summary |
Raw Command Summary
The Command Table below summarizes all of the allowed U4xx commands. The Command Name is for easy reference to the command, it is the command number given below in hexadecimal format that is used in the first byte of the command string for the command. The individual command pages that follow this summary give detailed information on the format and use of these commands.
Empty entries in the table indicate unused command values. These values are reserved.
The support files are included with the application samples and also located here (all application files).
| Command Name | # | Description |
| InitPortsCmd | 00 | Initialize both 8 bit ports as passive inputs |
| WriteACmd | 01 | Write to port A |
| WriteBCmd | 02 | Write to port B |
| WriteABitCmd | 03 | Write masked values to port A |
| WriteBBitCmd | 04 | Write masked values to port B |
| ReadACmd | 05 | Read port A |
| ReadBCmd | 06 | Read port B |
| SetBitCmd | 07 | Set a single line⁄bit high |
| ReserBitCmd | 08 | Reset a single line⁄bit low |
| DirectionACmd | 09 | Port A direction |
| DirectionBCmd | 0A | Port B direction |
| StrobeWriteCmd | 0B | Strobe Write |
| StrobeReadCmd | 0C | Strobe Read |
| StrobeWritesCmd | 0D | Multi-byte Strobe Write |
| StrobeWritesCmd | 0E | Multi-byte Strobe Read |
| 0F | ||
| InitLCDCmd | 10 | Init LCD |
| LCDCmdCmd | 11 | Write LCD command |
| LCDDataCmd | 12 | Write LCD data |
| 13 | ||
| InitSPICmd | 14 | Init SPI pins and SPI control attributes |
| SPIMasterCmd | 15 | Send⁄Receive SPI data as a master |
| SPISlaveWriteCmd | 16 | Write SPI slave message |
| SPISlaveReadCmd | 17 | Read SPI slave message |
| 18 | ||
| 19 | ||
| 1A | ||
| 1B | ||
| StepperCmd | 1C | Control two stepper motor digital channels |
| Reset1WireCmd | 1D | Select pin for 1-wire bus and send reset command to the bus. |
| Write1WireCmd | 1E | Write to 1-wire bus |
| Read1WireCmd | 1F | Read from 1-wire bus |
| Hardware: U401 USB Interface U421 USB Interface |
| Programming: USBm DLL Programming Download Files |
| Application Notes: U4x1 Application Notes Misc Applications and Information FAQ |