Added a GPIO to power on/off for external I2C sensor(s) (with LEDs)
Dependencies: UniGraphic mbed vt100
18-Jun-2018 外部センサの電源オン・オフ機能は下位互換の為に無効になっていました。 この版で再度有効にしました。
af_utils/pending.h@1:8d65cfc3a2e2, 2018-06-18 (annotated)
- Committer:
- Rhyme
- Date:
- Mon Jun 18 01:56:00 2018 +0000
- Revision:
- 1:8d65cfc3a2e2
- Parent:
- 0:846e2321c637
External sensor power on/off function enabled. (Previously disabled)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Rhyme | 0:846e2321c637 | 1 | #ifndef _PENDING_H_ |
Rhyme | 0:846e2321c637 | 2 | #define _PENDING_H_ |
Rhyme | 0:846e2321c637 | 3 | #include "mbed.h" |
Rhyme | 0:846e2321c637 | 4 | #include "afLib.h" |
Rhyme | 0:846e2321c637 | 5 | #include "af_attributes.h" |
Rhyme | 0:846e2321c637 | 6 | |
Rhyme | 0:846e2321c637 | 7 | class pending_class { |
Rhyme | 0:846e2321c637 | 8 | public: |
Rhyme | 0:846e2321c637 | 9 | pending_class() ; |
Rhyme | 0:846e2321c637 | 10 | pending_class( |
Rhyme | 0:846e2321c637 | 11 | uint8_t messageType, |
Rhyme | 0:846e2321c637 | 12 | uint16_t attrId, |
Rhyme | 0:846e2321c637 | 13 | uint8_t requestId, |
Rhyme | 0:846e2321c637 | 14 | uint16_t valueLen, |
Rhyme | 0:846e2321c637 | 15 | uint8_t *value |
Rhyme | 0:846e2321c637 | 16 | ) ; |
Rhyme | 0:846e2321c637 | 17 | ~pending_class() ; |
Rhyme | 0:846e2321c637 | 18 | |
Rhyme | 0:846e2321c637 | 19 | request_t *request ; |
Rhyme | 0:846e2321c637 | 20 | uint32_t submit_time ; |
Rhyme | 0:846e2321c637 | 21 | uint32_t replied_time ; |
Rhyme | 0:846e2321c637 | 22 | } ; |
Rhyme | 0:846e2321c637 | 23 | #endif /* _PENDING_H_ */ |