| | 771 | |
|---|
| | 772 | /* Buffer Commands */ |
|---|
| | 773 | // BM buffer mode |
|---|
| | 774 | // RF read frame |
|---|
| | 775 | |
|---|
| | 776 | /* Camera Module Commands */ |
|---|
| | 777 | cmucam2_cmds[CAMERA_REG] = "CR"; |
|---|
| | 778 | // CP camera power |
|---|
| | 779 | // CT camera type |
|---|
| | 780 | |
|---|
| | 781 | /* Data Rate Commands */ |
|---|
| | 782 | // DM delay mode |
|---|
| | 783 | cmucam2_cmds[POLL_MODE] = "PM"; |
|---|
| | 784 | // PS packet skip |
|---|
| | 785 | // RM raw mode |
|---|
| | 786 | // PF packet filter |
|---|
| | 787 | // OM output packet mask |
|---|
| | 788 | |
|---|
| | 789 | /* Servo Commands */ |
|---|
| | 790 | cmucam2_cmds[SET_SERVO] = "SV"; |
|---|
| | 791 | // SP servo parameters |
|---|
| | 792 | // GP get servo position |
|---|
| | 793 | // SM servo mask |
|---|
| | 794 | // SO servo output |
|---|
| | 795 | |
|---|
| | 796 | /* Image Windowing Commands */ |
|---|
| | 797 | cmucam2_cmds[SEND_FRAME] = "SF"; |
|---|
| | 798 | cmucam2_cmds[DOWN_SAMPLE] = "DS"; |
|---|
| | 799 | cmucam2_cmds[VIRTUAL_WINDOW] = "VW"; |
|---|
| | 800 | // FS frame stream |
|---|
| | 801 | cmucam2_cmds[HI_RES] = "HR"; |
|---|
| | 802 | cmucam2_cmds[GET_WINDOW] = "GW"; |
|---|
| | 803 | // PD pixel difference |
|---|
| | 804 | |
|---|
| | 805 | /* Auxiliary I/O Commands */ |
|---|
| | 806 | // GB get button |
|---|
| | 807 | // GI get auxiliary I/O |
|---|
| | 808 | cmucam2_cmds[LED_0] = "L0"; |
|---|
| | 809 | // L1 LED control |
|---|
| | 810 | |
|---|
| | 811 | /* Color Tracking Commands */ |
|---|
| | 812 | cmucam2_cmds[TRACK_COLOR] = "TC"; |
|---|
| | 813 | cmucam2_cmds[TRACK_INVERT] = "TI"; |
|---|
| | 814 | cmucam2_cmds[TRACK_WINDOW] = "TW"; |
|---|
| | 815 | cmucam2_cmds[NOISE_FILTER] = "NF"; |
|---|
| | 816 | cmucam2_cmds[LINE_MODE] = "LM"; |
|---|
| | 817 | cmucam2_cmds[GET_TRACK] = "GT"; |
|---|
| | 818 | // ST set tracking parameters |
|---|
| | 819 | |
|---|
| | 820 | /* Histogram Commands */ |
|---|
| | 821 | cmucam2_cmds[GET_HISTOGRAM] = "GH"; |
|---|
| | 822 | // HC histogram config |
|---|
| | 823 | // HT histogram track |
|---|
| | 824 | |
|---|
| | 825 | /* Frame Differencing Commands */ |
|---|
| | 826 | cmucam2_cmds[FRAME_DIFF] = "FD"; |
|---|
| | 827 | // DC difference channel |
|---|
| | 828 | // LF load frame |
|---|
| | 829 | // MD mask difference |
|---|
| | 830 | // UD upload difference |
|---|
| | 831 | // HD hires difference |
|---|
| | 832 | |
|---|
| | 833 | /* Color Statistics Commands */ |
|---|
| | 834 | cmucam2_cmds[GET_MEAN] = "GM"; |
|---|
| | 835 | |
|---|
| | 836 | /* System Level Commands */ |
|---|
| | 837 | // SD sleep deeply |
|---|
| | 838 | // SL sleep |
|---|