Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MODSERIAL USBDevice_for_Rev_C_HW mbed
Fork of mbed_sv_firmware_with_init by
Diff: main.cpp
- Revision:
- 13:a390c4798a0d
- Parent:
- 12:d298b41bac0d
- Child:
- 15:713c26178a7d
--- a/main.cpp Fri Jan 23 01:55:34 2015 +0000 +++ b/main.cpp Fri Jan 23 01:58:21 2015 +0000 @@ -297,14 +297,14 @@ * - dummy (2 bytes) values are don't-care - fillers for RFID CRC bytes * * GPIO data bits: - * 0. LED - Error 0 = on, 1 = off - * 1. LED - Comm state 0 = on, 1 = off - * 2. RFID interrupt input 0 = off, 1 = on (inverted in h/w) - * 3. RFID in-system-prog 0 = off, 1 = on (inverted in h/w) - * 4. RFID reset 0 = off, 1 = on (inverted in h/w) - * 5. RFID power enable for first prototype, 0 = off, 1 = on / for production, 0 = on, 1 = off - * 6. RFID over-current 0 = overcurrent detected, 1 = OK - * 7. Proximity interrupt 0 = interrupt, 1 = idle (This pin may not return anything meaningful here. The interrupt is edge triggered). + * - 0 LED - Error 0 = on, 1 = off + * - 1 LED - Comm state 0 = on, 1 = off + * - 2 RFID interrupt input 0 = off, 1 = on (inverted in h/w) + * - 3 RFID in-system-prog 0 = off, 1 = on (inverted in h/w) + * - 4 RFID reset 0 = off, 1 = on (inverted in h/w) + * - 5 RFID power enable for first prototype, 0 = off, 1 = on / for production, 0 = on, 1 = off + * - 6 RFID over-current 0 = overcurrent detected, 1 = OK + * - 7 Proximity interrupt 0 = interrupt, 1 = idle (This pin may not return anything meaningful here. The interrupt is edge triggered). * * @param [in/out] gpio_buffer - GPIO states * @@ -342,14 +342,14 @@ * - dummy (2 bytes) values are don't-care - fillers for RFID CRC bytes * * GPIO data bits: - * 0. LED - Error 0 = on, 1 = off - * 1. LED - Comm state 0 = on, 1 = off - * 2. RFID interrupt input 0 = off, 1 = on (inverted in h/w) - * 3. RFID in-system-prog 0 = off, 1 = on (inverted in h/w) - * 4. RFID reset 0 = off, 1 = on (inverted in h/w) - * 5. RFID power enable for first prototype, 0 = off, 1 = on / for production, 0 = on, 1 = off - * 6. RFID over-current READ ONLY, ignored here - * 7. Proximity interrupt READ ONLY, ignored here + * - 0 LED - Error 0 = on, 1 = off + * - 1 LED - Comm state 0 = on, 1 = off + * - 2 RFID interrupt input 0 = off, 1 = on (inverted in h/w) + * - 3 RFID in-system-prog 0 = off, 1 = on (inverted in h/w) + * - 4 RFID reset 0 = off, 1 = on (inverted in h/w) + * - 5 RFID power enable for first prototype, 0 = off, 1 = on / for production, 0 = on, 1 = off + * - 6 RFID over-current 0 = overcurrent detected, 1 = OK + * - 7 Proximity interrupt 0 = interrupt, 1 = idle (This pin may not return anything meaningful here. The interrupt is edge triggered). * * @param [in/out] gpio_buffer - GPIO states *