Miya Miyagawa
/
OREWOTAOSITAI
aaaaa
System/Initialize/Initialize.cpp@0:562021ed1ba9, 2018-01-13 (annotated)
- Committer:
- t_yamamoto
- Date:
- Sat Jan 13 13:33:09 2018 +0000
- Revision:
- 0:562021ed1ba9
NaganoNCT-MainBoardNRP2018
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 |