MB2146-450-E Setup Guide
Contents
MCU-AN-500072-E-10 – Page
5
3.5.8
Reset Operation....................................................................................... 29
3.5.9
Test Pin ................................................................................................... 29
3.5.10 Battery Usage .......................................................................................... 29
4
SAMPLE CODE MANUAL ........................................................................................... 30
4.1 Project Structure.................................................................................................... 30
4.2 Source Code File Description ................................................................................ 31
4.2.1
ADC .c ..................................................................................................... 31
4.2.2
Beep .c .................................................................................................... 32
4.2.3
EEPROM .c ............................................................................................. 32
4.2.4
Ext-interrupt .c ......................................................................................... 32
4.2.5
I2C .c ....................................................................................................... 33
4.2.6
LCD .c ..................................................................................................... 33
4.2.7
RTC .c ..................................................................................................... 34
4.2.8
UART .c ................................................................................................... 35
4.2.9
delay_try Function ................................................................................... 35
4.3 Global Variable Description ................................................................................... 36
4.4 How to Add these Library ...................................................................................... 37
4.5 Usage Demo ......................................................................................................... 37
5
DEVELOPMENT PLATFORM QUICK START ............................................................ 38
5.1 Tools Setup Sequence .......................................................................................... 38
5.2 Open Project and Start Debug ............................................................................... 38
5.3 Operation Precautions ........................................................................................... 38