Home
mb9aa30n series bluemoon-evb firmware
Contents
1. 20 6 2 6 uint8 t 48 6 21 6 2 7 LOdEomPan peu sai iis 21 6 28 LedSegPin 21 n MES PN 21 62 10 LCD Disable bte timentem le ita bem RUE 22 Bo rm 22 6 2 12 BilOMeload Het INIT a s stssaasssssse pila Sei 22 6 2 13 BTOTimer_Halt MMC 22 EUM Up c 23 6 2 15 Eint Init McuPinNamoe wint amp ttp Huhn pra pa UE aa RA PI kaada 23 6 2 16 Eint Disable McuPinNamoe seeeesemmemn 23 6 2 17 Lyd ID 23 7 INTERRUPT FUNCTION iier eise o Uta EE nein ees 24 LE Function EIST p T 24 7 2 Function nesen en nen 24 12 1 a R E 24 7 2 2 MINOT 7 ANG Rr 24 7223 rc 24 8 DEMO SYSTEM eee M eed 25 MCU UM 510107 E 11 Page 4 Bluemoon EVB Firmware V1 1 0 FUJITSU Contents 8 1 System aes MINE o o NM 25 8 2 iia cl CN oo o E 25 8 3 System Firmware Design eiie entis tase en iiic Put UD bI S uid 26 8 3 1 User Interface Rm 26 8 3 2 System Main LOopmmasoksstassmuaosamma v te um m sttu testm eet vai het kees n 27 0 uA crm
2. Prototype void RtcModeSet void Parameter void Return void Description Enter RTC setting mode Remark N A 4 3 8 EnterLowerPowerModeProcess Prototype void EnterLowerPowerModeProcess void Parameter void Return void Description Enter low power consumption mode Remark N A MCU UM 510107 E 11 Page 11 e Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 4 System Function l 4 3 9 TscKeyScanf Prototype void TscKeyScanf void Parameter void Return void Description TSC key scan Remark N A 4 3 10 uint8 t TSCKey UpdateBaseline uint8 t Prototype uint8 t TSCKey UpdateBaseline uint8 t Key Num Parameter Key Num Indication the number of touch keys need filter Return 1 OK other Error Description Update TSC base line Remark N A MCU UM 510107 E 11 Page 12 Bluemoon EVB Firmware V1 1 0 Chapter 5 Event Function co FUJITSU 5 Event Function Note More information about RTC refer to FUJITSU MCU AN 510045 E 10 pdf 5 1 Function List Prototype Description Remark void LcdBlc Init void Init LCD back light controller N A void InitRTC uint8_t Init RTC function N A void LedWork Init void Init MCU status indication led as GPIO output N A void CommonDvc_Int void Init common device eg LCD backlight LED N A void ModChgKey
3. Work Led SwW3 N i Swi lt Wop Reset Ke Joystick Figure 8 1 Demo System User Interface Block Diagram MCU UM 510107 E 11 Page 26 Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 8 Demo System 8 3 2 System Main Loop Start Test mode KeyScanf xit test mode Y Low power mode Enter low power Normallmode Low power Y Enter low power Baseline update calibratien N time RTC calibration N Power change Y LCD init Figure 8 2 Demo System Main Loop Flowchart MCU UM 510107 E 11 Page 27 FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 8 Demo System 8 3 3 System Files In this application there are 15 files common c common device c Icd c lcd device c TSC Configlnfo c adc12 c isp c lpcm c lvd c rtc c calibration c Icd amp rtc serve c main c system mb9afa3x c startup mb9afa3x s e main c includes main loop and MCU control functions e common c amp common device c includes initialization of key joystick led and so on e amp lcd device c includes initialization of LCD e Configlnfo c includes TSC configuration information e adc 2 c includes initialization ADC function e sp c includes LVD timer external interrupt e pcm c includes relation function about low power consumption e lvd c includes relation function about low power dete
4. 15 Mack uo topo ru inci 15 MCU UM 510107 E 11 Page 3 co FUJITSU Bluemoon EVB Firmware V1 1 0 Contents 16 5 2 11 wuint8 t LeapYearCheck ulntB t 16 5 2 12 LedBuffer CK usine eua duni pum ui eu bdE 16 5 2 13 LcdWriteData uint8 t uint8 t uint8 t 16 5 2 14 LedWriteColon uint8_t icio Mc 17 5 22 15 LodDisp CIN eas rr 17 5 2 16 ShowWhichPlaceBlink uint8 t uint8 t uint8 1 17 5 2 17 TimePageSet uint8 t uint8 t uint8 t 17 5 2 18 DatePageSet uint8 t uint8 t uint8 t 18 5 2 19 SetAllGpioOutH eese cece aires eiua bem dU Su ita pumice t Eun eu duE 18 19 61 UVC EIST 19 6 2 Function Prototype uiii iusti oo eee ener ener eo ener eee eee ree ee 19 6 2 1 QOpio Init McuPinName uint8 t uint8 t 19 6 2 2 uint8 t GpiolnputCheck McuPinName uint8 20 6 2 3 uint8 t MultiAdcFun McuPinName e eseeeeennmm 20 6 2 4 uint8 t MultibcdFun 8 6 20 6 2 5 uint8 t 48
5. 28 8 3 4 System Files eter RIO asuma RI Eu SUR bu e DANI QE SUD NR EE 29 9 ADDITIONAL 30 10 gal nS 31 10 1 List of Figures and Tables Pate Em 31 MCU UM 510107 E 11 Page 5 FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 1 Introduction 1 Introduction 1 1 Purpose This user manual describes FUJITSU Bluemoon EV Board and the firmware configuration The firmware main includes TSC RTC LCD ADC LPCM LVD Key driver and so on functions 1 2 Document Overview The rest of document is organized as the following Chapter 2 explains System Hardware Environment Chapter 3 explains Development Environment Chapter 4 explains System Function Chapter 5 explains Event Function Chapter 6 explains Driver Function Chapter 7 explains nterrupt Function Chapter 8 explains Demo System MCU UM 510107 E 11 Page 6 co Bluemoon EVB Firmware V1 1 0 Chapter 2 System Hardware Environment FUJITSU 2 System Hardware Environment Hardware Environment e CPU Chip Fujitsu MB9AA30N e CPU Frequency 20MHz e Minimum Instruction Time 50ns e Ram Space 1KBytes e Code Space 14KBytes MCU UM 510107 E 11 Page 7 FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 3 Development
6. Init void Init mode change key as GPIO input N A void JoyKey Init void Init mode Joystick key as GPIO input N A void ShowPage1 void Display the FUJITSU N A void TSCKey Init unsigned char TSC initialization N A void ShowDatePage void Display the page 2 eg Year Month Day N A void ShowTimePage void Display the page 1 eg Hour Min Sec N A uint8 t LeapYearCheck uint8 t Check the input year if leap N A void LcdBuffer Clr void Clean LCD display buffer N A void LcaWriteData uint8 t uint8 t uint8 t Write data to LCD display buffer N A void LcdWriteColon uint8 t Write colon to LCD display buffer N A void LcdDisp Clr void Clean the LCD display N A void ShowWhichPlaceBlink uint8 t uint8 t Appoint a place the display is blink N A uint8 t void TimePageSet uint8 t uint8 t uint8 t In setting time mode display the page 1 eg N A Hour Min Sec void DatePageSet uint8 t uint8 t uint8 t In setting time mode display the page 2 eg Year N A Month Day void SetAllGpioOutH void Set GPIO status for low power consumption mode N A 5 2 Function Prototype 5 2 1 LcaBlc Init Prototype void LcdBlc Init void Parameter void Return void Description Init LCD back light controller Remark N A MCU UM 510107 E 11 Page 13 co FUJITSU Chapter 5 Event Function Bluemoon EVB Firmware V1 1 0 5 22 InitRTC uint8_t Prototype void InitRTC uint8 t EnableWriteRtc P
7. Lus oio ee eee ee ae 9 43 Function Prototype usse eaten tid te nta teque secu M 10 Loo S IMK ss TE 10 432 Stat usSeverve RUN vammaa pL ua 10 4 3 3 KES CAM e 10 43 4 KeylouchServe D oen isa 10 4 3 5 DispModeServe 11 4 3 6 ey edidi erc 11 4 3 7 ie tom acide i ea tique umma 11 4 3 8 EnterLowerPowerModeProcess ooooooounnn nn annan annan nn naan a nananana 11 4 93 9 TSCRGY SCAND somiste 12 4 3 10 uint8 t TSCKey UpdateBaseline uint8 1 12 5 EVENT FUNCTION sn eee er ee 13 UIS m RR asini oe err ee errr samat 13 52 FUNCIION samat M Un Samoa EUREN SI DIN rata 13 5 51 LodBle IUD eec o ERE ens STA PUE C 13 25 222 kasataan ameta 14 5 2 3 LEONE IMEN eee eee c 14 5 2 4 CommonDvce Il Decessit octo 14 525 MOoSChOey 14 B20 ett 15 52 7 ShowPagel sites a et Ru Met usu EA E I DAMM Mt SUN RE 15 B20 IIO CM MT
8. McuPinName uint8 t uint8 t Prototype void Gpio Init McuPinName WhichPin uint8 t Dir uint8 t Level Parameter WhichPin The GPIO pin Dir 1 output O input Level When output 0 low level 1 high level 2 high level and Hi Z When input 0 not connect pull up resistor 1 connect pull up resistor Return void Description Set a GPIO pin as input or output Remark N A MCU UM 510107 E 11 Page 19 co FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 6 Driver Function 6 2 2 uint8 t GpiolnputCheck McuPinName uint8 t Prototype uint8 t GpiolnputCheck McuPinName WhichPin uint8 t Touch ValueVolt Parameter WhichPin The GPIO pin TouchValueVolt When Key touching the voltage value Return uint8 t 1 has a touch other has not a touch Description When a pin used as GPIO input check if a key Remark N A 6 2 3 uint8 t MultiAdcFun McuPinName Prototype uint8 t MultiAdcFun McuPinName WhichPin Parameter WhichPin The GPIO pin Return uint8 t 1 yes other not Description Judgment if the pin has ADC function Remark N A 6 2 4 uint8 t MultiLcdFun McuPinName Prototype uint8 t MultiLcdFun McuPinName WhichPin Parameter WhichPin The GPIO pin Return uint8 t 1 yes other not Description Judgment if the pin has LCD function Remark N A 6 2 5 uint8 t MultiMainClockFun McuPinName Prototype uint8 t
9. MultiMainClockFun McuPinName WhichPin Parameter WhichPin The GPIO pin Return uint8 t 1 yes other not Description Judgment if the pin has Main clock function Remark N A MCU UM 510107 E 11 Page 20 Bluemoon EVB Firmware V1 1 0 Chapter 6 Driver Function co FUJITSU 6 2 6 uint8 t MultiSubClockFun McuPinName Prototype uint8 t MultiSubClockFun McuPinName WhichPin Parameter WhichPin The GPIO pin Return uint8 t 1 yes other not Description Judgment if the pin has sub clock function Remark N A 6 2 7 LcdComePin Init uint8 t Prototype void LcdComPin_Init uint8_t mode Parameter mode LCD mode select 8 8com 4 4com_ other value is invalid Return void Description Base on Hardware connect init the com pin Remark N A 6 2 8 LcdSegPin Init Prototype void LcdSegPin Init void Parameter void Return void Description Base on Hardware connect init the segment pin Remark N A 6 2 9 LCD Init Prototype void LCD Init void Parameter void Return void Description Init LCD controller Remark N A MCU UM 510107 E 11 Page 21 co FUJITSU Chapter 6 Driver Function Bluemoon EVB Firmware V1 1 0 6 2 10 LCD Disable Prototype void LCD Disable void Parameter void Return void Description Disable LCD function Remark N A 6 2 11
10. and or any third party for any claims or damages arising in connection with above mentioned uses of the products Any semiconductor devices have an inherent chance of failure You must protect against injury damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy fire protection and prevention of over current levels and other abnormal operating conditions Exportation release of any products described in this document may require necessary procedures in accordance with the regulations of the Foreign Exchange and Foreign Trade Control Law of Japan and or US export control laws The company names and brand names herein are the trademarks or registered trademarks of their respective owners Copyright 2012 Fujitsu Semiconductor Design Chengdu Co Ltd All rights reserved MCU UM 510107 E 11 Page 2 Bluemoon EVB Firmware V1 1 0 FUJITSU Contents Contents REVISION HISTORY wget c ees 2 CONTENTS cee 3 1 INTRODUCTION rc 6 SEGUI EP 6 1 2 Document OVGIVIGW E eus EI enamel 6 2 SYSTEM HARDWARE 7 3 DEVELOPMENT ENVIRONMENT ceinture nhan atn Lu un nen pax uua aru Deka Este K KANNAN 8 4 SYOIEMPUNGHON M EAE EEEE 9 QUEE 0028 140 EE omm 9 42 Function DIS
11. eg Year Month Day Remark N A MCU UM 510107 E 11 Page 15 co FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 5 Event Function 5 2 10 ShowTimePage Prototype void ShowTimePage void Parameter void Return void Description Display the page 1 eg Hour Min Sec Remark N A 5 2 11 uint8 t LeapYearCheck uint8 t Prototype uint8 t LeapYearCheck uint8 t Year Parameter Year input the year Return 1 year other not Description Check the input year if leap Remark N A 5 2 12 LcdBuffer Clr Prototype void LcdBuffer Clr void Parameter void Return void Description Clean LCD display buffer Remark N A 5 2 13 LcdWriteData uint8 t uint8 t uint8 t Prototype void LcdWriteData uint8 t dat uint8 t place uint8 t point Parameter dat needs display data place place of display point if display radix point 1 yes other no Return void Description Write data to LCD display buffer Remark N A MCU UM 510107 E 11 Page 16 Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 5 Event Function 5 2 14 LcdWriteColon uint8 t Prototype void LcdWriteColon uint8 t place Parameter place display place Return void Description Write colon to LCD display buffer Remark N A 5 2 15 LcaDisp Prototype void LcdDisp Clr void Parameter vo
12. Environment 3 Development Environment Development Environment Table 3 1 MCU Development Environment Name Description Part Number Manufacture Remark FW development and IAR bedded Workbench debug JLink Debug and Load FW MCU UM 510107 E 11 Page 8 Bluemoon EVB Firmware V1 1 0 Chapter 4 System Function co FUJITSU 4 System Function Note More information about RTC refer to FUJITSU MCU AN 510045 E 10 pdf 4 1 Macro Define Name Description Value Mark POWER SUPPLY TIME The time of watching power changed cycle 200 ms DisplayKeyModeTime How long about display current time 5000 ms TSCKEY_OffsetL3 Adjust TSC key sensitivity 40 N A LedindicateTime The time about LED to indicated if touch key 500 ms LCD BLINK TIME The time about LCD blink in RTC setting mode 500 ms LcdBackOff Close LCD backlight N A N A LcdBackOn Open LCD backlight N A N A LedWorkOn Open D2 N A N A LedWorkOff Close D2 N A N A 4 2 Function List Prototype Description Remark void Sys Init void System initialization call in the system first void StatusServeRun void LED indication base on system status N A void KeyScanf void Key scan N A void KeyTouchServe void Judgment if have a key N A void DispModeServe void System status judgment N A void MinSysCurTest void Enter test mode N A void RtcModeSet void Ente
13. Fujitsu Semiconductor Design Chengdu Co Ltd User Manual M 32 BIT MICROCONTROLLER 3 SERIES BLUEMOON EVB FIRMWARE USER MANUAL TM ARM ARM and Cortex M3 are the trademarks of ARM Limited in the EU and other countries co FUJITSU FUJITSU Bluemoon EVB Firmware V1 1 0 Revision History Hevision History Version Date Updated by Approved by Modifications 1 0 0 2012 10 29 Abel Ma First Draft 1 1 0 2012 11 27 Abel Ma Modify some content in chapter 5 This manual contains 31 pages Specifications are subject to change without notice For further information please contact each office All Rights Reserved The contents of this document are subject to change without notice Customers are advised to consult with sales representatives before ordering The information such as descriptions of function and application circuit examples in this document are presented solely for the purpose of reference to show examples of operations and uses of FUJITSU SEMICONDUCTOR device FUJITSU SEMICONDUCTOR does not warrant proper operation of the device with respect to use based on such information When you develop equipment incorporating the device based on such information you must assume any responsibility arising out of such use of the information FUJITSU SEMICONDUCTOR assumes no liability for any damages whatsoever arising out of the use of the information Any information in this doc
14. LcaDisp Prototype void LcdDisp void Parameter void Return void Description Display the buffer data to LCD Remark N A 6 2 12 BTOReloadTimer Init Prototype void BTOReloadTimer Init void Parameter void Return void Description Init BTO as reload timer 1ms Remark N A 6 2 13 BTOTimer Halt Prototype void BTOTimer Halt void Parameter void Return void Description Stop the BTO as timer Remark N A MCU UM 510107 E 11 Page 22 Bluemoon EVB Firmware V1 1 0 Chapter 6 Driver Function co FUJITSU 6 2 14 BTOTimer_Resume Prototype void BTOTimer Resume void Parameter void Return void Description Resume the BTO as timer Remark N A 6 2 15 Eint_Init McuPinName uint8 t Prototype void Eint Init McuPinName WhichPin uint8 t trigger Parameter McuPinName The MCU pin Trigger 0 Low level detect 1 High level detect 2 Rising edge detect 3 Falling edge detect Return void Description Init extern interrupt Remark N A 6 2 16 Eint Disable McuPinName Prototype void Eint_Disable McuPinName WhichPin Parameter McuPinName The MCU pin Return void Description Disable appointed extern interrupt Remark N A 6 2 17 Lvd_Init Prototype void Lvd_Init void Parameter void Return void Description LVD initialization d
15. arameter EnableWriteRtc Enable write the date amp time 0x1 enable other disable Return void Description Initialize RTC function Remark N A 5 2 3 LedWork Init Prototype void LedWork_Init void Parameter void Return void Description Init MCU status indication led as GPIO output Remark N A 5 2 4 CommonDvc Init Prototype void CommonDvc_Init void Parameter void Return void Description Init common device eg LCD backlight Beep LED Remark N A 5 2 5 ModChgKey_Init Prototype void ModChgKey Init void Parameter void Return void Description Init mode change key as GPIO input Remark N A MCU UM 510107 E 11 Page 14 Bluemoon EVB Firmware V1 1 0 Chapter 5 Event Function FUJITSU 5 2 6 JoyKey Init Prototype void JoyKey Init void Parameter void Return void Description Init mode Joystick key as GPIO input Remark N A 5 2 7 ShowPagel Prototype void ShowPagel void Parameter void Return void Description Display the FUJITSU Remark N A 5 28 TSCKey Init Prototype void TSCKey Init unsigned char Parameter void Return void Description TSC initialization Remark N A 5 2 9 ShowDatePage Prototype void ShowDatePage void Parameter void Return void Description Display the page 2
16. ction e r c c includes relation function about RTC e calibration c includes RTC calibration e Icd amp rtc_serve c includes difference system modes and so on e system mb9afa3x c includes initialization or update MCU clock e startup mb9afa3x s MCU start up codes MCU UM 510107 E 11 Page 28 Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 8 Demo System 8 3 4 System Files Structure 8 Files J BlueMoon_EVB_Solution De Ha E Drive H G common E common c E common device c C3lcd Ha E led device c La E Icdc c tsc E TSC Configlnfo c L D TSC LIB a lt pun Ha D calibration c E Ied amp rtc_serve c Ha G StartUp E main c Ash startup_mb9afa3x s La system_mb9afa3x c Lg 3 Output I B BlueMoon EVB Solution map L 7 BlueMoon EVB Solution out Figure 8 3 Sample Project Files Structure MCU UM 510107 E 11 Page 29 Chapter 9 Additional Information FUJITSU Bluemoon EVB Firmware V1 1 0 9 Additional Information For more Information on FUJITSU semiconductor products visit the following websites English version address http www fujitsu com cn fsp services mcu 32bit fmS an html Chinese version address http www fujitsu com cn fss services mcu 32bit fm3 an html MCU UM 510107 E 11 Page 30 Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 10 Appendix 10 Appendix 10 1 List of Figures and Tables Table 3 1 MCU Development E
17. etected voltage fall 4V LVD interrupt Remark N A MCU UM 510107 E 11 Page 23 e Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 7 Interrupt Function l 7 Interrupt Function Note More information about RTC refer to FUJITSU MCU AN 510045 E 10 pdf 7 1 Function List Prototype Description Remark void BT_IRQHandler void BTO interrupt 1ms per N A void INTO 7 Handler void Extern interrupt N A void LVD Handler void Low power detection interrupt N A 7 2 Function Prototype 7 2 1 BT IRQHandler Prototype void BT IRQHandler void Description BTO interrupt 1ms per Content BaseTimeCnt Base timer counter 1ms unit KeyDownCnt Key touch counter 1ms unit TouchModeCnt Touch display mode counter 1ms unit LcdBlinkCnt LCD blink counter 1ms unit LcdBlinkTimeCnt LCD blink counter used timer TscScanfCnt TSC key scan time counter 1ms unit PowerSupplyCnt Judgment power voltage change timer Remark N A 7 2 2 INTO7 7 Handler Prototype void INTO 7 Handler void Description Extern interrupt Content N A Remark Used wake up MCU from low power consumption mode 7 2 3 LVD Handler Prototype void LVD_Handler void Description Low power detection interrupt Content PowerSupply 0 3 8V power 1 5V power Remark N A MCU UM 510107 E 11 Page 24 Bluemoon EVB Firmware V1 1 0 FUJITSU Chapter 8 Dem
18. id Return void Description Clean the LCD display Remark N A 5 2 16 ShowWhichPlaceBlink uint8_t uint8_t uint8_t Prototype void ShowWhichPlaceBlink uint8_t WhichPlace uint8_t ReplaceDate1 uint8_t ReplaceDate2 Parameter Place place of blink display ReplceDate1 needs replace data in place ReplceDate2 needs replace data in place 1 Return void Description A point a place the display is blink Remark N A 5 2 17 TimePageSet uint8 t uint8 t uint8 t Prototype void TimePageSet uint8 t hour uint8 t min uint8_t sec Parameter hour the current hour min the current minute sec the current second Return void Description In setting time mode display the page 1 eg Hour Min Sec Remark N A MCU UM 510107 E 11 Page 17 FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 5 Event Function 5 2 18 DatePageSet uint8 t uint8 t uint8 t Prototype void DatePageSet uint8 t year uint8 t month uint8 t date Parameter year the current year month the current month date the current day Return void Description In setting time mode display the page 2 eg Year Month Day Remark N A 5 2 19 SetAllGpioOutH Prototype void SetAllGpioOutH void Parameter void Return void Description Set GPIO status Remark N A MCU UM 510107 E 11 Page 18 Bluemoon EVB Firmware V1 1 0 Chapter 6 Driver Functi
19. nvironment 8 Figure 8 1 Demo System User Interface Block 26 Figure 8 2 Demo System Main Loop aa maana nananana anna aan nanenn 27 Figure 8 3 Sample Project Files Structure scicissccacessscdencesencsiasasstesensseeaneeasssasectnerecneareiusessnene 29 MCU UM 510107 E 11 Page 31
20. o System 8 Demo System 8 1 System Introduction This sample project is designed to quick start evaluation of 8 COM segment LCD enter amp exit low power consumption modes and setting of RTC based on MB9AA3ON series MCU There are 3 different system modes include normal mode test mode and standby RTC display mode low power consumption Additionally LEDs are used to indicate the MCU running status 8 2 System Features e MCULCD controller driver e RTC setting and calibration e Enter and exit low power consumption e Mechanical key and joystick driver e TSC key base on TSC Lib e LVD used to control LCD display parameter MCU UM 510107 E 11 Page 25 FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 8 Demo System 8 3 System Firmware Design After power on LCD displays FUJITSU lasts 3 s runs normal mode and displays current time Then press the key to enter other display modes e Normal mode Includes display current time and date RTC setting and so on e Test mode Include key and LED indication enter and exit standby RTC mode in test mode e Standby RTC mode Low power consumption mode Wake up and enter function Refer to chapter 6 of MCU UM 510106 E 11 Bluemoon EVB HW 8 3 1 User Interface 5 DC Power USB Power ua FSDC FM3 A30 1 0024 01 D4 PCB Bluemoon EVB V1 0 0 8 D Power Led ue 97 e
21. on co FUJITSU 6 Driver Function Note More information about RTC refer to FUJITSU MCU AN 510045 E 10 pdf 6 1 Function List Prototype Description Remark void Init McuPinName uint8 t Set a GPIO pin as input or output N A uint8 t uint8 t GpiolnputCheck McuPinName When a pin used as GPIO input check if a key N A uint8 t uint8 t MultiAdcFun McuPinName Judgment if the pin has ADC function N A uint8 t MultiLcdFun McuPinName Judgment if the pin has LCD function N A uint8 t Judgment if the pin has Main clock function N A MultiMainClockFun McuPinName uint8 t Judgment if the pin has sub clock function N A MultiSubClockFun McuPinName void LcdComPin Int uint8 t Base on hardware connect init the com pin N A void LcdSegPin Int void Base on hardware connect init segment pin N A void LCD Init void Init LCD controller N A void LCD Disable void Disable LCD function N A void LcaDisp void Display the buffer data to LCD N A void BTOReloadTimer Init void Init BTO as reload timer 1ms N A void BTOTimer Halt void Stop the BTO as timer N A void BTOTimer Resume void Resume the BTO as timer N A void Eint Init McuPinName uint8 t Init extern interrupt N A void Eint Disable McuPinName Disable appointed extern interrupt N A void Init void LVD initialization if fall to 4V L VD interrupt N A 6 2 Function Prototype 6 2 1 Gpio Init
22. r RTC setting mode N A void EnterLowerPowerModeProcess Enter low power consumption mode N A void void TscKeyScanf void TSC key scan N A uint8 t Update TSC base line TSC Lib TSCKey UpdateBaseline uint8 t MCU UM 510107 E 11 Page 9 co FUJITSU Bluemoon EVB Firmware V1 1 0 Chapter 4 System Function 4 3 Function Prototype 4 3 1 Sys Init Prototype void Sys Init void Parameter void Return void Description Initialize system Remark N A 4 3 2 StatusSeverveRun Prototype void StatusServeRun void Parameter void Return void Description LED indication base on system status Remark N A 4 3 3 KeyScanf Prototype void KeyScanf void Parameter void Return void Description Key scan Remark N A 4 3 4 KeyTouchServe Prototype void KeyTouchServe void Parameter void Return void Description Judgment if have a key Remark N A MCU UM 510107 E 11 Page 10 Bluemoon EVB Firmware V1 1 0 Chapter 4 System Function co FUJITSU 4 3 5 DispModeServe Prototype void DispModeServe void Parameter void Return void Description System status judgment Remark N A 4 3 6 MinSysCurTest Prototype void MinSysCurTest void Parameter void Return void Description Enter test mode Remark N A 4 3 7 RtcModeSet
23. ument including descriptions of function and schematic diagrams shall not be construed as license of the use or exercise of any intellectual property right such as patent right or copyright or any other right of FUJITSU SEMICONDUCTOR or any third party or does FUJITSU SEMICONDUCTOR vwarrant non infringement of any third party s intellectual property right or other right by using such information FUJITSU SEMICONDUCTOR assumes no liability for any infringement of the intellectual property rights or other rights of third parties which would result from the use of information contained herein The products described in this document are designed developed and manufactured as contemplated for general use including without limitation ordinary industrial use general office use personal use and household use but are not designed developed and manufactured as contemplated 1 for use accompanying fatal risks or dangers that unless extremely high safety is secured could have a serious effect to the public and could lead directly to death personal injury severe physical damage or other loss i e nuclear reaction control in nuclear facility aircraft flight control air traffic control mass transport control medical life support system missile launch control in weapon system or 2 for use requiring extremely high reliability i e submersible repeater and artificial satellite Please note that FUJITSU SEMICONDUCTOR will not be liable against you
Download Pdf Manuals
Related Search
Related Contents
User`s Manual Manuel d`utilisation de l`éligibilité ATEX指令 −CEマーキング− Operating Instructions - OPTISWITCH 4000 C - with User Manual End User Manual V4.0 - MA Mouse iPS Cell Lines (Matched Sets) Copyright © All rights reserved.
Failed to retrieve file