データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

GPES203B データシート(PDF) 5 Page - Generalplus Technology Inc.

部品番号 GPES203B
部品情報  Easy-to-use SOUNDPLUS
PDF  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  GENERALPLUS [Generalplus Technology Inc.]
ホームページ  http://www.generalplus.com
Logo GENERALPLUS - Generalplus Technology Inc.

GPES203B データシート(HTML) 5 Page - Generalplus Technology Inc.

  GPES203B Datasheet HTML 1Page - Generalplus Technology Inc. GPES203B Datasheet HTML 2Page - Generalplus Technology Inc. GPES203B Datasheet HTML 3Page - Generalplus Technology Inc. GPES203B Datasheet HTML 4Page - Generalplus Technology Inc. GPES203B Datasheet HTML 5Page - Generalplus Technology Inc. GPES203B Datasheet HTML 6Page - Generalplus Technology Inc. GPES203B Datasheet HTML 7Page - Generalplus Technology Inc. GPES203B Datasheet HTML 8Page - Generalplus Technology Inc. GPES203B Datasheet HTML 9Page - Generalplus Technology Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 12 page
background image
GPES203B
© Generalplus Technology Inc.
Proprietary & Confidential
5
JAN. 05, 2009
Version: 1.1
5.FUNCTIONAL DESCRIPTIONS
5.1. Instruction Sets
Twelve instructions are LD, JP, LSR, ADD, SUB, AND, ORR,
EOR, END, IRSend, RxEnable, and RxDisable.
“LD” means
LOAD and “JP” indicates JUMP.
“LSR” shifts a register’s
content one bit to the right.
“ADD” and “SUB” are addition and
subtraction.
“AND”, “ORR” and “EOR” are logical operations
which mean AND, OR and, Exclusive OR respectively.
“END”
ends program and enters into sleep mode for power saving
purpose.
The IRSend, RxEnable and RxDisable are three
commands for IR functions.
For more information on how to
apply these commands, please refer to GPES II Programming
Guide.
5.2. I/O Description
GPES II small series has the following I/O pins: TG1, TG2, TG3,
and TG4.
All these pins are programmable and TG3, TG4 can
be shared with LED drive pins.
PIN
Configuration
TG1
I/O
TG2
I/O
TG3
I/O (shared with LED pin)
TG4
I/O (shared with LED pin)
5.3. Program Structure Overview
As mentioned above, the GPES II program structure is very
simple. The following description is an overview of GPES II
program structure.
For more information about GPES II
programming style, please refer to GPES II Programming Guide.
5.3.1. Definition area
The beginning of a program is the Definition Area that defines
many declarations before Initialization, e.g. IC body, variable,
frequency, debounce time and low voltage reset option.
5.3.1.1. IC body
The first element defined in a program is a GPES II body.
Example:
SPES203B
;select SPES203B
EXT_CLK_4M
Freq4
;Set default speech
;sample frequency to 7.8K
...
POI:
...
...
5.3.1.2. Debounce
A key debounce time can be defined in Definition Area.
The
range of debounce time is 5ms - 35ms.
5.3.1.3. Variable
A variable can be defined by adding a “#define” in front of a
variable.
A variable can be the combination of numbers and
characters, but not underscore.
Variable Syntax:
#define
VariableName
<Register | NUM>
Example1:
#define var
R0
;define var as R0
Example2:
#define const 8
;define const as 8
5.3.1.4. External clock
Users can define one external clock out of the following
selections in a program.
This option must be defined in
definition area.
EXT_CLK_3M; (3.0MHz)
EXT_CLK_4M; (4.0MHz)
EXT_CLK_6M; (6.0MHz)
5.3.1.5. Infrared Red (IR) Function
Some IR parameters must be defined in Definition Area before
using IR function.
We will only introduce the commands here.
For more details on how to use these commands in your program,
please refer to GPES II Programming Guide.
1). IR_ID NUM; where NUM = 0, 1, 2 or 3
Setup an IR ID.
When IR_ID is given, the IR receiver
module will be automatically included in the program.
2). SetRxPin NUM
Setup the IR receive pin.
; Where NUM = 0, 1, 2, or 3; default = 3 (TG4)
3). SetTxPin NUM
Setup the IR transmitter pin.
; Where NUM = 0, 1, 2, or 3; default = 2 (TG3) for small body
4). SetRxPowerPin NUM
Setup IR receiver power control pin
; Where NUM = 0, 1, 2, or 3 for small body.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com