TWI863635B - Microcontroller circuit, control method and operating system - Google Patents
Microcontroller circuit, control method and operating system Download PDFInfo
- Publication number
- TWI863635B TWI863635B TW112139933A TW112139933A TWI863635B TW I863635 B TWI863635 B TW I863635B TW 112139933 A TW112139933 A TW 112139933A TW 112139933 A TW112139933 A TW 112139933A TW I863635 B TWI863635 B TW I863635B
- Authority
- TW
- Taiwan
- Prior art keywords
- register
- storage space
- value
- image data
- circuit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Input (AREA)
Abstract
Description
本發明是關於一種微控制電路,特別是關於一種可提供影像信號的微控制電路。 The present invention relates to a microcontroller circuit, in particular to a microcontroller circuit that can provide image signals.
隨著科技的進步,電子裝置的種類及功能愈來愈多。液晶顯示器就是一種新型的顯示設備。由於液晶顯示器的體積薄、重量輕以及低幅射的優點,於近年來已日漸廣泛被使用。 With the advancement of technology, the types and functions of electronic devices are increasing. Liquid crystal display is a new type of display device. Due to the advantages of thin size, light weight and low radiation, LCD has been widely used in recent years.
本發明提供一種微控制電路,包括一記憶體、一影像處理電路、一第一暫存器、一第二暫存器、一控制電路以及一顯示電路。記憶體包括一第一儲存空間以及一第二儲存空間。影像處理電路將一第一影像資料寫入第一儲存空間,並將一第二影像資料寫入第二儲存空間。第一暫存器儲存第一及第二儲存空間之一者的起始位址。第二暫存器儲存第一及第二儲存空間之另一者的起始位址。控制電路根據一垂直同步信號,交換第一及第二暫存器的數值。 顯示電路根據第一暫存器的數值,讀取第一或第二儲存空間的影像資料。 The present invention provides a microcontroller circuit, including a memory, an image processing circuit, a first register, a second register, a control circuit and a display circuit. The memory includes a first storage space and a second storage space. The image processing circuit writes a first image data into the first storage space and writes a second image data into the second storage space. The first register stores the starting address of one of the first and second storage spaces. The second register stores the starting address of the other of the first and second storage spaces. The control circuit exchanges the values of the first and second registers according to a vertical synchronization signal. The display circuit reads the image data of the first or second storage space according to the value of the first register.
本發明另提供一種操作系統,包括一顯示裝置以及一微控制電路。顯示裝置根據一影像信號而呈現畫面。微控制電路提供影像信號,並包括一記憶體、一影像處理電路、一第一暫存器、一第二暫存器、一控制電路以及一顯示電路。記憶體包括一第一儲存空間以及一第二儲存空間。影像處理電路將一第一影像資料寫入第一儲存空間,並將一第二影像資料寫入第二儲存空間。第一暫存器儲存第一及第二儲存空間之一者的起始位址。第二暫存器儲存第一及第二儲存空間之另一者的起始位址。當一垂直同步信號被致能且一第三暫存器的數值為一特定數值時,控制電路交換第一及第二暫存器的數值。當第一暫存器的數值對應第一儲存空間時,顯示電路根據第一影像資料,產生影像信號。當第一暫存器的數值對應第二儲存空間時,顯示電路根據第二影像資料,產生影像信號。 The present invention further provides an operating system, including a display device and a microcontroller circuit. The display device presents a picture according to an image signal. The microcontroller circuit provides an image signal and includes a memory, an image processing circuit, a first register, a second register, a control circuit and a display circuit. The memory includes a first storage space and a second storage space. The image processing circuit writes a first image data into the first storage space and writes a second image data into the second storage space. The first register stores the starting address of one of the first and second storage spaces. The second register stores the starting address of the other of the first and second storage spaces. When a vertical synchronization signal is enabled and the value of a third register is a specific value, the control circuit exchanges the values of the first and second registers. When the value of the first register corresponds to the first storage space, the display circuit generates an image signal according to the first image data. When the value of the first register corresponds to the second storage space, the display circuit generates an image signal according to the second image data.
本發明更提供一種控制方法,適用於一微控制電路。微控制電路包括一記憶體、一第一暫存器以及一第二暫存器。記憶體具有一第一儲存空間以及一第二儲存空間。本發明之控制方法包括:接收一垂直同步信號;根據垂直同步信號,交換第一及第二暫存器的數值;當第一暫存器的數值對應第一儲存空間時,根據第一儲存空間的一第一影像資料,產生一影像信號;當第一暫存器的數值對應第二儲存空間時,根據第二儲存空間的一第二影像資 料,產生影像信號。 The present invention further provides a control method applicable to a microcontroller circuit. The microcontroller circuit includes a memory, a first register and a second register. The memory has a first storage space and a second storage space. The control method of the present invention includes: receiving a vertical synchronization signal; exchanging the values of the first and second registers according to the vertical synchronization signal; when the value of the first register corresponds to the first storage space, generating an image signal according to a first image data of the first storage space; when the value of the first register corresponds to the second storage space, generating an image signal according to a second image data of the second storage space.
本發明之控制方法可經由本發明之微控制電路來實作,其為可執行特定功能之硬體或韌體,亦可以透過程式碼方式收錄於一紀錄媒體中,並結合特定硬體來實作。當程式碼被電子裝置、處理器、電腦或機器載入且執行時,電子裝置、處理器、電腦或機器變成用以實行本發明之微控制電路。 The control method of the present invention can be implemented by the microcontroller circuit of the present invention, which is hardware or firmware that can execute specific functions, or can be recorded in a recording medium in the form of program code and implemented in combination with specific hardware. When the program code is loaded and executed by an electronic device, processor, computer or machine, the electronic device, processor, computer or machine becomes a microcontroller circuit for implementing the present invention.
100、300:操作系統 100, 300: Operating system
110、310:微控制電路 110, 310: Microcontroller circuit
120、320:顯示裝置 120, 320: Display device
111、311:影像處理電路 111, 311: Image processing circuit
112、312:記憶體 112, 312: Memory
113、313:顯示電路 113, 313: Display circuit
114、314:控制電路 114, 314: Control circuit
Reg_OnLine、Reg_OffLine、Reg_BufReady、Reg_BufWidth:暫存器 Reg_OnLine, Reg_OffLine, Reg_BufReady, Reg_BufWidth: temporary register
SIG:影像信號 SIG: Image Signal
SA1、SA2:儲存空間 SA1, SA2: Storage space
VSYNC:垂直同步信號 VSYNC: vertical synchronization signal
S411~S415、S511~S519:步驟 S411~S415, S511~S519: Steps
第1圖為本發明之操作系統的示意圖。 Figure 1 is a schematic diagram of the operating system of the present invention.
第2圖為第1圖的操作系統的操作示意圖。 Figure 2 is a schematic diagram of the operation of the operating system in Figure 1.
第3圖為本發明之操作系統的另一示意圖。 Figure 3 is another schematic diagram of the operating system of the present invention.
第4圖為本發明之控制方法的流程示意圖。 Figure 4 is a schematic diagram of the control method of the present invention.
第5圖為本發明之控制方法的另一流程示意圖。 Figure 5 is another schematic diagram of the control method of the present invention.
為讓本發明之目的、特徵和優點能更明顯易懂,下文特舉出實施例,並配合所附圖式,做詳細之說明。本發明說明書提供不同的實施例來說明本發明不同實施方式的技術特徵。其中,實施例中的各元件之配置係為說明之用,並非用以限制本發明。另外,實施例中圖式標號之部分重覆,係為了簡化說明,並非意指不同實施例之間的關聯性。 In order to make the purpose, features and advantages of the present invention more clearly understandable, the following examples are specifically cited and detailed descriptions are made in conjunction with the attached drawings. This invention specification provides different examples to illustrate the technical features of different implementations of the present invention. Among them, the configuration of each component in the embodiment is for illustrative purposes and is not used to limit the present invention. In addition, the partial repetition of the figure numbers in the embodiment is for the purpose of simplifying the description and does not mean the correlation between different embodiments.
第1圖為本發明之操作系統的示意圖。如圖所示,操作系統100包括一微控制電路110以及一顯示裝置120。顯示裝置120根據一影像信號SIG而呈現畫面。本發明並不限定顯示裝置120的種類。在一可能實施例中,顯示裝置120係為一液晶顯示器(LCD)。 FIG. 1 is a schematic diagram of the operating system of the present invention. As shown in the figure, the operating system 100 includes a microcontroller circuit 110 and a display device 120. The display device 120 displays a picture according to an image signal SIG. The present invention does not limit the type of the display device 120. In a possible embodiment, the display device 120 is a liquid crystal display (LCD).
微控制電路110提供影像信號SIG,並包括一影像處理電路111、一記憶體112、一顯示電路113、一控制電路114、暫存器Reg_OnLine以及Reg_OffLine。本發明並不限定微控制電路110的種類。在一可能實施例中,微控制電路110係為一微控制單元(MCU)。 The microcontroller circuit 110 provides an image signal SIG and includes an image processing circuit 111, a memory 112, a display circuit 113, a control circuit 114, registers Reg_OnLine and Reg_OffLine. The present invention does not limit the type of the microcontroller circuit 110. In a possible embodiment, the microcontroller circuit 110 is a microcontroller unit (MCU).
記憶體112包括儲存空間SA1及SA2。本發明並不限定儲存空間的數量。在一可能實施例中,記憶體112具有更多的儲存空間。在本實施例中,儲存空間SA1及SA2為不連續儲存空間。本發明並不限定記憶體112的種類。在一可能實施例中,記憶體112係為一揮發性記憶體,如DRAM。 The memory 112 includes storage spaces SA1 and SA2. The present invention does not limit the amount of storage space. In one possible embodiment, the memory 112 has more storage space. In this embodiment, the storage spaces SA1 and SA2 are discontinuous storage spaces. The present invention does not limit the type of memory 112. In one possible embodiment, the memory 112 is a volatile memory, such as DRAM.
影像處理電路111用以寫入影像資料至儲存空間SA1及SA2。在一可能實施例中,影像處理電路111寫入一第一影像資料至儲存空間SA1,並寫入一第二影像資料至儲存空間SA2。在本實施例中,影像處理電路111根據暫存器Ref_OffLine的數值,更新儲存空間SA1及SA2的影像資料。 The image processing circuit 111 is used to write image data to the storage spaces SA1 and SA2. In one possible embodiment, the image processing circuit 111 writes a first image data to the storage space SA1 and writes a second image data to the storage space SA2. In this embodiment, the image processing circuit 111 updates the image data of the storage spaces SA1 and SA2 according to the value of the register Ref_OffLine.
舉例而言,當暫存器Ref_OffLine的數值指向儲存 空間SA1時,影像處理電路111將一第三影像資料寫入儲存空間SA1,用以取代第一影像資料。在此例中,第三影像資料的資料量相同於第一影像資料的資料量。在另一可能實施例中,第三影像資料的資料量小於第一影像資料的資料量。在此例中,影像處理電路111利用第三影像資料,更新儲存空間SA1的部分影像資料。當暫存器Ref_OffLine的數值指向儲存空間SA2時,影像處理電路111將一第三影像資料寫入儲存空間SA2,用以取代第二影像資料。在此例中,第三影像資料的資料量相同於第二影像資料的資料量。在另一可能實施例中,第三影像資料的資料量小於第二影像資料的資料量。在此例中,影像處理電路111利用第三影像資料,更新儲存空間SA2的部分影像資料。在其它實施例中,影像處理電路111利用一直接記憶體存取(direct memory access;DMA)技術,存取記憶體112。 For example, when the value of the register Ref_OffLine points to the storage space SA1, the image processing circuit 111 writes a third image data into the storage space SA1 to replace the first image data. In this example, the data amount of the third image data is the same as the data amount of the first image data. In another possible embodiment, the data amount of the third image data is less than the data amount of the first image data. In this example, the image processing circuit 111 uses the third image data to update part of the image data in the storage space SA1. When the value of the register Ref_OffLine points to the storage space SA2, the image processing circuit 111 writes a third image data into the storage space SA2 to replace the second image data. In this example, the data amount of the third image data is the same as the data amount of the second image data. In another possible embodiment, the data volume of the third image data is less than the data volume of the second image data. In this example, the image processing circuit 111 uses the third image data to update part of the image data in the storage space SA2. In other embodiments, the image processing circuit 111 uses a direct memory access (DMA) technology to access the memory 112.
暫存器Ref_OnLine儲存一第一存取位址。暫存器Ref_OffLine儲存一第二存取位址。在一可能實施例中,第一存取位址係為儲存空間SA1及SA2之一者的起始位址,第二存取位址係為儲存空間SA1及SA2之另一者的起始位址。舉例而言,暫存器Ref_OnLine所記錄的存取位址相同於儲存空間SA1的起始位址,暫存器Ref_OffLine所記錄的存取位址相同於儲存空間SA2的起始位址。 The register Ref_OnLine stores a first access address. The register Ref_OffLine stores a second access address. In a possible embodiment, the first access address is the starting address of one of the storage spaces SA1 and SA2, and the second access address is the starting address of the other of the storage spaces SA1 and SA2. For example, the access address recorded in the register Ref_OnLine is the same as the starting address of the storage space SA1, and the access address recorded in the register Ref_OffLine is the same as the starting address of the storage space SA2.
在一可能實施例中,暫存器Ref_OffLine整合於影 像處理電路111或是記憶體112之中。在另一可能實施例中,暫存器Ref_OffLine獨立於影像處理電路111與記憶體112之外。在其它實施例中,暫存器Ref_OnLine整合於顯示電路113或是記憶體112之中。在另一可能實施例中,暫存器Ref_OnLine獨立於顯示電路113與記憶體112之外。 In one possible embodiment, the register Ref_OffLine is integrated into the image processing circuit 111 or the memory 112. In another possible embodiment, the register Ref_OffLine is independent of the image processing circuit 111 and the memory 112. In other embodiments, the register Ref_OnLine is integrated into the display circuit 113 or the memory 112. In another possible embodiment, the register Ref_OnLine is independent of the display circuit 113 and the memory 112.
控制電路114接收一垂直同步信號VSYNC,並根據垂直同步信號VSYNC,交換(exchange)暫存器Ref_OnLine與暫存器Ref_OffLine所儲存的數值。舉例而言,當垂直同步信號VSYNC被致能時,控制電路114將暫存器Ref_OnLine所儲存的數值(如0x10000)複製到暫存器Ref_OffLine,並將暫存器Ref_OffLine原本所儲存的數值(如0x20000)複製到暫存器Ref_OnLine。 The control circuit 114 receives a vertical synchronization signal VSYNC, and exchanges the values stored in the register Ref_OnLine and the register Ref_OffLine according to the vertical synchronization signal VSYNC. For example, when the vertical synchronization signal VSYNC is enabled, the control circuit 114 copies the value stored in the register Ref_OnLine (such as 0x10000) to the register Ref_OffLine, and copies the value originally stored in the register Ref_OffLine (such as 0x20000) to the register Ref_OnLine.
顯示電路113根據暫存器Ref_OnLine的數值,讀取儲存空間SA1或SA2。舉例而言,當暫存器Ref_OnLine的數值指向儲存空間SA1時,顯示電路113根據儲存空間SA1的影像資料,產生影像信號SIG。當暫存器Ref_OnLine的數值指向儲存空間SA2時,顯示電路113根據儲存空間SA2的影像資料,產生影像信號SIG。在一可能實施例中,顯示電路113利用DMA技術,存取記憶體112。 The display circuit 113 reads the storage space SA1 or SA2 according to the value of the register Ref_OnLine. For example, when the value of the register Ref_OnLine points to the storage space SA1, the display circuit 113 generates an image signal SIG according to the image data of the storage space SA1. When the value of the register Ref_OnLine points to the storage space SA2, the display circuit 113 generates an image signal SIG according to the image data of the storage space SA2. In a possible embodiment, the display circuit 113 uses DMA technology to access the memory 112.
第2圖為第1圖的操作系統的操作示意圖。在時間點T1,垂直同步信號VSYNC被致能。因此,控制電路114交換暫存 器Ref_OnLine與暫存器Ref_OffLine的數值。舉例而言,經交換後,暫存器Ref_OnLine的數值對應儲存空間SA1的起始位址0x10000,且暫存器Ref_OffLine的數值對應儲存空間SA2的起始位址0x20000。因此,顯示電路113從儲存空間SA1的起始位址0x10000開始,讀取儲存空間SA1所儲存的影像資料。顯示裝置120所呈現的畫面對應於儲存空間SA1的影像資料。 FIG. 2 is an operation diagram of the operating system of FIG. 1. At time point T1, the vertical synchronization signal VSYNC is enabled. Therefore, the control circuit 114 exchanges the values of the register Ref_OnLine and the register Ref_OffLine. For example, after the exchange, the value of the register Ref_OnLine corresponds to the starting address 0x10000 of the storage space SA1, and the value of the register Ref_OffLine corresponds to the starting address 0x20000 of the storage space SA2. Therefore, the display circuit 113 starts from the starting address 0x10000 of the storage space SA1 and reads the image data stored in the storage space SA1. The picture presented by the display device 120 corresponds to the image data of the storage space SA1.
在一些實施例中,當顯示電路113根據暫存器Ref_OnLine讀取儲存空間SA1所儲存的影像資料時,影像處理電路111根據暫存器Ref_OffLine所儲存的數值(如0x20000),從儲存空間SA2的起始位址0x20000開始,寫入新的影像資料。 In some embodiments, when the display circuit 113 reads the image data stored in the storage space SA1 according to the register Ref_OnLine, the image processing circuit 111 writes new image data starting from the starting address 0x20000 of the storage space SA2 according to the value stored in the register Ref_OffLine (such as 0x20000).
在時間點T2,垂直同步信號VSYNC再次被致能。因此,控制電路114交換暫存器Ref_OnLine與暫存器Ref_OffLine的數值。舉例而言,經交換後,暫存器Ref_OnLine的數值對應儲存空間SA2的起始位址0x20000,且暫存器Ref_OffLine的數值對應儲存空間SA1的起始位址0x10000。因此,顯示電路113從儲存空間SA2的起始位址0x20000開始,讀取儲存空間SA2所儲存的影像資料。此時,顯示裝置120所呈現的畫面對應於儲存空間SA2的影像資料。 At time point T2, the vertical synchronization signal VSYNC is enabled again. Therefore, the control circuit 114 exchanges the values of the register Ref_OnLine and the register Ref_OffLine. For example, after the exchange, the value of the register Ref_OnLine corresponds to the starting address 0x20000 of the storage space SA2, and the value of the register Ref_OffLine corresponds to the starting address 0x10000 of the storage space SA1. Therefore, the display circuit 113 starts from the starting address 0x20000 of the storage space SA2 and reads the image data stored in the storage space SA2. At this time, the picture presented by the display device 120 corresponds to the image data of the storage space SA2.
在一些實施例中,當顯示電路113根據暫存器Ref_OnLine讀取儲存空間SA2所儲存的影像資料時,影像處理電路111根據暫存器Ref_OffLine所儲存的數值(如0x10000),從儲 存空間SA1的起始位址0x10000開始,寫入新的影像資料。 In some embodiments, when the display circuit 113 reads the image data stored in the storage space SA2 according to the register Ref_OnLine, the image processing circuit 111 writes new image data starting from the starting address 0x10000 of the storage space SA1 according to the value stored in the register Ref_OffLine (such as 0x10000).
在垂直同步信號VSYNC被致能前,影像處理電路111更新相對應儲存空間的影像資料。因此,在垂直同步信號VSYNC被致能時,影像電路113可根據更新後的影像資料,產生影像信號SIG。因此,顯示裝置120呈現正確的畫面,而不會發生影像撕裂現象。 Before the vertical synchronization signal VSYNC is enabled, the image processing circuit 111 updates the image data corresponding to the storage space. Therefore, when the vertical synchronization signal VSYNC is enabled, the image circuit 113 can generate the image signal SIG according to the updated image data. Therefore, the display device 120 presents a correct picture without image tearing.
第3圖為本發明之操作系統的另一示意圖。如圖所示,操作系統300包括一微控制電路310以及一顯示裝置320。顯示裝置320根據影像信號SIG而呈現畫面。由於顯示裝置320的特性相同於第1圖的顯示裝置120的特性,故不再贅述。 FIG. 3 is another schematic diagram of the operating system of the present invention. As shown in the figure, the operating system 300 includes a microcontroller circuit 310 and a display device 320. The display device 320 displays the image according to the image signal SIG. Since the characteristics of the display device 320 are the same as those of the display device 120 in FIG. 1, they will not be described in detail.
微控制電路310包括一影像處理電路311、一記憶體312、一顯示電路313、一控制電路314、暫存器Reg_OnLine、Reg_OffLine以及Reg_BufReady。由於影像處理電路311、記憶體312、顯示電路313、控制電路314、暫存器Reg_OnLine與Reg_OffLine的特性相同於第1圖的影像處理電路111、記憶體112、顯示電路113、控制電路114、暫存器Reg_OnLine以及Reg_OffLine,故不再贅述。 The microcontroller circuit 310 includes an image processing circuit 311, a memory 312, a display circuit 313, a control circuit 314, registers Reg_OnLine, Reg_OffLine, and Reg_BufReady. Since the characteristics of the image processing circuit 311, the memory 312, the display circuit 313, the control circuit 314, the registers Reg_OnLine and Reg_OffLine are the same as those of the image processing circuit 111, the memory 112, the display circuit 113, the control circuit 114, the registers Reg_OnLine and Reg_OffLine in FIG. 1, they will not be described in detail.
當暫存器Reg_BufReady的數值等於一特定數值時,表示影像處理電路311已根據暫存器Reg_OffLine更新相對應的儲存空間。因此,在垂直同步信號VSYNC被致能時,控制電路314交換暫存器Ref_OnLine與暫存器Ref_OffLine的數值。在一 可能實施例中,在控制電路314交換完成暫存器Ref_OnLine與暫存器Ref_OffLine的數值後,控制電路314設定暫存器Reg_BufReady的數值不等於特定數值。此時,暫存器Reg_BufReady的數值可能為0。 When the value of register Reg_BufReady is equal to a specific value, it means that the image processing circuit 311 has updated the corresponding storage space according to register Reg_OffLine. Therefore, when the vertical synchronization signal VSYNC is enabled, the control circuit 314 exchanges the values of register Ref_OnLine and register Ref_OffLine. In a possible embodiment, after the control circuit 314 completes the exchange of the values of register Ref_OnLine and register Ref_OffLine, the control circuit 314 sets the value of register Reg_BufReady to be not equal to the specific value. At this time, the value of register Reg_BufReady may be 0.
當暫存器Reg_BufReady的數值不等於特定數值且垂直同步信號VSYNC未被致能時,影像處理電路311根據暫存器Ref_OffLine的數值,對儲存空間SA1或SA2進行一更新操作。在完成更新操作後,影像處理電路311可能設定暫存器Reg_BufReady的數值等於特定數值,如數值1。 When the value of the register Reg_BufReady is not equal to a specific value and the vertical synchronization signal VSYNC is not enabled, the image processing circuit 311 performs an update operation on the storage space SA1 or SA2 according to the value of the register Ref_OffLine. After completing the update operation, the image processing circuit 311 may set the value of the register Reg_BufReady to be equal to a specific value, such as the value 1.
在一些實施例中,當暫存器Reg_BufReady的數值不等於特定數值,影像處理電路311根據暫存器Ref_OffLine的數值,更新記憶體312的影像資料。舉例而言,當暫存器Ref_OffLine的數值指向儲存空間SA1時,影像處理電路311寫入新的影像資料(或稱第三影像資料)至儲存空間SA1。當暫存器Ref_OffLine的數值指向儲存空間SA2時,影像處理電路311寫入第三影像資料至儲存空間SA2。 In some embodiments, when the value of the register Reg_BufReady is not equal to a specific value, the image processing circuit 311 updates the image data of the memory 312 according to the value of the register Ref_OffLine. For example, when the value of the register Ref_OffLine points to the storage space SA1, the image processing circuit 311 writes new image data (or third image data) to the storage space SA1. When the value of the register Ref_OffLine points to the storage space SA2, the image processing circuit 311 writes the third image data to the storage space SA2.
本發明並不限定第三影像資料的資料量。在一可能實施例中,第三影像資料的資料量相同於儲存空間SA1及SA2裡的影像資料的資料量。舉例而言,儲存空間SA1及SA2各自儲存320*240*4的資料。在此例中,第三影像資料的資料量等於320*240*4。在另一可能實施例中,第三影像資料的資料量小於儲 存空間SA1及SA2的資料量。在此例中,影像處理電路311利用第三影像信號,更新儲存空間SA1及SA2的部分影像資料。 The present invention does not limit the data volume of the third image data. In one possible embodiment, the data volume of the third image data is the same as the data volume of the image data in the storage spaces SA1 and SA2. For example, the storage spaces SA1 and SA2 each store 320*240*4 data. In this example, the data volume of the third image data is equal to 320*240*4. In another possible embodiment, the data volume of the third image data is less than the data volume of the storage spaces SA1 and SA2. In this example, the image processing circuit 311 uses the third image signal to update part of the image data in the storage spaces SA1 and SA2.
在一些實施例中,當暫存器Reg_BufReady的數值不等於特定數值時,表示影像處理路311尚未完成更新操作。此時,如果垂直同步信號VSYNC被致能時,顯示電路313根據暫存器Reg_OnLine的數值,讀取相對應的儲存空間的影像資料。舉例而言,假設,暫存器Reg_OnLine的數值對應儲存空間SA1,且儲存空間SA1儲存第一影像資料。在一第一期間,暫存器Reg_BufReady的數值不等於特定數值且垂直同步信號VSYNC被致能時,顯示電路313根據儲存空間SA1的第一影像資料產生影像信號SIG。此時,顯示裝置320呈現一特定畫面。接著,在一第二期間,暫存器Reg_BufReady的數值仍不等於特定數值且垂直同步信號VSYNC再次被致能時,顯示電路313根據儲存空間SA1的第一影像資料產生影像信號SIG。此時,顯示裝置320呈現相同的特定畫面。由於顯示裝置320在一秒呈現的畫面數量很多(可能一秒呈現120張畫面),即使呈現相同的畫面,不易被使用者察覺。 In some embodiments, when the value of the register Reg_BufReady is not equal to a specific value, it indicates that the image processing circuit 311 has not yet completed the update operation. At this time, if the vertical synchronization signal VSYNC is enabled, the display circuit 313 reads the image data of the corresponding storage space according to the value of the register Reg_OnLine. For example, assume that the value of the register Reg_OnLine corresponds to the storage space SA1, and the storage space SA1 stores the first image data. In a first period, when the value of the register Reg_BufReady is not equal to the specific value and the vertical synchronization signal VSYNC is enabled, the display circuit 313 generates the image signal SIG according to the first image data of the storage space SA1. At this time, the display device 320 presents a specific picture. Then, in a second period, when the value of the register Reg_BufReady is still not equal to the specific value and the vertical synchronization signal VSYNC is enabled again, the display circuit 313 generates the image signal SIG according to the first image data of the storage space SA1. At this time, the display device 320 presents the same specific picture. Since the display device 320 presents a large number of pictures in one second (may present 120 pictures in one second), even if the same picture is presented, it is not easy for the user to notice.
另外,控制電路314在影像處理電路311完成更新操作後,交換暫存器Reg_OnLine與Reg_OffLine的數值,故可確保顯示電路313所讀取的儲存空間已具有完整的影像資料。因此,顯示裝置320所呈現的畫面不會具有撕裂現象。 In addition, after the image processing circuit 311 completes the update operation, the control circuit 314 exchanges the values of the registers Reg_OnLine and Reg_OffLine, thereby ensuring that the storage space read by the display circuit 313 has complete image data. Therefore, the screen displayed by the display device 320 will not have tearing phenomenon.
在一些實施例中,微控制電路310更包括一暫存器 Reg_BufWidth。暫存器Reg_BufWidth的數值與顯示裝置320的解析度以及影像格式有關。舉例而言,假設顯示裝置320的解析度為320*240,且影像格式為RGB888格式。在此例中,暫存器Reg_BufWidth儲存的數值為320*240*4。 In some embodiments, the microcontroller circuit 310 further includes a register Reg_BufWidth. The value of the register Reg_BufWidth is related to the resolution and image format of the display device 320. For example, assume that the resolution of the display device 320 is 320*240 and the image format is RGB888 format. In this example, the value stored in the register Reg_BufWidth is 320*240*4.
當暫存器Reg_BufReady的數值不等於特定數值時,影像處理電路311根據暫存器Ref_OffLine的數值,寫入新的影像資料至相對應的儲存空間中。在一可能實施例中,影像處理電路311可能利用DMA技術,存取記憶體312。在完成寫入操作後,暫存器Reg_BufReady的數值被設定為特定數值。 When the value of the register Reg_BufReady is not equal to the specific value, the image processing circuit 311 writes the new image data to the corresponding storage space according to the value of the register Ref_OffLine. In a possible embodiment, the image processing circuit 311 may use DMA technology to access the memory 312. After the write operation is completed, the value of the register Reg_BufReady is set to a specific value.
本發明並不限定如何判斷是否已完成寫入操作。在一可能實施例中,當影像資料寫入記憶體312的一特定位址所對應的記憶胞時,表示已完成寫入操作。舉例而言,假設,暫存器Ref_OffLine的數值為0x10000,且暫存器Reg_BufWidth的數值為0x05000。在此例中,影像處理電路311由儲存空間SA1的位址0x10000開始,寫入新的影像資料。當儲存空間SA1的位址0x14FFF(即位址0x15000-1)所對應的記憶胞已更新儲存資料時,表示所有的影像資料已寫入儲存空間SA1。因此,影像處理電路311可能設定暫存器Reg_BufReady的數值為特定數值,如數值1。 The present invention does not limit how to determine whether the write operation has been completed. In one possible embodiment, when the image data is written into the memory cell corresponding to a specific address of the memory 312, it indicates that the write operation has been completed. For example, assume that the value of the register Ref_OffLine is 0x10000 and the value of the register Reg_BufWidth is 0x05000. In this example, the image processing circuit 311 writes new image data starting from the address 0x10000 of the storage space SA1. When the memory cell corresponding to the address 0x14FFF (i.e., address 0x15000-1) of the storage space SA1 has updated the storage data, it indicates that all the image data has been written into the storage space SA1. Therefore, the image processing circuit 311 may set the value of the register Reg_BufReady to a specific value, such as 1.
第4圖為本發明之控制方法的流程示意圖。本發明的控制方法可以透過程式碼存在。當程式碼被機器載入且執行時, 機器變成用以實行本發明之微控制電路。在一可能實施例中,微控制電路包括一記憶體、一第一暫存器以及一第二暫存器。該記憶體具有一第一儲存空間以及一第二儲存空間。在一些實施例中,第一及第二儲存空間儲存影像資料。 Figure 4 is a flow chart of the control method of the present invention. The control method of the present invention may exist through program code. When the program code is loaded and executed by a machine, the machine becomes a microcontroller circuit for implementing the present invention. In one possible embodiment, the microcontroller circuit includes a memory, a first register, and a second register. The memory has a first storage space and a second storage space. In some embodiments, the first and second storage spaces store image data.
首先,接收一垂直同步信號(步驟S411),並判斷垂直同步信號是否被致能(步驟S412)。在一可能實施例中,當垂直同步信號被致能時,垂直同步信號為一低位準。當垂直同步信號被禁能(未被致能)時,垂直同步信號為一高位準。在另一可能實施例中,當垂直同步信號被致能時,垂直同步信號為一高位準。當垂直同步信號被禁能時,垂直同步信號為一低位準。 First, a vertical synchronization signal is received (step S411), and it is determined whether the vertical synchronization signal is enabled (step S412). In one possible embodiment, when the vertical synchronization signal is enabled, the vertical synchronization signal is at a low level. When the vertical synchronization signal is disabled (not enabled), the vertical synchronization signal is at a high level. In another possible embodiment, when the vertical synchronization signal is enabled, the vertical synchronization signal is at a high level. When the vertical synchronization signal is disabled, the vertical synchronization signal is at a low level.
當垂直同步信號被致能時,交換第一及第二暫存器的數值(步驟S413)。在一可能實施例中,第一暫存器儲存一第一存取位址,第二暫存器儲存一第二存取位址。在此例中,第一及第二存取位址之一者指向第一儲存空間,且第一及第二存取位址之另一者指向第二儲存空間。舉例而言,第一存取位址係為第一儲存空間的起始位址,如0x10000,且第二存取位址為第二儲存空間的起始位址,如0x20000。在此例中,經步驟S413後,第一暫存器的第一存取位址為第二儲存空間的起始位址,即0x20000,且第二暫存器的第二存取位址為第一儲存空間的起始位址,如0x10000。 When the vertical synchronization signal is enabled, the values of the first and second registers are exchanged (step S413). In a possible embodiment, the first register stores a first access address, and the second register stores a second access address. In this example, one of the first and second access addresses points to the first storage space, and the other of the first and second access addresses points to the second storage space. For example, the first access address is the starting address of the first storage space, such as 0x10000, and the second access address is the starting address of the second storage space, such as 0x20000. In this example, after step S413, the first access address of the first register is the starting address of the second storage space, i.e. 0x20000, and the second access address of the second register is the starting address of the first storage space, i.e. 0x10000.
當垂直同步信號未被致能時,維持第一及第二暫存器的數值(步驟S414)。假設,第一暫存器的第一存取位址等於第一 儲存空間的起始位址,如0x10000,且第二暫存器的第二存取位址等於第二儲存空間的起始位址,如0x20000。經步驟S414後,第一暫存器的第一存取位址仍等於第一儲存空間的起始位址,如0x10000,且第二暫存器的第二存取位址仍對應第二儲存空間的起始位址,如0x20000。 When the vertical synchronization signal is not enabled, the values of the first and second registers are maintained (step S414). Assume that the first access address of the first register is equal to the starting address of the first storage space, such as 0x10000, and the second access address of the second register is equal to the starting address of the second storage space, such as 0x20000. After step S414, the first access address of the first register is still equal to the starting address of the first storage space, such as 0x10000, and the second access address of the second register still corresponds to the starting address of the second storage space, such as 0x20000.
根據第一暫存器的數值,產生一影像信號(步驟S415)。在一可能實施例中,當第一暫存器的第一存取位址指向第一儲存空間時,步驟S415讀取第一儲存空間的影像資料,並根據影像資料產生一影像信號。在另一可能實施例中,當第一暫存器的第一存取位址指向第二儲存空間時,步驟S415讀取第二儲存空間的影像資料,並根據影像資料產生一影像信號。 According to the value of the first register, an image signal is generated (step S415). In one possible embodiment, when the first access address of the first register points to the first storage space, step S415 reads the image data of the first storage space and generates an image signal according to the image data. In another possible embodiment, when the first access address of the first register points to the second storage space, step S415 reads the image data of the second storage space and generates an image signal according to the image data.
第5圖為本發明之控制方法的另一流程示意圖。首先,設定第一及第二暫存器的數值(步驟S511)。在一可能實施例中,第一暫存器的第一存取位址指向第一儲存空間,並第二暫存器的第二存取位址指向第二儲存空間。在一些實施例中,第一暫存器的第一存取位址等於第一儲存空間的起始位址,並第二暫存器的第二存取位址等於第二儲存空間的起始位址。 FIG. 5 is another flow chart of the control method of the present invention. First, the values of the first and second registers are set (step S511). In one possible embodiment, the first access address of the first register points to the first storage space, and the second access address of the second register points to the second storage space. In some embodiments, the first access address of the first register is equal to the starting address of the first storage space, and the second access address of the second register is equal to the starting address of the second storage space.
在另一可能實例中,步驟S511更設定一格式暫存器的數值。在此例中,格式暫存器的數值與一顯示裝置的解析度以及該顯示裝置所呈現的色彩格式有關。舉例而言,假設顯示裝置的解析度為320*240時,且顯示裝置所呈色彩格式為RGB888。在此 例中,格式暫存器的數值為320*240*4。 In another possible example, step S511 further sets the value of a format register. In this example, the value of the format register is related to the resolution of a display device and the color format presented by the display device. For example, assuming that the resolution of the display device is 320*240, and the color format presented by the display device is RGB888. In this example, the value of the format register is 320*240*4.
接著,判斷一垂直同步信號是否被致能(步驟S512)。在一可能實施例中,當垂直同步信號為一低位準時,表示垂直同步信號被致能。當垂直同步信號被致能時,判斷一第三暫存器的數值是否為一第一數值(步驟S513)。在一可能實施例中,第一數值(或特定數值)為數值1。 Next, determine whether a vertical synchronization signal is enabled (step S512). In one possible embodiment, when the vertical synchronization signal is at a low level, it indicates that the vertical synchronization signal is enabled. When the vertical synchronization signal is enabled, determine whether the value of a third register is a first value (step S513). In one possible embodiment, the first value (or specific value) is 1.
當第三暫存器的數值不為第一數值時,根據第一暫存器的數值(如0x10000),讀取相對應儲存空間(如第一儲存空間)的影像資料,用以產生一影像信號(步驟S516)。在一可能實施例中,第一及第二暫存器的數值維持不變。然後,回到步驟S512,等待垂直同步信號再次被致能。 When the value of the third register is not the first value, the image data of the corresponding storage space (such as the first storage space) is read according to the value of the first register (such as 0x10000) to generate an image signal (step S516). In a possible embodiment, the values of the first and second registers remain unchanged. Then, return to step S512 and wait for the vertical synchronization signal to be enabled again.
當第三暫存器的數值為第一數值時,表示第二儲存空間的影像資料已備妥。因此,交換第一及第二暫存器的數值(步驟S514)。在一可能實施例中,在步驟S514前,第一暫存器的數值為0x10000,且第二暫存器的數值為0x20000。經步驟S514後,第一暫存器的數值為0x20000,第二暫存器的數值為0x10000。 When the value of the third register is the first value, it means that the image data of the second storage space is ready. Therefore, the values of the first and second registers are exchanged (step S514). In a possible embodiment, before step S514, the value of the first register is 0x10000, and the value of the second register is 0x20000. After step S514, the value of the first register is 0x20000, and the value of the second register is 0x10000.
接著,設定第三暫存器的數值為第二數值(步驟S515)。在一可能實施例中,第二數值為數值0。然後,根據第一暫存器的數值(如0x20000),讀取相對應儲存空間(如第二儲存空間)的影像資料,用以產生影像信號。接著,回到步驟S512,等待垂直同步信號再次被致能。 Next, the value of the third register is set to the second value (step S515). In a possible embodiment, the second value is 0. Then, according to the value of the first register (such as 0x20000), the image data of the corresponding storage space (such as the second storage space) is read to generate an image signal. Then, return to step S512 and wait for the vertical synchronization signal to be enabled again.
當垂直同步信號未被致能時,判斷一第三暫存器的數值是否為第二數值(步驟S517)。當第三暫存器的數值不為第二數值時,根據第一暫存器的數值(如0x20000),讀取相對應儲存空間(如第二儲存空間)的影像資料,用以產生影像信號(步驟S516)。 When the vertical synchronization signal is not enabled, determine whether the value of a third register is the second value (step S517). When the value of the third register is not the second value, read the image data of the corresponding storage space (such as the second storage space) according to the value of the first register (such as 0x20000) to generate an image signal (step S516).
當第三暫存器的數值為第二數值時,根據第二暫存器的數值(如0x10000),執行一更新操作(步驟S518)。在一可能實施例中,更新操作係更新第二暫存器對應的儲存空間的影像資料。舉例而言,當第二暫存器的數值指向第一儲存空間時,步驟S518更新第一儲存空間的完整影像資料或是部分影像資料。當第二暫存器的數值指向第二儲存空間時,步驟S518更新第二儲存空間的完整影像資料或是部分影像資料。 When the value of the third register is the second value, an update operation is performed according to the value of the second register (such as 0x10000) (step S518). In a possible embodiment, the update operation is to update the image data of the storage space corresponding to the second register. For example, when the value of the second register points to the first storage space, step S518 updates the complete image data or part of the image data of the first storage space. When the value of the second register points to the second storage space, step S518 updates the complete image data or part of the image data of the second storage space.
然後,設定第三暫存器的數值為第一數值(步驟S519)。此時,第三暫存器的數值可能由數值0(第二數值)改變成數值1(第一數值)。然後,根據第一暫存器的數值(如0x20000),讀取相對應儲存空間(如第二儲存空間)的影像資料,用以產生影像信號(步驟S516)。接著,回到步驟S512,判斷垂直同步信號是否被致能。 Then, the value of the third register is set to the first value (step S519). At this time, the value of the third register may change from the value 0 (the second value) to the value 1 (the first value). Then, according to the value of the first register (such as 0x20000), the image data of the corresponding storage space (such as the second storage space) is read to generate an image signal (step S516). Then, return to step S512 to determine whether the vertical synchronization signal is enabled.
在本實施例中,當第三暫存器的數值為一特定數值(如數值1)且垂直同步信號被致能時,第一及第二暫存器的數值被交換。然後,再根據交換後的第一暫存器的數值,讀取相對應的影像資料。在此例中,當第三暫存器的數值不為一特定數值或是垂直同 步信號未被致能時,暫停交換第一及第二暫存器的數值。在一可能實施例中,在交換第一及第二暫存器的數值後,設定第三暫存器的數值不為特定數值。此時,第三暫存器的數值可能由數值1改變成數值0。 In this embodiment, when the value of the third register is a specific value (such as value 1) and the vertical synchronization signal is enabled, the values of the first and second registers are exchanged. Then, the corresponding image data is read according to the value of the first register after the exchange. In this example, when the value of the third register is not a specific value or the vertical synchronization signal is not enabled, the exchange of the values of the first and second registers is suspended. In a possible embodiment, after the values of the first and second registers are exchanged, the value of the third register is set not to a specific value. At this time, the value of the third register may change from value 1 to value 0.
在其它實施例中,當垂直同步信號未被致能時,如果第三暫存器的數值不為特定數值(如數值1),根據第二暫存器的數值,更新第一或第二儲存空間裡的影像資料。舉例而言,如果第二暫存器的數值等於第一儲存空間的起始位址時,將新的影像資料(或稱第三影像資料)取代第一儲存空間原本所儲存的完整影像資料(或稱第一影像資料),或是取代第一儲存空間的部分影像資料。然而,如果第二暫存器的數值等於第二儲存空間的起始位址時,將新的影像資料(或稱第三影像資料)取代第二儲存空間原本所儲存的完整影像資料(或稱第二影像資料),或是取代第二儲存空間的部分影像資料。在此例中,寫入新的影像資料至第二暫存器所指定的儲存空間後,設定第三暫存器的數值為特定數值。 In other embodiments, when the vertical synchronization signal is not enabled, if the value of the third register is not a specific value (such as a value of 1), the image data in the first or second storage space is updated according to the value of the second register. For example, if the value of the second register is equal to the starting address of the first storage space, the new image data (or the third image data) replaces the complete image data (or the first image data) originally stored in the first storage space, or replaces part of the image data in the first storage space. However, if the value of the second register is equal to the starting address of the second storage space, the new image data (or the third image data) replaces the complete image data (or the second image data) originally stored in the second storage space, or replaces part of the image data in the second storage space. In this example, after writing the new image data to the storage space specified by the second register, the value of the third register is set to a specific value.
在一可能實施例中,新的影像資料的資料量相同於第一儲存空間裡的第一影像資料的資料量,也相同於第二儲存空間裡的第二影像資料的資料量。舉例而言,第一至第三影像資料的資料量均為320*240*4。在另一可能實施例中,新的影像資料的資料量小於第一儲存空間裡的第一影像資料的資料量,也小於第二儲存空間裡的第二影像資料的資料量。在此例中,第一儲存空間裡的第 一影像資料的資料量相同於第二儲存空間裡的第二影像資料的資料量。 In one possible embodiment, the data volume of the new image data is the same as the data volume of the first image data in the first storage space, and is also the same as the data volume of the second image data in the second storage space. For example, the data volume of the first to third image data is 320*240*4. In another possible embodiment, the data volume of the new image data is less than the data volume of the first image data in the first storage space, and is also less than the data volume of the second image data in the second storage space. In this example, the data volume of the first image data in the first storage space is the same as the data volume of the second image data in the second storage space.
必須瞭解的是,當一個元件或層被提及與另一元件或層「耦接」時,係可直接耦接或連接至其它元件或層,或具有其它元件或層介於其中。反之,若一元件或層「連接」至其它元件或層時,將不具有其它元件或層介於其中。另外,致能(enable)應意指改變一布林(Boolean)信號的狀態。布林信號可經致能為高或具有一較高電壓,且布林信號可在電路設計者自由決定下致能為低或具有一較低電壓。同樣地,禁能(disable)應表示將布林信號之狀態改變為與經致能狀態相對的一電壓位準。 It must be understood that when a component or layer is referred to as being "coupled" to another component or layer, it can be directly coupled or connected to the other component or layer, or have other components or layers interposed therebetween. Conversely, if a component or layer is "connected" to other components or layers, there will be no other components or layers interposed therebetween. In addition, enable shall mean changing the state of a Boolean signal. A Boolean signal can be enabled to be high or have a higher voltage, and a Boolean signal can be enabled to be low or have a lower voltage at the discretion of the circuit designer. Similarly, disable shall mean changing the state of a Boolean signal to a voltage level opposite to the enabled state.
本發明之控制方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可儲存於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之微控制電路。程式碼也可透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之微控制電路。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。 The control method of the present invention, or a specific form or part thereof, may exist in the form of program code. The program code may be stored in a physical medium, such as a floppy disk, an optical disk, a hard disk, or any other machine-readable (such as computer-readable) storage medium, or a computer program product that is not limited to an external form, wherein when the program code is loaded and executed by a machine, such as a computer, the machine becomes a micro-control circuit for participating in the present invention. The program code may also be transmitted through some transmission media, such as wires or cables, optical fibers, or any transmission type, wherein when the program code is received, loaded and executed by a machine, such as a computer, the machine becomes a micro-control circuit for participating in the present invention. When implemented on a general-purpose processing unit, the code combines with the processing unit to provide a unique device that operates like an application-specific logic circuit.
除非另作定義,在此所有詞彙(包含技術與科學詞 彙)均屬本發明所屬技術領域中具有通常知識者之一般理解。此外,除非明白表示,詞彙於一般字典中之定義應解釋為與其相關技術領域之文章中意義一致,而不應解釋為理想狀態或過分正式之語態。雖然“第一”、“第二”等術語可用於描述各種元件,但這些元件不應受這些術語的限制。這些術語只是用以區分一個元件和另一個元件。 Unless otherwise defined, all terms (including technical and scientific terms) herein are generally understood by those with ordinary knowledge in the technical field to which the present invention belongs. In addition, unless expressly stated, the definition of a term in a general dictionary should be interpreted as consistent with the meaning in the article in the relevant technical field, and should not be interpreted as an ideal state or overly formal language. Although terms such as "first" and "second" can be used to describe various components, these components should not be limited by these terms. These terms are only used to distinguish one component from another.
雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾。舉例來說,本發明實施例所述之系統、裝置或是方法可以硬體、軟體或硬體以及軟體的組合的實體實施例加以實現。因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person with ordinary knowledge in the relevant technical field may make some changes and modifications without departing from the spirit and scope of the present invention. For example, the system, device or method described in the embodiments of the present invention can be implemented in a physical embodiment of hardware, software or a combination of hardware and software. Therefore, the scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:操作系統 100: Operating system
110:微控制電路 110: Microcontroller circuit
120:顯示裝置 120: Display device
111:影像處理電路 111: Image processing circuit
112:記憶體 112: Memory
113:顯示電路 113: Display circuit
114:控制電路 114: Control circuit
Reg_OnLine、Reg_OffLine:暫存器 Reg_OnLine, Reg_OffLine: registers
SIG:影像信號 SIG: Image Signal
SA1、SA2:儲存空間 SA1, SA2: Storage space
VSYNC:垂直同步信號 VSYNC: vertical synchronization signal
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112139933A TWI863635B (en) | 2023-10-19 | 2023-10-19 | Microcontroller circuit, control method and operating system |
| CN202410762452.7A CN119863994A (en) | 2023-10-19 | 2024-06-13 | Micro control circuit, control method and operating system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW112139933A TWI863635B (en) | 2023-10-19 | 2023-10-19 | Microcontroller circuit, control method and operating system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI863635B true TWI863635B (en) | 2024-11-21 |
| TW202518440A TW202518440A (en) | 2025-05-01 |
Family
ID=94380200
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW112139933A TWI863635B (en) | 2023-10-19 | 2023-10-19 | Microcontroller circuit, control method and operating system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN119863994A (en) |
| TW (1) | TWI863635B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5598372A (en) * | 1994-07-27 | 1997-01-28 | Hitachi, Ltd. | Semiconductor memory |
| US5608424A (en) * | 1990-02-05 | 1997-03-04 | Nintendo Co., Ltd. | Moving picture display apparatus and external memory used therefor |
| TW521251B (en) * | 2000-09-29 | 2003-02-21 | Seiko Epson Corp | Display control method, display controller, display unit and electronic machine |
| TW200832275A (en) * | 2007-01-24 | 2008-08-01 | Via Tech Inc | Image revealing method |
| US20100253694A1 (en) * | 2009-04-01 | 2010-10-07 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and storage medium storing control program therefor |
| TW201813375A (en) * | 2016-09-30 | 2018-04-01 | 晨星半導體股份有限公司 | Display control apparatus and corresponding method |
-
2023
- 2023-10-19 TW TW112139933A patent/TWI863635B/en active
-
2024
- 2024-06-13 CN CN202410762452.7A patent/CN119863994A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5608424A (en) * | 1990-02-05 | 1997-03-04 | Nintendo Co., Ltd. | Moving picture display apparatus and external memory used therefor |
| US5598372A (en) * | 1994-07-27 | 1997-01-28 | Hitachi, Ltd. | Semiconductor memory |
| TW521251B (en) * | 2000-09-29 | 2003-02-21 | Seiko Epson Corp | Display control method, display controller, display unit and electronic machine |
| TW200832275A (en) * | 2007-01-24 | 2008-08-01 | Via Tech Inc | Image revealing method |
| US20100253694A1 (en) * | 2009-04-01 | 2010-10-07 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and storage medium storing control program therefor |
| TW201813375A (en) * | 2016-09-30 | 2018-04-01 | 晨星半導體股份有限公司 | Display control apparatus and corresponding method |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202518440A (en) | 2025-05-01 |
| CN119863994A (en) | 2025-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5664161A (en) | Address-translatable graphic processor, data processor and drawing method with employment of the same | |
| US8949554B2 (en) | Idle power control in multi-display systems | |
| US20090070654A1 (en) | Design Structure For A Processor System With Background Error Handling Feature | |
| JPH1091572A (en) | Data transfer method and data transfer device using the method | |
| TW202232310A (en) | Dynamic metadata relocation in memory | |
| CN113238977A (en) | Data transmission method, device, system, electronic equipment and storage medium | |
| JP2019194811A (en) | Memory controller and method executed by memory controller | |
| TWI863635B (en) | Microcontroller circuit, control method and operating system | |
| TWI639920B (en) | Memory controller, control method for the memory controller, memory and control method for the memory | |
| CN101930415B (en) | Information processing device, image display device, and information processing method | |
| CN115391248A (en) | Method, system, electronic device and storage medium for automatically filling data | |
| JPH02217893A (en) | Projection type liquid crystal display device | |
| TWI671632B (en) | Memory device and refresh information coherence method thereof | |
| CN117056144A (en) | Test method and device of processor, electronic equipment and readable storage medium | |
| JP2018180656A (en) | Memory controller and control method thereof | |
| CN108259875A (en) | A kind of digital picture gamma correction hardware implementation method and system | |
| JPH0454653A (en) | Cache memory | |
| JPH0325684A (en) | Picture drawing controller | |
| US20070168646A1 (en) | Data exchange between cooperating processors | |
| CN100353415C (en) | Display Controller and Related Methods | |
| CN120183360B (en) | Multi-screen display method and multi-screen display system | |
| JPS5991559A (en) | Writing circuit of memory | |
| JPH05265419A (en) | Display controller | |
| US20190279602A1 (en) | Display control apparatus, electronic equipment, control method of display control apparatus, and program | |
| US8099562B2 (en) | Scalable interface for a memory array |