HY16F3981 HYCON IP User s Manual

Μέγεθος: px
Εμφάνιση ξεκινά από τη σελίδα:

Download "HY16F3981 HYCON IP User s Manual"

Transcript

1 . Page1

2 Table of Contents 1. DOCUMENT DESCRIPTION IC DESCRIPTION DIGITAL IP (TIMER) Example Name Example Description Software Flowchart Program Description DIGITAL IP(WDT) Example Name Example Description Software Flowchart Program Description DIGITAL IP(WDT RESET) Example Name Example Description Software Flowchart Program Description DIGITAL IP(RTC) Example Name Example Description Software Flowchart Program Description page2

3 7. DIGITAL IP(PWM) Example Name Example Description Software Flowchart Program Description DIGITAL IP(FLASH) Example Name Example Description Program Description DIGITAL IP(GPIO) Example Name Example Description Software Flowchart Program Description ANALOG IP(12 BIT RESISTANCE LADDER DAC) Example Name Example Description Software Flowchart Program Description ANALOG IP(OPA) Example Name Example Description Software Flowchart page3

4 11.4. Program Description ANALOG IP(ADC) Example Name Example Description Software Flowchart Program Description ANALOG IP(ADC_IA) Example Name Example Description Software Flowchart Program Description ANALOG IP(LCD) Example Name Example Description Software Flowchart Program Description COMMUNICATION IP(SPI) Example Name Example Description System Description Software Flowchart Program Description COMMUNICATION IP(UART) page4

5 16.1. Example Name Example Description Software Flowchart Program Description COMMUNICATION IP(I2C) Example Name Example Description System Description Software Flowchart Program Description PERIPHERAL IP(POWER) Example Name Example Description Software Flowchart Program Description REVISIONS page5

6 Attention: 1 HYCON Technology Corp. reserves the right to change the content of this datasheet without further notice. For most up-to-date information, please constantly visit our website: 2 HYCON Technology Corp. is not responsible for problems caused by figures or application circuits narrated herein whose related industrial properties belong to third parties. 3 Specifications of any HYCON Technology Corp. products detailed or contained herein stipulate the performance, characteristics, and functions of the specified products in the independent state. We does not guarantee of the performance, characteristics, and functions of the specified products as placed in the customer s products or equipment. Constant and sufficient verification and evaluation is highly advised. 4 Please note the operating conditions of input voltage, output voltage and load current and ensure the IC internal power consumption does not exceed that of package tolerance. HYCON Technology Corp. assumes no responsibility for equipment failures that resulted from using products at values that exceed, even momentarily, rated values listed in products specifications of HYCON products specified herein. 5 Notwithstanding this product has built-in ESD protection circuit, please do not exert excessive static electricity to protection circuit. 6 Products specified or contained herein cannot be employed in applications which require extremely high levels of reliability, such as device or equipment affecting the human body, health/medical equipments, security systems, or any apparatus installed in aircrafts and other vehicles. 7 Despite the fact that HYCON Technology Corp. endeavors to enhance product quality as well as reliability in every possible way, failure or malfunction of semiconductor products may happen. Hence, users are strongly recommended to comply with safety design including redundancy and fire-precaution equipments to prevent any accidents and fires that may follow. 8 Use of the information described herein for other purposes and/or reproduction or copying without the permission of HYCON Technology Corp. is strictly prohibited. page6

7 1. Document Description HYCON IP(Intellectual Property) represents all internal IP of HYCON 32-bit MCU. This document aims at describing SOC IC internal digital, analog, communication and peripheral IP of HY16F3981 Series, of which can be grouped into four categories: (1) Digital IP : TimerA/TimerB/timerB2/TimerC/WDT/PWM/Hardware RTC/GPIO (2) Analog IP : 12 bit Resistance Ladder(DAC)/ADC/OPAMP/LCD/IA (3) Communication IP : Hardware 32-bit SPI/ Hardware UART/ Hardware UART 2/ Hardware I2C (4) Peripheral IP : Power Management 2. IC Description Basic description of each HY16F3981 IP. HY16F3981 2*UART 32b SPI I2C Calendar, Hardware RTC Clock System PWM 4ch, 8b 8KB SRAM 64KB Flash E bit MCU Debug Module Power Management Watch Dog, Timer A/B/B2/C 12b DAC Rail to Rail OPAMP LCD Driver 4*32 or 6*30 24b ADC IA page7

8 (01) Adopting Andes Technology 32-bit CPU core, E801 processor. (02) Voltage operation range: 2.2~3.6V(No analog power open condition), and temperature operation range: -40 ~85. (03) Support external 16MHz crystal oscillator or internal 16MHz RC oscillator, (04) Program memory: 64K-Byte Flash ROM (05) Data memory: 8K-Byte SRAM (06) BOR and WDT function to prevent CPU from crashing (07) 24-bit high resolution ΣΔADC (7.1) Built-in PGA (Programmable Gain Amplifier), 256 times max. (7.2) Built-in temperature sensor, TPS (08) Built-in 1 OPA (09) Built-in hardware 12-bit Resistance Ladder (DAC) (10) 16-bit Timer A (11) 16-bit Timer B module has PWM waveform generating function (12) 16-bit Timer C module has digital capture function (13) Hardware serial communication 32-bit SPI/I2C/UART*2 module (14) Hardware RTC clock function module (15) LCD Driver Interrupt control system Vector Interrupt Vector Interrupt Remark Address Function HW0 void HW0_ISR(void) Communication UART/I2C/32-bit SPI IP HW1 void HW1_ISR(void) Digital IP Timer A/B/C & WDT/RTC HW2 void HW2_ISR(void) ADC IP SD 24-bit ADC HW3 void HW3_ISR(void) OPA IP Analog OPAMP HW4 void HW4_ISR(void) PT3 IP PT3.0~PT3.7 can be independent or can be togetoer to use. HW5 void HW5_ISR(void) PT2 IP PT2.0~PT2.7 can be independent or can be togetoer to use. HW6 void HW6_ISR(void) SW Int HW7 void HW7_ISR(void) UART2 HW8 void HW8_ISR(void) TMB2 page8

9 3. Digital IP (Timer) 3.1. Example Name HY16F3981_Timer 3.2. Example Description (1) Timer A/Timer B/Timer C tutorial. (2) Using #define to select to compile TMATEST or TMBTEST or TMCTEST. (3) In this example code, set Timer initializing and Timer overflow condition, enable System GIE and wait Timer interrupt. Timer overflow can decide Timer interrupt frequency. (4) Everytime Timer interrupt occurs, in the Timer interrupt service routine, variable Timer Count to do +1. And then return to main program to show Timer Count on LCD Software Flowchart Main Program Start Timer Interrupt LCD Display and Initializing setup Clear Timer Interrupt Flag Timer Initializing setup Timer Count +1 LCD Display Timer Count Return to Main Program Waiting Timer Interrupt page9

10 3.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_Timer * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : User choose #define TMATEST or TMBTEST or TMCTEST. * This program shows Timer count ++ on LCD Display * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" #include "DrvGPIO.h" #include "DrvTimer.h" #include "my define.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; page10

11 unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ //#define TMATEST //#define TMBTEST #define TMCTEST /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; unsigned int TimerA_count, TimerB_count, TimerC0_count, TimerC1_count; /* Function PROTOTYPES */ void Delay(unsigned int num); /* Main Function */ int main(void) TimerA_count=0; TimerB_count=0; TimerC0_count=0; TimerC1_count=0; DisplayInit(); ClearLCDframe(); #if defined(tmatest) DrvTMA_Open(15,1); DrvTIMER_ClearIntFlag(E_TMA); DrvTIMER_EnableInt(E_TMA); #endif //Timer A Overflow //15:taclk/65536/32;TMRDV= 32 //01:HS_CK //Clear Timer A interrupt flag //Timer A interrupt enable #if defined(tmbtest) DrvTMBC_Clk_Source(1,3); //Timer B Prescaler 1 //1: HS_CK,clock source. //3: clock divider. 8 DrvTMB_Open(E_TMB_MODE0,E_TMB_NORMAL,0xFFFF); //Timer B overflow 0xffff DrvTIMER_ClearIntFlag(E_TMB); //Clear Timer B interrupt flag DrvTIMER_EnableInt(E_TMB); //Timer B interrupt enable #elif defined(tmctest) DrvTMBC_Clk_Source(1,1); //Timer B Prescaler 1 //1: HS_CK,clock source. //1: clock divider. 2 DrvTMB_Open(E_TMB_MODE0,E_TMB_NORMAL,0xFFFF); //Timer B overflow 0xffff page11

12 DrvCapture1_Open(2,14,1); //Timer C0 use as Capture 1 //input source selection //2:LS_CK //14: :Rising-edge trigger DrvCapture2_Open(1,1); //Timer C1 use as Capture 2 //Input source selection //1:same as Caputre1 //Falling-edge trigger DrvTIMER_ClearIntFlag(E_TMC0); DrvTIMER_ClearIntFlag(E_TMC1); DrvTIMER_EnableInt(E_TMC0); DrvTIMER_EnableInt(E_TMC1); #endif //Clear TMC0 interrupt flag //Clear TMC1 interrupt flag //Timer C0 interrupt enable //Timer C1 interrupt enable SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) MCUSTATUSbits._byte = 0; while(1) //Wait for Interrupt if(mcustatusbits.b_tmadone==1) LCD_DATA_DISPLAY(TimerA_count); MCUSTATUSbits.b_TMAdone=0; if(mcustatusbits.b_tmbdone==1) LCD_DATA_DISPLAY(TimerB_count); MCUSTATUSbits.b_TMBdone=0; if(mcustatusbits.b_tmc0done==1) LCD_DATA_DISPLAY(TimerC0_count); MCUSTATUSbits.b_TMC0done=0; if(mcustatusbits.b_tmc1done==1) LCD_DATA_DISPLAY(TimerC1_count); MCUSTATUSbits.b_TMC1done=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) page12

13 /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) if(drvtimer_getintflag(e_tma)) DrvTIMER_ClearIntFlag(E_TMA); // Clear TMA interrupt flag MCUSTATUSbits.b_TMAdone=1; TimerA_count++; if(drvtimer_getintflag(e_tmb)) DrvTIMER_ClearIntFlag(E_TMB); MCUSTATUSbits.b_TMBdone=1; TimerB_count++; if(drvtimer_getintflag(e_tmc0)) DrvTIMER_ClearIntFlag(E_TMC0); MCUSTATUSbits.b_TMC0done=1; TimerC0_count++; if(drvtimer_getintflag(e_tmc1)) DrvTIMER_ClearIntFlag(E_TMC1); MCUSTATUSbits.b_TMC1done=1; TimerC1_count++; // Clear TMB interrupt flag // Clear TMC0 interrupt flag // Clear TMC1 interrupt flag /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) page13

14 /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page14

15 4. Digital IP(WDT) 4.1. Example Name HY16F3981_WDT 4.2. Example Description (1) WDT tutorial (2) In this example code, set WDT initializing and WDT overflow condition, enable System GIE and wait WDT interrupt. WDT overflow can decide WDT interrupt frequency. (3) Everytime WDT interrupt occurs, in the WDT interrupt service routine, variable WDT Count to do +1. And then return to main program to show WDT Count on LCD Software Flowchart Main Program Start WDT Interrupt LCD Display and Initializing setup Clear WDT Interrupt Flag WDT Initializing setup WDT Count +1 LCD Display WDT Count Return to Main Program Waiting WDT Interrupt page15

16 4.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_WDT * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : HY16F3981 to do WDT_count++, WDT_count display on LCD * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" page16

17 #include "DrvGPIO.h" #include "DrvTimer.h" #include "my define.h" #include "DrvClock.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_wdtdone:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; unsigned int WDT_count; /* Function PROTOTYPES */ void Delay(unsigned int num); page17

18 /* Main Function */ int main(void) WDT_count=0; DisplayInit(); ClearLCDframe(); DrvWDT_Open(E_IRQ,E_PRE_SCALER_D32); //WDT IRQ open pre scaler 32 DrvWDT_ClearWDT(); DrvTIMER_EnableInt(E_WDT); //Clear WDT interrupt flag //WDT interrupt enable SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) MCUSTATUSbits._byte = 0; while(1) //Wait for Interrupt if(mcustatusbits.b_wdtdone==1) LCD_DATA_DISPLAY(WDT_count); MCUSTATUSbits.b_WDTdone=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) page18

19 /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) if(drvtimer_getintflag (E_WDT)) WDT_count++; MCUSTATUSbits.b_WDTdone=1; DrvTIMER_ClearIntFlag(E_WDT); //Clear WDT interrupt flag /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) page19

20 /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); page20

21 /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page21

22 5. Digital IP(WDT Reset) 5.1. Example Name HY16F3981_WDT_Reset 5.2. Example Description (1) WDT Reset tutorial (2) In this example code, set WDT initializing and WDT overflow condition, enable System GIE and WDT Reset. Main program start to do variable WDR Count +1 and shows on LCD, wait WDT Reset occurrence. (3) When WDT Count count up to 2500~3400, the WDT Reset will occur. Because each IC internal HAO frequency is different, so WDT Reset time is different for each IC. (4) User can press PT3.0 button to clear WDT counter register. It also set WDT Count=0, restart to do variable WDT Count Software Flowchart Main Program Start WDT Interrupt LCD Display and GPIO Initializing setup Clear WDT Interrupt Flag WDT Reset Initializing setup WDT Reset WDT Count++ and display on LCD Return to Main Program Start Waiting WDT Reset page22

23 5.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_WDT_Reset * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : HY16F3981 WDT Reset occur on WDT_count near to 2500~3400, it depends on the HAO frequency setting * After WDT_Reset, if PT3.0=Low. Set WDT_count=0, WDT re-count again, start from 0 to count * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" page23

24 #include "System.h" #include "DrvGPIO.h" #include "DrvTimer.h" #include "my define.h" #include "DrvClock.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_wdtdone:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; typedef union _PTINTSTATUS char _byte; struct unsigned b_ptint0done:1; unsigned b_ptint1done:1; unsigned b_ptint2done:1; unsigned b_ptint3done:1; unsigned b_ptint4done:1; unsigned b_ptint5done:1; unsigned b_ptint6done:1; unsigned b_ptint7done:1; page24

25 ; PTINTSTATUS; /* DEFINITIONS */ #define KEY_PORT E_PT3 #define KEYIN0 BIT0 /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; PTINTSTATUS PT3INTSTATUSbits; unsigned int WDT_count; /* Function PROTOTYPES */ void Delay(unsigned int num); /* Main Function */ int main(void) WDT_count=0; DisplayInit(); ClearLCDframe(); DrvWDT_Open(E_NMI,E_PRE_SCALER_D2048); //WDT IRQ open pre scaler 2048 DrvWDT_ClearWDT(); //Clear WDT_count DrvWDT_ResetEnable(); //set WDNMI=1. 0x40108[6]=1b DrvGPIO_Open(KEY_PORT,KEYIN0,E_IO_INPUT); //set PT3.0 INPUT DrvGPIO_Open(KEY_PORT,KEYIN0,E_IO_PullHigh); //enable PT3.0 pull high R DrvGPIO_Open(KEY_PORT,KEYIN0,E_IO_IntEnable); //PT3.0 interrupt enable page25

26 DrvGPIO_ClkGenerator(E_HS_CK,1); //Set IO sampling clock input source is HS_CK DrvGPIO_IntTrigger(KEY_PORT,KEYIN0,E_N_Edge); //PT3.0 interrupt trigger method is negative edge DrvGPIO_ClearIntFlag(KEY_PORT,KEYIN0); //clear PT3.0 interrupt flag PT3INTSTATUSbits._byte = 0; MCUSTATUSbits._byte = 0; SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) while(1) for(wdt_count=0;wdt_count<999999;wdt_count++) LCD_DATA_DISPLAY(WDT_count); //WDT Reset occur on WDT_count=2500~3400, it depends on the HAO frequency Delay(1000); if(pt3intstatusbits.b_ptint0done) //if PT3.0 low WDT_count=0; DrvWDT_ClearWDT(); //Set WDT_count=0, //WDT re-count again, start from 0 to count PT3INTSTATUSbits.b_PTINT0done=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) page26

27 /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) if(drvtimer_getintflag(e_wdt)) MCUSTATUSbits.b_WDTdone=1; DrvTIMER_ClearIntFlag(E_WDT); //Clear WDT interrupt flag /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) page27

28 /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) uint32_t PORT_IntFlag; PORT_IntFlag=DrvGPIO_GetIntFlag(KEY_PORT); if((port_intflag&keyin0)==keyin0) PT3INTSTATUSbits.b_PTINT0done=1; DrvGPIO_ClearIntFlag(KEY_PORT,KEYIN0); //clear PT3.0 interrupt flag /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ page28

29 void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page29

30 6. Digital IP(RTC) 6.1. Example Name HY16F3981_RTC 6.2. Example Description (1) RTC tutorial. (2) Using #define to select to compile RTC_counter_show or TimerDtata_show. (3) In this example code, set RTC initializing and RTC overflow condition, enable System GIE and wait RTC interrupt. (4) If select RTC_counter_show, everytime RTC interrupt occurs, in the RTC interrupt service routine, variable RTC Count to do +1 and shows on LCD. If select TimerDtata_show, everytime RTC interrupt occurs, to do current time+1 and shows on LCD Software Flowchart Main Program Start RTC Interrupt LCD Display and Initializing setup Clear RTC Interrupt Flag RTC Initializing setup RTC Count +1 LCD Display RTC Count or RTC Time Return to Main Program Waiting RTC Interrupt page30

31 6.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_RTC * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : HY16F3981 display the RTC_counter or TimerDtata on LCD by #define RTC_counter_show or TimerDtata_show * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" page31

32 #include "DrvClock.h" #include "DrvRTC.h" #include "my define.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ #define RTC_counter_show //#define TimerDtata_show /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; unsigned int sec,min,hour,week,day,month,year ; unsigned int RTC_counter; unsigned int TimerDtata; /* Function PROTOTYPES */ page32

33 void Delay(unsigned int num); void InitalRTC(void); int ComputeWeek(int TempYear, int TempMonth, int TempDay); /* Main Function */ int main(void) S_DRVRTC_TIME_DATA_T scurtime; //Setting Start RTC_counter=0; TimerDtata=0; DisplayInit(); ClearLCDframe(); InitalRTC(); MCUSTATUSbits._byte = 0; SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) while(1) if(mcustatusbits.b_rtcdone==1) DrvRTC_Read(DRVRTC_CURRENT_TIME,&sCurTime); TimerDtata=sCurTime.u32cSecond+sCurTime.u32cMinute*100+sCurTime.u32cHour*10000; #if defined(timerdtata_show) LCD_DATA_DISPLAY(TimerDtata); #endif #if defined(rtc_counter_show) LCD_DATA_DISPLAY(RTC_counter); #endif sec=scurtime.u32csecond; min=scurtime.u32cminute; hour=scurtime.u32chour; week=scurtime.u32cdayofweek; day=scurtime.u32cday; month=scurtime.u32cmonth; page33

34 year=scurtime.u32year; MCUSTATUSbits.b_RTCdone=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) if(drvrtc_readstate()&&0x2) //check PTF flag DrvRTC_ClearState(E_DRVRTC_CLEAR_ALL); DrvRTC_ClearIntFlag(); RTC_counter++; MCUSTATUSbits.b_RTCdone=1; /* Function Name: HW2_ISR() */ page34

35 /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ page35

36 void HW5_ISR(void) /* Function Name: InitalRTC() */ /* Description : RTC Initialization Subroutines. */ void InitalRTC() S_DRVRTC_TIME_DATA_T scurtime; //Setting Start //Set RTC Clock DrvCLOCK_EnableLowOSC(E_EXTERNAL,130000); clk_08=0x ; //Set 0x40308 RTCKS=10b, LSXT //clk_08=0xc0c00000; //Set 0x40308 RTCKS=11b, LPO //DRVRTC_CURRENT_TIME or Alarm Time DrvRTC_WriteEnable(); DrvRTC_Read(DRVRTC_CURRENT_TIME,&sCurTime); scurtime.u8cclockdisplay=0; //DRVRTC_CLOCK_12//DRVRTC_CLOCK_24 scurtime.u8campm=0; //DRVRTC_AM//DRVRTC_PM scurtime.u32csecond=50; scurtime.u32cminute=59; scurtime.u32chour=22; scurtime.u32cday=14; scurtime.u32cmonth=8; scurtime.u32year=2016; scurtime.u32cdayofweek=computeweek(scurtime.u32year,scurtime.u32cmonth,scurtime.u32cday);; scurtime.u8isenablewakeup=0; //WK DrvRTC_Write(DRVRTC_CURRENT_TIME,&sCurTime); DrvRTC_HourFormat(E_DRVRTC_HOUR_24);//1:12hour 0:24hour page36

37 DrvRTC_Enable(); DrvRTC_PeriodicTimeEnable(E_DRVRTC_1_8_SEC); DrvRTC_ClearIntFlag(); DrvRTC_EnableInt(); /* Enable RTC interrupt */ /* Compute Week Subroutines */ int ComputeWeek(int TempYear, int TempMonth, int TempDay) int TempWeek; if (TempMonth >= 3) TempMonth = TempMonth - 2; else TempMonth = TempMonth + 10; TempYear--; TempWeek = TempYear + (int)(tempyear / 4) - (int)(tempyear / 100) +(int)(tempyear / 400) + (int)(2.6 * TempMonth - 0.2) + TempDay; TempWeek = TempWeek - 7*(int)(TempWeek / 7); return (TempWeek); /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); page37

38 /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page38

39 7. Digital IP(PWM) 7.1. Example Name HY16F3981_PWM 7.2. Example Description (1) PWM tutorial. (2) Set HAO=4MHz and TimerB overflow condition. (3) Set PWM register and PWM Duty, setting PWM output I/O port is output mode. (4) PT2.0 is PWM0 output, PT2.1 is PWM1 output Software Flowchart Main Program Start Initializing setup PWM setup PT2.0 and PT2.1 PWM Output page39

40 7.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_PWM * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : PT2.0 output PWM0(Mode:PWMA), PT2.1 output PWM1(Mode:PWMA) * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" page40

41 #include "DrvGPIO.h" #include "DrvTimer.h" #include "my define.h" #include "DrvClock.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ #define TMBTEST /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; /* Function PROTOTYPES */ page41

42 void Delay(unsigned int num); /* Main Function */ int main(void) DrvCLOCK_SelectIHOSC(1); // Select HAO 4MHz DrvCLOCK_EnableHighOSC(E_INTERNAL,10); SYS_DisableGIE(); //Disable GIE DrvPWM0_Open(0,1,2); DrvPWM1_Open(1,1,2); DrvPWM_CountCondition(0x7fff,0x3fff); //PWM0 Enable Port 2.0 =PWMO0, Port 2.1 =PWMO1(Set PWM0=PT2.0) //PWM1 Enable Port 2.0 =PWMO0, Port 2.1 =PWMO1(Set PWM1=PT2.1) //PWM0 Duty 0X7FFF, PWM0=PT2.0 //PWM1 Duty 0X3FFF, PWM1=PT2.1 DrvGPIO_Open(E_PT2,0x01 0x02,E_IO_OUTPUT); //PT2.0, PT2.1 Set Output DrvTMBC_Clk_Source(1,1); //Timer B Prescaler 1 //1: HS_CK,clock source. //1: clock divider. 2 DrvTMB_Open(E_TMB_MODE0,E_TMB_NORMAL,0xffff); //TMB Overflow 0XFFFF //PWM Period 0XFFFF while(1); /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) page42

43 /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) if(drvtimer_getintflag(e_tma)) DrvTIMER_ClearIntFlag(E_TMA); // Clear TMA interrupt flag MCUSTATUSbits.b_TMAdone=1; if(drvtimer_getintflag(e_tmb)) DrvTIMER_ClearIntFlag(E_TMB); // Clear TMB interrupt flag MCUSTATUSbits.b_TMBdone=1; if(drvtimer_getintflag(e_tmc0)) DrvTIMER_ClearIntFlag(E_TMC0); // Clear TMC0 interrupt flag MCUSTATUSbits.b_TMC0done=1; if(drvtimer_getintflag(e_tmc1)) DrvTIMER_ClearIntFlag(E_TMC1); // Clear TMC1 interrupt flag MCUSTATUSbits.b_TMC1done=1; /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ page43

44 void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ page44

45 void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page45

46 8. Digital IP(Flash) 8.1. Example Name HY16F3981_Flash 8.2. Example Description (1) Flash burn and read tutorial. (2) In this example code, first, execute flash burn page and read out and to do verify, if burn page content and read out content is different, LCD display 1 and program stuck in while(1). (3) Second, execute flash burn word and read out to do verify, if burn page content and read out content is different, program stuck in while(1) Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_Flash * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : ROM_BurnPage on Flash 0x9F000 and then read out to check. * DrvFlash_Burn_Word on Flash 0x x98010, 0x98020 and then read out to check * Created Date : 2017/04/20 page46

47 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "DrvFlash.h" #include "system.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ page47

48 /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; /* Function PROTOTYPES */ void Delay(unsigned int num); /* Main Function */ int main(void) int index,error; unsigned int BufferTx[32]; unsigned int BufferRx[32]; DisplayInit(); ClearLCDframe(); Delay(10000); DisplayHYcon(); Delay(10000); SYS_DisableGIE(); //before execute Flash burn/read function, user have to do that SYS_DisableGIE(); for(index=0;index<32;index++) BufferTx[index]=index; //to set BufferTx[0]=0x0...BufferTx[31]=0x1f BufferRx[index]=0xFFFFFFFF; //to set BufferRx[0]=0xFFFFFFFF...BufferRx[31]=0xFFFFFFFF ROM_BurnPage(FLASH_KEY_A,0xF000,0x2000,BufferTx); ReadPage(0xF000,BufferRx); //Read BufferRx to make sure BurnPage data page48

49 for(index=0;index<32;index++) BufferTx[index]=31-index; //to set BufferTx[0]=0x1f...BufferTx[31]=0x0 BufferRx[index]=0xFFFFFFFF; //to set BufferRx[0]=0xFFFFFFFF...BufferRx[31]=0xFFFFFFFF ROM_BurnPage(FLASH_KEY_A,0xF000,0x2000,BufferTx); ReadPage(0xF000,BufferRx); //Read BufferRx to make sure BurnPage data //verify the ROM_BurnPage function, if fail to show "1" on the LCD Display for(index=0;index<32;index++) if(buffertx[index]!=bufferrx[index]) LCD_DATA_DISPLAY(1); while(1); error=drvflash_burn_word(0x8014,0x2000,0x ); if(error==0) //if Error=0, it means BurnWord success ReadPage(0x8014,BufferRx); error=drvflash_burn_word(0x8010,0x2000,0x ); if(error==0) //if Error=0, it means BurnWord success ReadPage(0x8010,BufferRx); error=drvflash_burn_word(0x8020,0x2000,0x ); if(error==0) //if Error=0, it means BurnWord success ReadPage(0x8020,BufferRx); while(1); return 0; page49

50 /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ page50

51 void HW3_ISR(void) /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ page51

52 void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page52

53 9. Digital IP(GPIO) 9.1. Example Name HY16F3981_GPIO 9.2. Example Description (1) GPIO tutorial (2) Setup GPIO and LCD initializing. (3) If press button PT3.0, to do variable count +1 and LCD display count. (4) If press button PT3.5, to do variable count -1 and LCD display count Software Flowchart Main Program Start GPIO Interrupt LCD Display and Initializing setup Clear GPIO Interrupt Flag GPIO Initializing setup Return to Main Program LCD Display Variable Count Waiting GPIO Interrupt and judge PT3.0 or PT3.5 from High to Low page53

54 9.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_GPIO * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : if PT3.0 low to do count++, if PT3.5 low to do count-- * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" page54

55 #include "DrvGPIO.h" #include "my define.h" #include "DrvClock.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; volatile typedef union _PTINTSTATUS char _byte; struct unsigned b_ptint0done:1; unsigned b_ptint1done:1; unsigned b_ptint2done:1; unsigned b_ptint3done:1; unsigned b_ptint4done:1; unsigned b_ptint5done:1; unsigned b_ptint6done:1; unsigned b_ptint7done:1; ; PTINTSTATUS; page55

56 /* DEFINITIONS */ #define KEY_PORT E_PT3 #define KEYIN0 BIT0 #define KEYIN1 BIT5 /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; PTINTSTATUS PT3INTSTATUSbits; /* Function PROTOTYPES */ void Delay(unsigned int num); /* Main Function */ int main(void) unsigned int count=0; DisplayInit(); ClearLCDframe(); LCD_DATA_DISPLAY(count); DrvGPIO_Open(KEY_PORT,KEYIN1 KEYIN0,E_IO_INPUT); //set PT3.0/PT3.5 INPUT DrvGPIO_Open(KEY_PORT,KEYIN1 KEYIN0,E_IO_PullHigh); //enable PT3.0/PT3.5 pull high R DrvGPIO_Open(KEY_PORT,KEYIN1 KEYIN0,E_IO_IntEnable); //PT3.0/PT3.5 interrupt enable DrvGPIO_ClkGenerator(E_HS_CK,1); //Set IO sampling clock input source is HS_CK page56

57 DrvGPIO_IntTrigger(KEY_PORT,KEYIN1 KEYIN0,E_N_Edge); //PT3.0/PT3.5 interrupt trigger method is negative edge DrvGPIO_ClearIntFlag(KEY_PORT,KEYIN1 KEYIN0); //clear PT3 interrupt flag PT3INTSTATUSbits._byte = 0; SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) while(1) if(pt3intstatusbits.b_ptint0done) //if PT3.0 low LCD_DATA_DISPLAY(count++); PT3INTSTATUSbits.b_PTINT0done=0; if(pt3intstatusbits.b_ptint5done) //if PT3.5 low LCD_DATA_DISPLAY(count--); PT3INTSTATUSbits.b_PTINT5done=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) /* Function Name: HW1_ISR() */ page57

58 /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ page58

59 void HW4_ISR(void) uint32_t PORT_IntFlag; PORT_IntFlag=DrvGPIO_GetIntFlag(KEY_PORT); if((port_intflag&keyin0)==keyin0) PT3INTSTATUSbits.b_PTINT0done=1; if((port_intflag&keyin1)==keyin1) PT3INTSTATUSbits.b_PTINT5done=1; DrvGPIO_ClearIntFlag(KEY_PORT,KEYIN1 KEYIN0); //clear PT3.0/PT3.5 interrupt flag /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ page59

60 void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page60

61 10. Analog IP(12 bit Resistance Ladder DAC) Example Name HY16F3981_DAC Example Description (1) 12 bit Resistance ladder DAC tutorial (2) In this example code, first, enable VDDA, and 12 bit Resistance Ladder positive set as VDDA, negative set as VSS. In this setting, the maximum DAC output is equal to VDDA. (3) DAC voltage output from stage 0 to 4095, user can measure or observe DAC voltage output from IC pin DAO Software Flowchart Main Program Start Initializing setup 12 bit Resistance Ladder Setup DAC voltage output from stage 0 to 4095 page61

62 10.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_DAC * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : HY16F bit DAC output voltage from stage 0 to 4095 * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" page62

63 #include "DrvPMU.h" #include "DrvDAC.h" #include "my define.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_rtcdone:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; ; MCUSTATUS; /* DEFINITIONS */ /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; /* Function PROTOTYPES */ void Delay(unsigned int num); page63

64 /* Main Function */ int main(void) int i; //Set Power system DrvPMU_VDDA_LDO_Ctrl(E_LDO); DrvPMU_VDDA_Voltage(E_VDDA2_4); //LDO ON //VDDA=2.4 //Set DAC DrvDAC_Open(E_DAC_PVDDA,E_DAC_NVSSA,0); //DAC_Vrefp= VDDA, DAC_Vrefn= VSSA, DAO=0 DrvDAC_DALH(1); //Set DALH=1b DrvDAC_EnableOutput(); DrvDAC_Enable(); //Enable 12-bit resistance ladder DAC output //Enable 12-bit resistance ladder DAC function while(1) for(i=0;i<4096;i++) DrvDAC_DABIT(i); Delay(1000); //Delay for reference //User can use meter to check the pin14(dao) to pin2(vss) to check the DAC output voltage return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) page64

65 /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) page65

66 /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ void HW5_ISR(void) /* Function Name: tlb_exception_handler() */ /* Description : Exception Service Routines. */ void tlb_exception_handler() asm("nop"); //procedure define by customer. asm("nop"); page66

67 /* Software Delay Subroutines */ void Delay(unsigned int num) for(;num>0;num--) asm("nop"); /* End Of File */ page67

68 11. Analog IP(OPA) Example Name HY16F3981_OPA Example Description (1) OPAMP tutorial (2) Enable analog power REFO=1.2V (3) OPAMP positive set as REFO, OPAMP negative set as AIO5. (4) OPAMP set as comparator function. When REFO voltage more than AIO5, OPO pin(pt3.7) output high, when REFO voltage less than AIO5, OPO pin(pt3.7) output low. (5) Everytime OPAMP interrupt occur, PT2.0 will do high or low output status changed Software Flowchart Main Program Start Initializing setup OPA setup up as comparator function OPA voltage output at pin OPO page68

69 11.4. Program Description /******************************************************************************* * * Copyright (c) HYCON Technology, Inc. * All rights reserved. * HYCON Technology <> * * HYCON reserves the right to amend this code without notice at any time. * HYCON assumes no responsibility for any errors appeared in the code, * and HYCON disclaims any express or implied warranty, relating to sale * and/or use of this code including liability or warranties relating * to fitness for a particular purpose, or infringement of any patent, * copyright or other intellectual property right. * * * Project Name : HY16F3981_OPA * IDE tooling : * Device Ver. : V0.1 crt0.o for HY16F3981 MCU. * Library Ver. : V0.1 * MCU Device : * Description : HY16F3981 OPA to do voltage compare, if REFO>AIO5, PT3.7=High, IF REFO<AIO5, PT3.7=Low * Created Date : 2017/04/20 * Created by : Robert.Wang * * Program Description: * ******************************************************************************/ /* Includes */ #include "DrvREG32.h" #include "SpecialMacro.h" #include "stdint.h" #include "HY16F3981.h" #include "DrvLCD.h" #include "Display.h" #include "System.h" #include "DrvPMU.h" page69

70 #include "DrvOP.h" #include "my define.h" #include "DrvClock.h" #include "DrvGPIO.h" /* STRUCTURES */ volatile typedef union _MCUSTATUS char _byte; struct unsigned b_adcdone:1; unsigned b_tmadone:1; unsigned b_tmbdone:1; unsigned b_tmc0done:1; unsigned b_tmc1done:1; unsigned b_uart_txdone:1; unsigned b_uart_rxdone:1; unsigned b_opadone:1; ; MCUSTATUS; /* DEFINITIONS */ /* Global CONSTANTS */ MCUSTATUS MCUSTATUSbits; /* Function PROTOTYPES */ void Delay(unsigned int num); page70

71 /* Main Function */ int main(void) unsigned int i=0; DrvPMU_VDDA_LDO_Ctrl(E_LDO); //LDO ON DrvPMU_VDDA_Voltage(E_VDDA2_4);//VDDA=2.4 DrvPMU_REFO_Enable(); //REFO ON DrvGPIO_Open(2,0x01,E_IO_OUTPUT); //PT2.0 Output DrvOP_Open(); DrvOP_PInput(0x08); DrvOP_NInput(0x02); DrvOP_OPOoutEnable(); //OPA positive reference input selection REFO //OPA negative reference input selection AIO5 //OPA Out Enable PT3.7. If REFO>AIO5, PT3.7=High, IF REFO<AIO5, PT3.7=Low DrvOP_OPDEN(1); //OPDEN=1b DrvOP_EnableInt(); MCUSTATUSbits._byte = 0; SYS_EnableGIE(4,0x1FF); //Enable GIE(Global Interrupt) while(1) if((mcustatusbits.b_opadone==1)) if(i==enable) DrvGPIO_ClrPortBits(2,0x01); //PT2.0=Low i=disable; else DrvGPIO_SetPortBits(2,0x01); //PT2.0=High i=enable; page71

72 MCUSTATUSbits.b_OPAdone=0; return 0; /* Function Name: HW0_ISR() */ /* Description : I2C/UART/SPI interrupt Service Routine (HW0). */ void HW0_ISR(void) /* Function Name: HW1_ISR() */ /* Description : WDT & RTC & Timer A/B/C interrupt Service Routine (HW1). */ void HW1_ISR(void) /* Function Name: HW2_ISR() */ /* Description : ADC interrupt Service Routine (HW2). */ void HW2_ISR(void) page72

73 /* Function Name: HW3_ISR() */ /* Description : OPA interrupt Service Routine (HW3). */ void HW3_ISR(void) if(drvop_readintflag()) MCUSTATUSbits.b_OPAdone=1; DrvOP_ClearIntFlag(); //Clear OPA interrupt flag /* Function Name: HW4_ISR() */ /* Description : PT3 interrupt Service Routine (HW4). */ void HW4_ISR(void) /* Function Name: HW5_ISR() */ /* Description : PT2 interrupt Service Routine (HW5). */ page73

Instruction Execution Times

Instruction Execution Times 1 C Execution Times InThisAppendix... Introduction DL330 Execution Times DL330P Execution Times DL340 Execution Times C-2 Execution Times Introduction Data Registers This appendix contains several tables

Διαβάστε περισσότερα

Modbus basic setup notes for IO-Link AL1xxx Master Block

Modbus basic setup notes for IO-Link AL1xxx Master Block n Modbus has four tables/registers where data is stored along with their associated addresses. We will be using the holding registers from address 40001 to 49999 that are R/W 16 bit/word. Two tables that

Διαβάστε περισσότερα

Precision Metal Film Fixed Resistor Axial Leaded

Precision Metal Film Fixed Resistor Axial Leaded Features EIA standard colour-coding Non-Flame type available Low noise and voltage coefficient Low temperature coefficient range Wide precision range in small package Too low or too high ohmic value can

Διαβάστε περισσότερα

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS CHAPTER 5 SOLVING EQUATIONS BY ITERATIVE METHODS EXERCISE 104 Page 8 1. Find the positive root of the equation x + 3x 5 = 0, correct to 3 significant figures, using the method of bisection. Let f(x) =

Διαβάστε περισσότερα

Εγκατάσταση λογισμικού και αναβάθμιση συσκευής Device software installation and software upgrade

Εγκατάσταση λογισμικού και αναβάθμιση συσκευής Device software installation and software upgrade Για να ελέγξετε το λογισμικό που έχει τώρα η συσκευή κάντε κλικ Menu > Options > Device > About Device Versions. Στο πιο κάτω παράδειγμα η συσκευή έχει έκδοση λογισμικού 6.0.0.546 με πλατφόρμα 6.6.0.207.

Διαβάστε περισσότερα

555 TIMER APPLICATIONS AND VOLTAGE REGULATORS

555 TIMER APPLICATIONS AND VOLTAGE REGULATORS 555 TIMER APPLICATIONS AND VOLTAGE REGULATORS OBJECTIVE The purpose of the experiment is to design and experimentally verify astable and monostable multivibrators using 555 timers; to design variable voltage

Διαβάστε περισσότερα

Smaller. 6.3 to 100 After 1 minute's application of rated voltage at 20 C, leakage current is. not more than 0.03CV or 4 (µa), whichever is greater.

Smaller. 6.3 to 100 After 1 minute's application of rated voltage at 20 C, leakage current is. not more than 0.03CV or 4 (µa), whichever is greater. Low Impedance, For Switching Power Supplies Low impedance and high reliability withstanding 5000 hours load life at +05 C (3000 / 2000 hours for smaller case sizes as specified below). Capacitance ranges

Διαβάστε περισσότερα

Ενσωµατωµένα Υπολογιστικά Συστήµατα (Embedded Computer Systems)

Ενσωµατωµένα Υπολογιστικά Συστήµατα (Embedded Computer Systems) Ενσωµατωµένα Υπολογιστικά Συστήµατα (Embedded Computer Systems) Μαθηµα 2 ηµήτρης Λιούπης 1 Intel SA-1110 µc StrongARM core. System-on-Chip. Εξέλιξη των SA-110 και SA-1100. 2 ARM cores ARM: IP (intellectual

Διαβάστε περισσότερα

Section 8.3 Trigonometric Equations

Section 8.3 Trigonometric Equations 99 Section 8. Trigonometric Equations Objective 1: Solve Equations Involving One Trigonometric Function. In this section and the next, we will exple how to solving equations involving trigonometric functions.

Διαβάστε περισσότερα

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11

Potential Dividers. 46 minutes. 46 marks. Page 1 of 11 Potential Dividers 46 minutes 46 marks Page 1 of 11 Q1. In the circuit shown in the figure below, the battery, of negligible internal resistance, has an emf of 30 V. The pd across the lamp is 6.0 V and

Διαβάστε περισσότερα

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β 3.4 SUM AND DIFFERENCE FORMULAS Page Theorem cos(αβ cos α cos β -sin α cos(α-β cos α cos β sin α NOTE: cos(αβ cos α cos β cos(α-β cos α -cos β Proof of cos(α-β cos α cos β sin α Let s use a unit circle

Διαβάστε περισσότερα

The challenges of non-stable predicates

The challenges of non-stable predicates The challenges of non-stable predicates Consider a non-stable predicate Φ encoding, say, a safety property. We want to determine whether Φ holds for our program. The challenges of non-stable predicates

Διαβάστε περισσότερα

Πλακέτα Arduino. 1ο ΕΠΑΛ Περάματος - 7ο ΕΚ Πειραιά

Πλακέτα Arduino. 1ο ΕΠΑΛ Περάματος - 7ο ΕΚ Πειραιά Πλακέτα Arduino Το 2005 oι Massimo Banzi και David Cueartielles στο Ivrea Δημιουργούν την υπολογιστική πλατφόρμα Arduino. Το Arduino είναι βασισμένο σε μια απλή μητρική πλακέτα ανοικτού κώδικα, με ενσωματωμένο

Διαβάστε περισσότερα

SPEEDO AQUABEAT. Specially Designed for Aquatic Athletes and Active People

SPEEDO AQUABEAT. Specially Designed for Aquatic Athletes and Active People SPEEDO AQUABEAT TM Specially Designed for Aquatic Athletes and Active People 1 2 Decrease Volume Increase Volume Reset EarphonesUSBJack Power Off / Rewind Power On / Fast Forward Goggle clip LED Status

Διαβάστε περισσότερα

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων Εξάμηνο 7 ο Procedures and Functions Stored procedures and functions are named blocks of code that enable you to group and organize a series of SQL and PL/SQL

Διαβάστε περισσότερα

65W PWM Output LED Driver. IDLV-65 series. File Name:IDLV-65-SPEC

65W PWM Output LED Driver. IDLV-65 series. File Name:IDLV-65-SPEC ~ A File Name:IDLV65SPEC 07050 SPECIFICATION MODEL OUTPUT OTHERS NOTE DC VOLTAGE RATED CURRENT RATED POWER DIMMING RANGE VOLTAGE TOLERANCE PWM FREQUENCY (Typ.) SETUP TIME Note. AUXILIARY DC OUTPUT Note.

Διαβάστε περισσότερα

ΕΡΓΑΣΤΗΡΙΟ ΜΙΚΡΟΕΛΕΓΚΤΩΝ

ΕΡΓΑΣΤΗΡΙΟ ΜΙΚΡΟΕΛΕΓΚΤΩΝ ΕΡΓΑΣΤΗΡΙΟ ΜΙΚΡΟΕΛΕΓΚΤΩΝ ATMEL AVR8 ΠΟΡΛΙΔΑΣ ΔΗΜΗΤΡΙΟΣ ATMEL AVR Atmega16 Χαρακτηριστικά Μικροελεγκτής 8-bit υψηλής απόδοσης και χαμηλής κατανάλωσης Προοδευμένη αρχιτεκτονική RISC (Reduced instruction

Διαβάστε περισσότερα

FOSSCOMM 2013 6ο Συνέδριο Κοινοτήτων Ανοιχτού Λογισμικού Σάββατο 20 Απριλίου 2013. Ομάδα Σχολής Ικάρων Εργαστήριο Arduino

FOSSCOMM 2013 6ο Συνέδριο Κοινοτήτων Ανοιχτού Λογισμικού Σάββατο 20 Απριλίου 2013. Ομάδα Σχολής Ικάρων Εργαστήριο Arduino FOSSCOMM 2013 6ο Συνέδριο Κοινοτήτων Ανοιχτού Λογισμικού Σάββατο 20 Απριλίου 2013 Ομάδα Σχολής Ικάρων Εργαστήριο Arduino Arduino Workshop LAB 1 : Παιχνίδι με έναν αισθητήρα φωτός Τι θα χρειαστούμε: 1 LED

Διαβάστε περισσότερα

ΠΕΡΙΓΡΑΦΗ ΥΛΙΚΟΥ AVR 1. ΕΙΣΑΓΩΓΗ 1.1 ΓΕΝΙΚΗ ΔΟΜΗ 1.2 ΟΙΚΟΓΕΝΕΙΕΣ 1.3 ΤΥΠΟΙ 1.4 ΕΡΓΑΛΕΙΑ

ΠΕΡΙΓΡΑΦΗ ΥΛΙΚΟΥ AVR 1. ΕΙΣΑΓΩΓΗ 1.1 ΓΕΝΙΚΗ ΔΟΜΗ 1.2 ΟΙΚΟΓΕΝΕΙΕΣ 1.3 ΤΥΠΟΙ 1.4 ΕΡΓΑΛΕΙΑ ΠΕΡΙΓΡΑΦΗ ΥΛΙΚΟΥ AVR 1. ΕΙΣΑΓΩΓΗ 1.1 ΓΕΝΙΚΗ ΔΟΜΗ 1.2 ΟΙΚΟΓΕΝΕΙΕΣ 1.3 ΤΥΠΟΙ 1.4 ΕΡΓΑΛΕΙΑ Oι βασικές αρχές λειτουργίας των RISC είναι : Εντολές ενός κ.μ. με κατάλληλη σχεδίαση της μονάδας διοχέτευσης Μεγάλος

Διαβάστε περισσότερα

2 Composition. Invertible Mappings

2 Composition. Invertible Mappings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Composition. Invertible Mappings In this section we discuss two procedures for creating new mappings from old ones, namely,

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Όλοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι του 10000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Αν κάπου κάνετε κάποιες υποθέσεις

Διαβάστε περισσότερα

TRC ELECTRONICS, INC LED Driver Constant Voltage 45W MEAN WELL IDLV-45 Series

TRC ELECTRONICS, INC LED Driver Constant Voltage 45W MEAN WELL IDLV-45 Series LED Driver Constant Voltage 5W MEAN WELL IDLV5 Series ~ A File Name:IDLV5SPEC 0707 TRC ELECTRONICS, INC..888.6.95 LED Driver Constant Voltage 5W MEAN WELL IDLV5 Series TRC ELECTRONICS, INC. SPECIFICATION

Διαβάστε περισσότερα

Aluminum Electrolytic Capacitors (Large Can Type)

Aluminum Electrolytic Capacitors (Large Can Type) Aluminum Electrolytic Capacitors (Large Can Type) Snap-In, 85 C TS-U ECE-S (U) Series: TS-U Features General purpose Wide CV value range (33 ~ 47,000 µf/16 4V) Various case sizes Top vent construction

Διαβάστε περισσότερα

EE512: Error Control Coding

EE512: Error Control Coding EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3

Διαβάστε περισσότερα

ΑΥΤΟΜΑΤΟΠΟΙΗΣΗ ΜΟΝΑΔΑΣ ΘΡΑΥΣΤΗΡΑ ΜΕ ΧΡΗΣΗ P.L.C. AUTOMATION OF A CRUSHER MODULE USING P.L.C.

ΑΥΤΟΜΑΤΟΠΟΙΗΣΗ ΜΟΝΑΔΑΣ ΘΡΑΥΣΤΗΡΑ ΜΕ ΧΡΗΣΗ P.L.C. AUTOMATION OF A CRUSHER MODULE USING P.L.C. ΤΕΧΝΟΛΟΓΙΚΟ ΕΚΠΑΙΔΕΥΤΙΚΟ ΙΔΡΥΜΑ ΑΝ. ΜΑΚΕΔΟΝΙΑΣ ΚΑΙ ΘΡΑΚΗΣ ΣΧΟΛΗ ΤΕΧΝΟΛΟΓΙΚΩΝ ΕΦΑΡΜΟΓΩΝ ΤΜΗΜΑ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ Τ.Ε ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΑΥΤΟΜΑΤΟΠΟΙΗΣΗ ΜΟΝΑΔΑΣ ΘΡΑΥΣΤΗΡΑ ΜΕ ΧΡΗΣΗ P.L.C. AUTOMATION OF A

Διαβάστε περισσότερα

12. Διακοπές Interrupts (IRQ)

12. Διακοπές Interrupts (IRQ) 2. Διακοπές Interrupts (IRQ) Πίνακας Ι. Χειρισμός διακοπών στον ATmega6. A/A Program address Source Vector Interrupt definition External Pin, Power-on Reset, Brown-outReset, Watchdog Reset, and JTAG AVR

Διαβάστε περισσότερα

LS series ALUMINUM ELECTROLYTIC CAPACITORS CAT.8100D. Specifications. Drawing. Type numbering system ( Example : 200V 390µF)

LS series ALUMINUM ELECTROLYTIC CAPACITORS CAT.8100D. Specifications. Drawing. Type numbering system ( Example : 200V 390µF) Snap-in Terminal Type, 85 C Standard Withstanding 3000 hours application of rated ripple current at 85 C. Compliant to the RoHS directive (2011/65/EU). LS Smaller LG Specifications Item Category Temperature

Διαβάστε περισσότερα

TIME SWITCHES AND TWILIGHT SWITCHES

TIME SWITCHES AND TWILIGHT SWITCHES W ANALOG DIN-RAIL TIME SWITCH QUARTZ, SERIES TEMPUS ANALOG 244 W SCHRACK-INFO Analogue time switch 1 channel Daily program With power reserve (NiMH rechargeable battery) Synchronised with mains Shortest

Διαβάστε περισσότερα

ΟΔΗΓΙΕΣ ΧΡΗΣΗΣ USE INSTRUCTIONS

ΟΔΗΓΙΕΣ ΧΡΗΣΗΣ USE INSTRUCTIONS ΟΔΗΓΙΕΣ ΧΡΗΣΗΣ USE INSTRUCTIONS ΤΗΛΕΦΩΝΟ ΜΕ ΑΝΑΓΝΩΡΙΣΗ ΚΛΗΣΗΣ /CORDED PHONE WITH CALLER ID ΜΟΝΤΕΛΟ/MODEL: TM09-448 DC48V Παρακαλούμε διαβάστε προσεκτικά όλες τις οδηγίες χρήσης πριν την χρήση της συσκευής

Διαβάστε περισσότερα

ΑΝΙΧΝΕΥΣΗ ΓΕΓΟΝΟΤΩΝ ΒΗΜΑΤΙΣΜΟΥ ΜΕ ΧΡΗΣΗ ΕΠΙΤΑΧΥΝΣΙΟΜΕΤΡΩΝ ΔΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ

ΑΝΙΧΝΕΥΣΗ ΓΕΓΟΝΟΤΩΝ ΒΗΜΑΤΙΣΜΟΥ ΜΕ ΧΡΗΣΗ ΕΠΙΤΑΧΥΝΣΙΟΜΕΤΡΩΝ ΔΙΠΛΩΜΑΤΙΚΗ ΕΡΓΑΣΙΑ ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ ΣΧΟΛΗ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ ΚΑΙ ΜΗΧΑΝΙΚΩΝ ΥΠΟΛΟΓΙΣΤΩΝ ΤΟΜΕΑΣ ΕΠΙΚΟΙΝΩΝΙΩΝ ΗΛΕΚΤΡΟΝΙΚΗΣ ΚΑΙ ΣΥΣΤΗΜΑΤΩΝ ΠΛΗΡΟΦΟΡΙΚΗΣ ΑΝΙΧΝΕΥΣΗ ΓΕΓΟΝΟΤΩΝ ΒΗΜΑΤΙΣΜΟΥ ΜΕ ΧΡΗΣΗ ΕΠΙΤΑΧΥΝΣΙΟΜΕΤΡΩΝ

Διαβάστε περισσότερα

The Nottingham eprints service makes this work by researchers of the University of Nottingham available open access under the following conditions.

The Nottingham eprints service makes this work by researchers of the University of Nottingham available open access under the following conditions. Luevorasirikul, Kanokrat (2007) Body image and weight management: young people, internet advertisements and pharmacists. PhD thesis, University of Nottingham. Access from the University of Nottingham repository:

Διαβάστε περισσότερα

ΕΛΕΓΧΟΣ ΚΑΙ ΤΡΟΦΟΔΟΤΗΣΗ ΜΕΛΙΣΣΟΚΟΜΕΙΟΥ ΑΠΟ ΑΠΟΣΤΑΣΗ

ΕΛΕΓΧΟΣ ΚΑΙ ΤΡΟΦΟΔΟΤΗΣΗ ΜΕΛΙΣΣΟΚΟΜΕΙΟΥ ΑΠΟ ΑΠΟΣΤΑΣΗ ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ ΣΧΟΛΗ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ ΚΑΙ ΜΗΧΑΝΙΚΩΝ ΥΠΟΛΟΓΙΣΤΩΝ ΤΟΜΕΑΣ ΗΛΕΚΤΡΙΚΩΝ ΒΙΟΜΗΧΑΝΙΚΩΝ ΔΙΑΤΑΞΕΩΝ ΚΑΙ ΣΥΣΤΗΜΑΤΩΝ ΑΠΟΦΑΣΕΩΝ ΕΛΕΓΧΟΣ ΚΑΙ ΤΡΟΦΟΔΟΤΗΣΗ ΜΕΛΙΣΣΟΚΟΜΕΙΟΥ ΑΠΟ ΑΠΟΣΤΑΣΗ

Διαβάστε περισσότερα

How to register an account with the Hellenic Community of Sheffield.

How to register an account with the Hellenic Community of Sheffield. How to register an account with the Hellenic Community of Sheffield. (1) EN: Go to address GR: Πηγαίνετε στη διεύθυνση: http://www.helleniccommunityofsheffield.com (2) EN: At the bottom of the page, click

Διαβάστε περισσότερα

LR Series Metal Alloy Low-Resistance Resistor

LR Series Metal Alloy Low-Resistance Resistor Tel : 881745 Fax : 881749 LR Series Metal Alloy LowResistance Resistor This specification is applicable to lead free, halogen free of RoHS directive for metal alloy lowresistance resistor. The product

Διαβάστε περισσότερα

Sunlord. Wire Wound SMD Power Inductors SWCS Series SWCS XXXX -XXX T. Operating Temperature: -25 ~ +105 FEATURES APPLICATIONS PRODUCT IDENTIFICATION

Sunlord. Wire Wound SMD Power Inductors SWCS Series SWCS XXXX -XXX T. Operating Temperature: -25 ~ +105 FEATURES APPLICATIONS PRODUCT IDENTIFICATION Wire Wound SMD Power Inductors SWCS Series Operating Temperature: -25 ~ +105 FEATURES Various high power inductors are superior to be high saturation Suitable for surface mounting equipment APPLICATIONS

Διαβάστε περισσότερα

First Sensor Quad APD Data Sheet Part Description QA TO Order #

First Sensor Quad APD Data Sheet Part Description QA TO Order # Responsivity (/W) First Sensor Quad PD Data Sheet Features Description pplication Pulsed 16 nm laser detection RoHS 211/65/EU Light source positioning Laser alignment ø mm total active area Segmented in

Διαβάστε περισσότερα

65W PWM Output LED Driver. IDPV-65 series. File Name:IDPV-65-SPEC

65W PWM Output LED Driver. IDPV-65 series. File Name:IDPV-65-SPEC IDPV65 series ~ A File Name:IDPV65SPEC 07060 IDPV65 series SPECIFICATION MODEL OUTPUT OTHERS NOTE DC VOLTAGE RATED CURRENT RATED POWER DIMMING RANGE VOLTAGE TOLERANCE PWM FREQUENCY (Typ.) SETUP TIME Note.

Διαβάστε περισσότερα

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΝΟΣΗΛΕΥΤΙΚΗΣ

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΝΟΣΗΛΕΥΤΙΚΗΣ ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΝΟΣΗΛΕΥΤΙΚΗΣ ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ ΨΥΧΟΛΟΓΙΚΕΣ ΕΠΙΠΤΩΣΕΙΣ ΣΕ ΓΥΝΑΙΚΕΣ ΜΕΤΑ ΑΠΟ ΜΑΣΤΕΚΤΟΜΗ ΓΕΩΡΓΙΑ ΤΡΙΣΟΚΚΑ Λευκωσία 2012 ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΕΠΙΣΤΗΜΩΝ

Διαβάστε περισσότερα

FEATURES APPLICATION PRODUCT T IDENTIFICATION PRODUCT T DIMENSION MAG.LAYERS

FEATURES APPLICATION PRODUCT T IDENTIFICATION PRODUCT T DIMENSION MAG.LAYERS FEATURES RoHS compliant. Super low resistance, ultra high current rating. High performance (I sat) realized by metal dust core. Frequency Range: up to 1MHz. APPLICATION PDA, notebook, desktop, and server

Διαβάστε περισσότερα

IDPV-45 series. 45W PWM Output LED Driver. File Name:IDPV-45-SPEC S&E

IDPV-45 series. 45W PWM Output LED Driver. File Name:IDPV-45-SPEC S&E IDPV5 series S&E ~ A File Name:IDPV5SPEC 0805 IDPV5 series SPECIFICATION MODEL OUTPUT INPUT OTHERS NOTE DC VOLTAGE RATED CURRENT RATED POWER DIMMING RANGE VOLTAGE TOLERANCE PWM FREQUENCY (Typ.) SETUP TIME

Διαβάστε περισσότερα

VBA ΣΤΟ WORD. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Version 25-7-2015 ΗΜΙΤΕΛΗΣ!!!!

VBA ΣΤΟ WORD. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Version 25-7-2015 ΗΜΙΤΕΛΗΣ!!!! VBA ΣΤΟ WORD Version 25-7-2015 ΗΜΙΤΕΛΗΣ!!!! Μου παρουσιάστηκαν δύο θέματα. 1. Συχνά, όταν ήθελα να δώσω ένα φυλλάδιο εργασίας με ασκήσεις στους μαθητές έκανα το εξής: Εγραφα σε ένα αρχείο του Word τις

Διαβάστε περισσότερα

Γιπλυμαηική Δπγαζία. «Ανθπυποκενηπικόρ ζσεδιαζμόρ γέθςπαρ πλοίος» Φοςζιάνηρ Αθανάζιορ. Δπιβλέπυν Καθηγηηήρ: Νηθφιανο Π. Βεληίθνο

Γιπλυμαηική Δπγαζία. «Ανθπυποκενηπικόρ ζσεδιαζμόρ γέθςπαρ πλοίος» Φοςζιάνηρ Αθανάζιορ. Δπιβλέπυν Καθηγηηήρ: Νηθφιανο Π. Βεληίθνο ΔΘΝΙΚΟ ΜΔΣΟΒΙΟ ΠΟΛΤΣΔΥΝΔΙΟ ΥΟΛΗ ΝΑΤΠΗΓΩΝ ΜΗΥΑΝΟΛΟΓΩΝ ΜΗΥΑΝΙΚΩΝ Γιπλυμαηική Δπγαζία «Ανθπυποκενηπικόρ ζσεδιαζμόρ γέθςπαρ πλοίος» Φοςζιάνηρ Αθανάζιορ Δπιβλέπυν Καθηγηηήρ: Νηθφιανο Π. Βεληίθνο Σπιμελήρ Δξεηαζηική

Διαβάστε περισσότερα

LR Series Metal Alloy Low-Resistance Resistor

LR Series Metal Alloy Low-Resistance Resistor LR Series Metal Alloy LowResistance Resistor This specification is applicable to lead free, halogen free of RoHS directive for metal alloy lowresistance resistor. The product is for general purpose. The

Διαβάστε περισσότερα

Second Order RLC Filters

Second Order RLC Filters ECEN 60 Circuits/Electronics Spring 007-0-07 P. Mathys Second Order RLC Filters RLC Lowpass Filter A passive RLC lowpass filter (LPF) circuit is shown in the following schematic. R L C v O (t) Using phasor

Διαβάστε περισσότερα

RF series Ultra High Q & Low ESR capacitor series

RF series Ultra High Q & Low ESR capacitor series RF series Ultra High Q & Low ESR capacitor series FAITHFUL LINK Features Application» High Q and low ESR performance at high frequency» Telecommunication products & equipments:» Ultra low capacitance to

Διαβάστε περισσότερα

NMBTC.COM /

NMBTC.COM / Common Common Vibration Test:... Conforms to JIS C 60068-2-6, Amplitude: 1.5mm, Frequency 10 to 55 Hz, 1 hour in each of the X, Y and Z directions. Shock Test:...Conforms to JIS C 60068-2-27, Acceleration

Διαβάστε περισσότερα

Sunlord. Wire Wound SMD Power Inductors SPH Series Operating Temp. : -40 ~+125 (Including self-heating) 2R2 SPH

Sunlord. Wire Wound SMD Power Inductors SPH Series Operating Temp. : -40 ~+125 (Including self-heating) 2R2 SPH Wire Wound SMD Power Inductors SPH Series Operating Temp. : -4 ~+25 (Including self-heating) FEATURES Magnetic-resin shielded construction reduces buzz noise to ultra-low levels Metallization on ferrite

Διαβάστε περισσότερα

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required) Phys460.nb 81 ψ n (t) is still the (same) eigenstate of H But for tdependent H. The answer is NO. 5.5.5. Solution for the tdependent Schrodinger s equation If we assume that at time t 0, the electron starts

Διαβάστε περισσότερα

The Simply Typed Lambda Calculus

The Simply Typed Lambda Calculus Type Inference Instead of writing type annotations, can we use an algorithm to infer what the type annotations should be? That depends on the type system. For simple type systems the answer is yes, and

Διαβάστε περισσότερα

ΕΙΣΑΓΩΓΗ ΣΤΟN ΠΡΟΓΡΑΜΜΑΤΙΣΜΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΠΟΛΥΤΕΧΝΙΚΗ ΣΧΟΛΗ ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ Η/Υ ΚΑΙ ΠΛΗΡΟΦΟΡΙΚΗΣ

ΕΙΣΑΓΩΓΗ ΣΤΟN ΠΡΟΓΡΑΜΜΑΤΙΣΜΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΠΟΛΥΤΕΧΝΙΚΗ ΣΧΟΛΗ ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ Η/Υ ΚΑΙ ΠΛΗΡΟΦΟΡΙΚΗΣ ΕΙΣΑΓΩΓΗ ΣΤΟN ΠΡΟΓΡΑΜΜΑΤΙΣΜΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΠΟΛΥΤΕΧΝΙΚΗ ΣΧΟΛΗ ΤΜΗΜΑ ΜΗΧΑΝΙΚΩΝ Η/Υ ΚΑΙ ΠΛΗΡΟΦΟΡΙΚΗΣ Εμβέλεια Μεταβλητών Εμβέλεια = το τμήμα του προγράμματος στο οποίο έχει ισχύ ή είναι ορατή η μεταβλητή.

Διαβάστε περισσότερα

Writing kernels for fun and profit

Writing kernels for fun and profit Writing kernels for fun and profit Γιάννης Τσιομπίκας nuclear@memberfsforg 23 Μαρτίου 2011 Γιατί; It s FUN! Εξοικείωση με το hardware Εμβάθυνση στον θαυμαστό κόσμο των λειτουργικών συστημάτων Μια καλή

Διαβάστε περισσότερα

Capacitors - Capacitance, Charge and Potential Difference

Capacitors - Capacitance, Charge and Potential Difference Capacitors - Capacitance, Charge and Potential Difference Capacitors store electric charge. This ability to store electric charge is known as capacitance. A simple capacitor consists of 2 parallel metal

Διαβάστε περισσότερα

Technical Information Efficiency and Derating SUNNY BOY / SUNNY TRIPOWER / SUNNY MINI CENTRAL

Technical Information Efficiency and Derating SUNNY BOY / SUNNY TRIPOWER / SUNNY MINI CENTRAL Technical Information Efficiency and Derating SUNNY BOY / SUNNY TRIPOWER / SUNNY MINI CENTRAL WirkungDerat-TI-en-40 Version 4.0 ENGLISH Legal Provisions SMA Solar Technology AG Legal Provisions The information

Διαβάστε περισσότερα

Δθαξκνγέο αζύξκαηεο ηειεκεηξίαο ζηελ αλαπηπμηαθή πιαηθόξκα Arduino

Δθαξκνγέο αζύξκαηεο ηειεκεηξίαο ζηελ αλαπηπμηαθή πιαηθόξκα Arduino Σερλνινγηθό Δθπαηδεπηηθό Ίδξπκα Κξήηεο ρνιή Σερλνινγηθώλ Δθαξκνγώλ Σκήκα Δθαξκνζκέλεο Πιεξνθνξηθήο & Πνιπκέζσλ Πηπρηαθή εξγαζία Δθαξκνγέο αζύξκαηεο ηειεκεηξίαο ζηελ αλαπηπμηαθή πιαηθόξκα Arduino Διεπζεξηάδεο

Διαβάστε περισσότερα

C.S. 430 Assignment 6, Sample Solutions

C.S. 430 Assignment 6, Sample Solutions C.S. 430 Assignment 6, Sample Solutions Paul Liu November 15, 2007 Note that these are sample solutions only; in many cases there were many acceptable answers. 1 Reynolds Problem 10.1 1.1 Normal-order

Διαβάστε περισσότερα

BM1385. Bitcoin Hash ASIC Datasheet. Bitmain Technologies Limited

BM1385. Bitcoin Hash ASIC Datasheet. Bitmain Technologies Limited BM1385 Bitcoin Hash ASIC Datasheet Bitmain Technologies Limited Page 1 of 14 Contents Contents... 1 Revision History... 2 1 Overview... 3 1.1 Features... 3 1.2 Applications... 3 2 Pin Description... 4

Διαβάστε περισσότερα

Surface Mount Multilayer Chip Capacitors for Commodity Solutions

Surface Mount Multilayer Chip Capacitors for Commodity Solutions Surface Mount Multilayer Chip Capacitors for Commodity Solutions Below tables are test procedures and requirements unless specified in detail datasheet. 1) Visual and mechanical 2) Capacitance 3) Q/DF

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Αν κάπου κάνετε κάποιες υποθέσεις να αναφερθούν στη σχετική ερώτηση. Όλα τα αρχεία που αναφέρονται στα προβλήματα βρίσκονται στον ίδιο φάκελο με το εκτελέσιμο

Διαβάστε περισσότερα

CYTA Cloud Server Set Up Instructions

CYTA Cloud Server Set Up Instructions CYTA Cloud Server Set Up Instructions ΕΛΛΗΝΙΚΑ ENGLISH Initial Set-up Cloud Server To proceed with the initial setup of your Cloud Server first login to the Cyta CloudMarketPlace on https://cloudmarketplace.cyta.com.cy

Διαβάστε περισσότερα

the total number of electrons passing through the lamp.

the total number of electrons passing through the lamp. 1. A 12 V 36 W lamp is lit to normal brightness using a 12 V car battery of negligible internal resistance. The lamp is switched on for one hour (3600 s). For the time of 1 hour, calculate (i) the energy

Διαβάστε περισσότερα

ALUMINUM ELECTROLYTIC CAPACITORS LKG

ALUMINUM ELECTROLYTIC CAPACITORS LKG Lug / Snap-in Terminal Type, For Audio Equipment Disigned for high grade audio equipment, giving priority to high fidelity sound quality. The variation expansion of the. TYPE-: The low profile high tone

Διαβάστε περισσότερα

Aluminum Electrolytic Capacitors

Aluminum Electrolytic Capacitors Aluminum Electrolytic Capacitors Snap-In, Mini., 105 C, High Ripple APS TS-NH ECE-S (G) Series: TS-NH Features Long life: 105 C 2,000 hours; high ripple current handling ability Wide CV value range (47

Διαβάστε περισσότερα

Surface Mount Aluminum Electrolytic Capacitors

Surface Mount Aluminum Electrolytic Capacitors FEATURES CYLINDRICAL V-CHIP CONSTRUCTION LOW COST, GENERAL PURPOSE, 2000 HOURS AT 85 O C NEW EXPANDED CV RANGE (up to 6800µF) ANTI-SOLVENT (2 MINUTES) DESIGNED FOR AUTOMATIC MOUNTING AND REFLOW SOLDERING

Διαβάστε περισσότερα

Configurations: Dimension (mm) B (max) A (max) 0.20 IWCCG1005. Inductance Range IWCCG ~ IWCCG ~ 1000 IWCCG

Configurations: Dimension (mm) B (max) A (max) 0.20 IWCCG1005. Inductance Range IWCCG ~ IWCCG ~ 1000 IWCCG Configurations: FEATURES High frequency. Highest possible SRFs as well as excellent Q values. The wire is wound directed on the core at a precision pitch. RoHS Compliant. APPLICATION Pagers, Cordless phones

Διαβάστε περισσότερα

Statistical Inference I Locally most powerful tests

Statistical Inference I Locally most powerful tests Statistical Inference I Locally most powerful tests Shirsendu Mukherjee Department of Statistics, Asutosh College, Kolkata, India. shirsendu st@yahoo.co.in So far we have treated the testing of one-sided

Διαβάστε περισσότερα

ΕΛΕΓΧΟΣ ΑΝΤΛΙΟΣΤΑΣΙΟΥ ΜΕ ΔΕΞΑΜΕΝΗ ΜΕΣΩ GSM CHECK IN TANK PUMPING THROUGH GSM

ΕΛΕΓΧΟΣ ΑΝΤΛΙΟΣΤΑΣΙΟΥ ΜΕ ΔΕΞΑΜΕΝΗ ΜΕΣΩ GSM CHECK IN TANK PUMPING THROUGH GSM ΣΧΟΛΗ ΤΕΧΝΟΛΟΓΙΚΏΝ ΕΦΑΡΜΟΓΏΝ ΤΜΗΜΑ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ Τ.Ε. ΠΤΥΧΙΑΚΗ ΕΡΓΑΣΙΑ CHECK IN TANK PUMPING THROUGH GSM Επιβλέπων Καθηγητής: Κόγιας Παναγιώτης Επιβλέπουσα Καθηγήτρια: Κόγια Φωτεινή ΚΑΒΑΛΑ, ΦΕΒΡΟΥΑΡΙΟΣ

Διαβάστε περισσότερα

Fractional Colorings and Zykov Products of graphs

Fractional Colorings and Zykov Products of graphs Fractional Colorings and Zykov Products of graphs Who? Nichole Schimanski When? July 27, 2011 Graphs A graph, G, consists of a vertex set, V (G), and an edge set, E(G). V (G) is any finite set E(G) is

Διαβάστε περισσότερα

Εφαρμογές Arduino Σεμινάριο Ηλεκτρονικού Τομέα

Εφαρμογές Arduino Σεμινάριο Ηλεκτρονικού Τομέα Εφαρμογές Arduino Σεμινάριο Ηλεκτρονικού Τομέα 1ο ΕΠΑΛ Περάματος 7ο ΕΚ Πειραιά Πλακέτα Arduino Το 2005 oι Massimo Banzi και David Cueartielles στο Ivrea Δημιουργούν την υπολογιστική πλατφόρμα Arduino.

Διαβάστε περισσότερα

IWCSeries FEATURES APPLICATION ORDERING CODE TRIGON COMPONENTS. Configurations: Dimension (mm) IWC C G 1608 K 22N T (1) (2) (3) (4) (5) (6) (7)

IWCSeries FEATURES APPLICATION ORDERING CODE TRIGON COMPONENTS. Configurations: Dimension (mm) IWC C G 1608 K 22N T (1) (2) (3) (4) (5) (6) (7) Configurations: FEATURES High frequency. Highest possible SRFs as well as excellent Q values. The wire is wound directed on the core at a precision pitch. RoHS Compliant. APPLICATION Pagers, Cordless phones

Διαβάστε περισσότερα

2R2. 2 (L W H) [mm] Wire Wound SMD Power Inductor. Nominal Inductance Packing Tape & Reel. Design Code M ±20%

2R2. 2 (L W H) [mm] Wire Wound SMD Power Inductor. Nominal Inductance Packing Tape & Reel. Design Code M ±20% Wire Wound SMD Power Inductors WPN Series Operating temperature range : -40 ~+125 (Including self-heating) FEATURES Fe base metal material core provides large saturation current Metallization on ferrite

Διαβάστε περισσότερα

TaxiCounter Android App. Περδίκης Ανδρέας ME10069

TaxiCounter Android App. Περδίκης Ανδρέας ME10069 TaxiCounter Android App Περδίκης Ανδρέας ME10069 Content Android Operating System Development Tools Taxi Counter Algorithm Design Development Process Android Operating System Android is a Linux-based operating

Διαβάστε περισσότερα

UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications:

UNIVERSITY OF CALIFORNIA. EECS 150 Fall ) You are implementing an 4:1 Multiplexer that has the following specifications: UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences EECS 150 Fall 2001 Prof. Subramanian Midterm II 1) You are implementing an 4:1 Multiplexer that has the following specifications:

Διαβάστε περισσότερα

derivation of the Laplacian from rectangular to spherical coordinates

derivation of the Laplacian from rectangular to spherical coordinates derivation of the Laplacian from rectangular to spherical coordinates swapnizzle 03-03- :5:43 We begin by recognizing the familiar conversion from rectangular to spherical coordinates (note that φ is used

Διαβάστε περισσότερα

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Main source: Discrete-time systems and computer control by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 A Brief History of Sampling Research 1915 - Edmund Taylor Whittaker (1873-1956) devised a

Διαβάστε περισσότερα

No Item Code Description Series Reference (1) Meritek Series CRA Thick Film Chip Resistor AEC-Q200 Qualified Type

No Item Code Description Series Reference (1) Meritek Series CRA Thick Film Chip Resistor AEC-Q200 Qualified Type Qualified FEATURE Excellent Mechanical Strength and Electrical Stability Ideal for Pick and Place Machinery Stable High Frequency Characteristics Miniature, High Board Density Equivalent Specification

Διαβάστε περισσότερα

Metal thin film chip resistor networks

Metal thin film chip resistor networks Metal thin film chip resistor networks AEC-Q200 Compliant Features Relative resistance and relative TCR definable among multiple resistors within package. Relative resistance : ±%, relative TCR: ±1ppm/

Διαβάστε περισσότερα

Test Data Management in Practice

Test Data Management in Practice Problems, Concepts, and the Swisscom Test Data Organizer Do you have issues with your legal and compliance department because test environments contain sensitive data outsourcing partners must not see?

Διαβάστε περισσότερα

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1 Conceptual Questions. State a Basic identity and then verify it. a) Identity: Solution: One identity is cscθ) = sinθ) Practice Exam b) Verification: Solution: Given the point of intersection x, y) of the

Διαβάστε περισσότερα

C121. External Dimensions (L W) (mm) 0603 [0201] [0402] [0603] [0805]

C121. External Dimensions (L W) (mm) 0603 [0201] [0402] [0603] [0805] Multilayer Chip SDV Series Operating Temp. : -55 ~+125 FEATURES SMD type suitable for high density mounting Excellent clamping ratio and quick response time (

Διαβάστε περισσότερα

DC-DC Constant Current Step-Down LED driver LDD-300L LDD-350L LDD-500L LDD-600L LDD-700L CURRENT RANGE

DC-DC Constant Current Step-Down LED driver LDD-300L LDD-350L LDD-500L LDD-600L LDD-700L CURRENT RANGE SPECIFICATION ORDER NO. LDD-00L LDD-0L LDD-00L LDD-00L LDD-700L CURRENT RANGE 00mA 0mA 00mA VOLTAGE RANGE Note. ~ VDC for LDD-00~700L/LW ; ~ 8VDC for LDD-00~700LS CURRENT ACCURACY (Typ.) ±% at VDC input

Διαβάστε περισσότερα

CSR series. Thick Film Chip Resistor Current Sensing Type FEATURE PART NUMBERING SYSTEM ELECTRICAL CHARACTERISTICS

CSR series. Thick Film Chip Resistor Current Sensing Type FEATURE PART NUMBERING SYSTEM ELECTRICAL CHARACTERISTICS FEATURE Operating Temperature: -55 ~ +155 C 3 Watts power rating in 1 Watt size, 1225 package High purity alumina substrate for high power dissipation Long side terminations with higher power rating PART

Διαβάστε περισσότερα

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0. DESIGN OF MACHINERY SOLUTION MANUAL -7-1! PROBLEM -7 Statement: Design a double-dwell cam to move a follower from to 25 6, dwell for 12, fall 25 and dwell for the remader The total cycle must take 4 sec

Διαβάστε περισσότερα

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ - ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΕΠΛ 133: ΑΝΤΙΚΕΙΜΕΝΟΣΤΡΕΦΗΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ - ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ ΕΠΛ 133: ΑΝΤΙΚΕΙΜΕΝΟΣΤΡΕΦΗΣ ΠΡΟΓΡΑΜΜΑΤΙΣΜΟΣ ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial ΕΡΓΑΣΤΗΡΙΟ 3 Javadoc Tutorial Introduction Το Javadoc είναι ένα εργαλείο που παράγει αρχεία html (παρόμοιο με τις σελίδες στη διεύθυνση http://docs.oracle.com/javase/8/docs/api/index.html) από τα σχόλια

Διαβάστε περισσότερα

PRODUCT IDENTIFICATION SWPA 3012 S 1R0 N T

PRODUCT IDENTIFICATION SWPA 3012 S 1R0 N T Wire Wound SMD Power Inductors SWPA Series Operating temperature range: -4 ~+25 (Including self-heating) FEATURES Magnetic-resin shielded conruction reduces buzz noise to ultra-low levels Metallization

Διαβάστε περισσότερα

Elements of Information Theory

Elements of Information Theory Elements of Information Theory Model of Digital Communications System A Logarithmic Measure for Information Mutual Information Units of Information Self-Information News... Example Information Measure

Διαβάστε περισσότερα

SCOPE OF ACCREDITATION TO ISO 17025:2005

SCOPE OF ACCREDITATION TO ISO 17025:2005 SCOPE OF ACCREDITATION TO ISO 17025:2005 TFF CORPORATION TEKTRONIX COMPANY 1-14-1 Midorigaoka, Naka-gun, Ninomiya-machi, Kanagawa Pref. 259-0132 JAPAN Hideki Yuyama Phone: 81 463 70 5634 CALIBRATION Valid

Διαβάστε περισσότερα

Shape Square. Tolerance of Varistor Voltage For Varistor voltage<68, Special For Varistor voltage 68, 10% Lead Wire Type Straight Cut Lead

Shape Square. Tolerance of Varistor Voltage For Varistor voltage<68, Special For Varistor voltage 68, 10% Lead Wire Type Straight Cut Lead Leaded Varistor for urge uppression VP eries Operating Temp. : -40 ~ +85 FEATURE Fast response Excellent clamping ratio, high peak current and pulse energy withstanding characteristics, providing strong

Διαβάστε περισσότερα

Creative TEchnology Provider

Creative TEchnology Provider 1 Oil pplication Capacitors are intended for the improvement of Power Factor in low voltage power networks. Used advanced technology consists of metallized PP film with extremely low loss factor and dielectric

Διαβάστε περισσότερα

A 1. DDRA = 0b11110000; k = PINB; DDRC = 0xf0; PORTC = 0x0f;

A 1. DDRA = 0b11110000; k = PINB; DDRC = 0xf0; PORTC = 0x0f; μ : : - - A 1 / μ : : : _ _ : 1. μ μμ μ μ VR μ μ (STK200/CodeVision C). 2. - μ μ μμ C. _ _ μ - / μ μ μ STK200 8 8 LED. μ LED LEDn 0 Volt., SWn 5 Volt μ μ. μ ATmega16 32 -, μ 4 (ports) μ μ A,B,C D. μ 8-bit,

Διαβάστε περισσότερα

Approximation of distance between locations on earth given by latitude and longitude

Approximation of distance between locations on earth given by latitude and longitude Approximation of distance between locations on earth given by latitude and longitude Jan Behrens 2012-12-31 In this paper we shall provide a method to approximate distances between two points on earth

Διαβάστε περισσότερα

Power Inductor LVS Series

Power Inductor LVS Series RoHS Compliant Halogen Free REACH Compliant Part Numbering LVS 6645 L - 1R M - AU Series Name Dimensions Code Inductance Internal Code (mm) (uh) Tolerance 4412 4.x4.x1.2 L Low DCR R47.47 M ±% 4418 4.x4.x1.8

Διαβάστε περισσότερα

Bulletin 1489 UL489 Circuit Breakers

Bulletin 1489 UL489 Circuit Breakers Bulletin 489 UL489 Circuit Breakers Tech Data 489-A Standard AC Circuit Breaker 489-D DC Circuit Breaker 489-A, AC Circuit Breakers 489-D, DC Circuit Breakers Bulletin 489-A Industrial Circuit Breaker

Διαβάστε περισσότερα

Other Test Constructions: Likelihood Ratio & Bayes Tests

Other Test Constructions: Likelihood Ratio & Bayes Tests Other Test Constructions: Likelihood Ratio & Bayes Tests Side-Note: So far we have seen a few approaches for creating tests such as Neyman-Pearson Lemma ( most powerful tests of H 0 : θ = θ 0 vs H 1 :

Διαβάστε περισσότερα

Μηχανική Μάθηση Hypothesis Testing

Μηχανική Μάθηση Hypothesis Testing ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Μηχανική Μάθηση Hypothesis Testing Γιώργος Μπορμπουδάκης Τμήμα Επιστήμης Υπολογιστών Procedure 1. Form the null (H 0 ) and alternative (H 1 ) hypothesis 2. Consider

Διαβάστε περισσότερα

1000 VDC 1250 VDC 125 VAC 250 VAC J K 125 VAC, 250 VAC

1000 VDC 1250 VDC 125 VAC 250 VAC J K 125 VAC, 250 VAC Metallized Polyester Film Capacitor Type: ECQE(F) Non-inductive construction using metallized Polyester film with flame retardant epoxy resin coating Features Self-healing property Excellent electrical

Διαβάστε περισσότερα

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation Overview Transition Semantics Configurations and the transition relation Executions and computation Inference rules for small-step structural operational semantics for the simple imperative language Transition

Διαβάστε περισσότερα

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 1 State vector space and the dual space Space of wavefunctions The space of wavefunctions is the set of all

Διαβάστε περισσότερα

(C) 2010 Pearson Education, Inc. All rights reserved.

(C) 2010 Pearson Education, Inc. All rights reserved. Connectionless transmission with datagrams. Connection-oriented transmission is like the telephone system You dial and are given a connection to the telephone of fthe person with whom you wish to communicate.

Διαβάστε περισσότερα

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science. Bayesian statistics DS GA 1002 Probability and Statistics for Data Science http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall17 Carlos Fernandez-Granda Frequentist vs Bayesian statistics In frequentist

Διαβάστε περισσότερα

Προηγμένοι Μικροεπεξεργαστές. Φροντιστήριο 4 Real Mode Interrupts

Προηγμένοι Μικροεπεξεργαστές. Φροντιστήριο 4 Real Mode Interrupts Προηγμένοι Μικροεπεξεργαστές Φροντιστήριο 4 Real Mode Interrupts Επισκόπηση Μορφές control tranfer Γενικά μη προγραμματισμένες Ασυγχρονα προς την εκτέλεση του προγράμματος Hardware interrupts Σύγχρονα

Διαβάστε περισσότερα