![INNOVASUB Monitoring Development Board Скачать руководство пользователя страница 28](http://html.mh-extra.com/html/innovasub/monitoring-development-board/monitoring-development-board_user-manual_2063633028.webp)
28
Under certain conditions, the power manager can decide to clear EN_REG2 which will
dis-allow the main regulator and shut down the board. The only way to start the board
again is to push SW2 or SW3 to set EN_REG1 high again and power the MSP430.
Please note in the sample code, the MSP430 set EN_REG2 high at start-up but never
clears it. Therefore, to shut down the UEPM Development Board, you need to clear
SW1 off.
LCD
The LCD code is not implemented in the UEPM sample code.
UART
The UART source code configures the UART ports according to the configuration.
Please note that the XBees are configured to a baud rate of 2400 whereas the
INNOVASUB Pressure Sensors are configured for a baud rate of 9600.
UART source code also implements the low level serial communication buffering for a
highly efficient communication. The data to be transmitted or received is buffered and
called by interrupts only.
XBee
The XBee source code implements the status pins of the XBee modules. These status
pins inform on the connection status of the module (TCP/IP and WiFi/Bluetooth
association).
Please note that the RTS/CTS function is not implemented. It is advised that they be
implemented in this file if required.
Piezo
The piezo source code contains the function to initialize the inputs for the piezo-
switches. It setups an interrupt to be called at every piezo-switch impulse. The interrupt
increments a counter to count the number of impulses of the each switch and it moves
the LEDs up when PIEZO1 is pressed and down when PIEZO2 is pressed.
SD Slot
The SD Slot source code setups an interruptible input to detect when a Micro-SD card is
inserted to the Micro-SD Slot.
Note: this is not implementing the read/write functions to the card. But it would be
advised to implement the read/write functions (if needed) in this part of the project.