| Electronic Components Datasheet Search |
|
HT36B4 Datasheet(PDF) 8 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT36B4 Datasheet(HTML) 8 Page - Holtek Semiconductor Inc |
|
8 / 38 page ![]() HT36B4 Rev. 1.00 8 October 18, 2006 Wavetable ROM The ST11~0 is used to defined the start address of each sample on the wavetable and read the waveform data from the location. HT36B4 provides 21 output address lines from WA16~0, the ST11~0 is used to locate the major 16 bits i.e. WA16~5 and the undefined data from WA4~0 is always set to 00000b. So the start address of each sample have to be located at a multiple of 32. Oth- erwise, the sample will not be read out correctly be- cause it has a wrong starting code. Stack Register - Stack This is a special part of the memory which is used to save the contents of the program counter (PC) only. The stack is organized into 8 levels and is neither part of the data nor part of the program space, and is neither read- able nor writeable. The activated level is indexed by the stack pointer (SP) and is neither readable nor writeable. At a subroutine call or interrupt acknowledgment, the contents of the program counter are pushed onto the stack. At the end of a subroutine or an interrupt routine, signaled by a return instruction (RET or RETI), the pro- gram counter is restored to its previous value from the stack. After a chip reset, the SP will point to the top of the stack. If the stack is full and a non-masked interrupt takes place, the interrupt request flag will be recorded but the acknowledgment will be inhibited. When the stack pointer is decremented (by RET or RETI), the interrupt will be serviced. This feature prevents stack overflow al- lowing the programmer to use the structure more easily. In a similar case, if the stack is full and a CALL is subse- quently executed, a stack overflow occurs and the first entry will be lost (only the most recent eight return ad- dress are stored). Data Memory - RAM The data memory is designed with 256 ´8 bits. The data memory is divided into three functional groups: special function registers, wavetable function register, and gen- eral purpose data memory (208 ´8). Most of them are read/write, but some are read only. The unused space before 30H is reserved for future ex- panded usage and reading these locations will return the result 00H. The general purpose data memory, ad- dressed from 30H to FFH, is used for data and control information under instruction command. All data memory areas can handle arithmetic, logic, in- crement, decrement and rotate operations directly. Ex- cept for some dedicated bits, each bit in the data memory can be set and reset by the SET [m].i and CLR [m].i instructions, respectively. They are also indirectly accessible through Memory pointer registers (MP0;01H, MP1;03H). Indirect Addressing Register Location 00H and 02H are indirect addressing registers that are not physically implemented. Any read/write op- eration of [00H] and [02H] access data memory pointed to by MP0 (01H) and MP1 (03H) respectively. Reading location 00H or 02H directly will return the result 00H. And writing directly results in no operation. 0 0 H 0 1 H 0 2 H 0 3 H 0 4 H 0 5 H 0 6 H 0 7 H 0 8 H 0 9 H 0 A H 0 B H 0 C H 0 D H 0 E H 0 F H 1 0 H 1 1 H 1 2 H 1 3 H 1 4 H 1 5 H 1 6 H 1 7 H 1 8 H 1 9 H 1 A H 1 B H 1 C H 1 D H 1 E H 1 F H 2 0 H 2 1 H 2 2 H 2 3 H 2 4 H 2 5 H 2 6 H 2 7 H 2 9 H 2 A H 2 B H 2 F H G e n e r a l P u r p o s e D a t a M e m o r y ( 2 0 8 B y t e s ) F F H 2 8 H 3 0 H S p e c i a l P u r p o s e D a t a M e m o r y : U n u s e d . R e a d a s " 0 0 " W a v e t a b l e F u n c t i o n R e g i s t e r I n d i r e c t A d d r e s s i n g R e g i s t e r 0 M P 0 I n d i r e c t A d d r e s s i n g R e g i s t e r 1 M P 1 A C C P C L T B L P T B L H W D T S S T A T U S I N T C T M R 0 H T M R 0 L T M R 0 C T M R 1 H T M R 1 L T M R 1 C P A P A C P B P B C P C P C C P D P D C P F D A C H i g h B y t e ( D A H ) D A C L o w B y t e ( D A L ) D A C C o n t r o l ( D A C ) C h a n n e l N u m b e r S e l e c t ( C H A N ) F r e q u e n c y N u m b e r H i g h B y t e ( F r e q N H ) F r e q u e n c y N u m b e r L o w B y t e ( F r e q N L ) S t a r t A d d r e s s H i g h B y t e ( A d d r H ) S t a r t A d d r e s s L o w B y t e ( A d d r L ) R e p e a t N u m b e r H i g h B y t e ( R e H ) R e p e a t N u m b e r L o w B y t e ( R e L ) C o n t r o l R e g i s t e r ( E N V ) L e f t V o l u m e C o n t r o l ( L V C ) R i g h t V o l u m e C o n t r o l ( R V C ) RAM Mapping |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 |