Miya Miyagawa
/
mainboardnrp2018
aaaaa
System/Initialize/Initialize.cpp@10:53a92f2ab1c4, 2019-02-21 (annotated)
- Committer:
- Ryosei
- Date:
- Thu Feb 21 10:06:09 2019 +0000
- Revision:
- 10:53a92f2ab1c4
- Parent:
- 0:562021ed1ba9
unkounko
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
t_yamamoto | 0:562021ed1ba9 | 1 | #include "Initialize.h" |
t_yamamoto | 0:562021ed1ba9 | 2 | |
t_yamamoto | 0:562021ed1ba9 | 3 | #include "mbed.h" |
t_yamamoto | 0:562021ed1ba9 | 4 | #include "../../Communication/XBee/XBee.h" |
t_yamamoto | 0:562021ed1ba9 | 5 | #include "../../Input/Switch/Switch.h" |
t_yamamoto | 0:562021ed1ba9 | 6 | #include ".././Output/Motor/Motor.h" |
t_yamamoto | 0:562021ed1ba9 | 7 | |
t_yamamoto | 0:562021ed1ba9 | 8 | void SystemInitialize(void) { |
t_yamamoto | 0:562021ed1ba9 | 9 | XBEE::Controller::Initialize(); |
t_yamamoto | 0:562021ed1ba9 | 10 | SWITCH::Switch::Initialize(); |
t_yamamoto | 0:562021ed1ba9 | 11 | MOTOR::Motor::Initialize(); |
t_yamamoto | 0:562021ed1ba9 | 12 | |
t_yamamoto | 0:562021ed1ba9 | 13 | //割り込み許可 |
t_yamamoto | 0:562021ed1ba9 | 14 | __enable_irq(); |
t_yamamoto | 0:562021ed1ba9 | 15 | } |
t_yamamoto | 0:562021ed1ba9 | 16 |