ST92196A STMicroelectronics, ST92196A Datasheet - Page 150

no-image

ST92196A

Manufacturer Part Number
ST92196A
Description
8/16-bit Mcu For Tv Applications With Up To 96k Rom, On-screen-display And 1 Or 2 Data Slicers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92196A2B1/JPC
Manufacturer:
ST
Quantity:
188
Part Number:
ST92196A2B1/JPC
Manufacturer:
ST
0
Part Number:
ST92196A4B1
Manufacturer:
ST
Quantity:
1 566
Part Number:
ST92196A4B1
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JCO
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JET
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JEY
Manufacturer:
ST
0
OSD CONTROLLER (Cont’d)
8.5.8.8 Row Buffer Management
To Start the Display:
0. Write the (DION, OSDE) bits to (1,0) to access
1. Initialize the color palettes,
2. Initialize the Mouse Pointer Data (if needed),
3. Initialize the “first buffer start address” with the
4. Fill up one of the row buffers with the data to
1
5
10
15
20
25
the OSDRAM with the CPU clock,
address of the first byte of the above Row
Buffer (address 0002h & 0003h of the segment
22h),
display the desired row (only in case the TE bit
in the OSDER register has been set),
unsigned char tmp;
spp(OSD_PG);
OSDFBR &= ~0x06;
while (OSDFBR & OSDm_Vsy);
while (!(OSDFBR & OSDm_Vsy));
tmp= OSDMR;
OSDMR &= ~0x07;
OSDER = 0x40;
di();
while (OSDFBR & OSDm_Hsy);
while (!(OSDFBR & OSDm_Hsy));
while (OSDFBR & OSDm_Hsy);
OSDMR = tmp;
spp(OSD_PG);
OSDER |= 0xE2;
ei();
/* select the OSD register page */
/* reset DINT & MOIT bits */
/* save LSM bits */
/* reset the LSM bits so that the Hsy bit will be an image of the HSYNC pulse */
/* OSDRAM interface enabled with PIXEL clock */
/* disable all interrupts */
/* recover old LSM bit value */
/* select the OSD register page */
/* start the display by setting the appropriate bits,
set at least OSDE, DION, and TE bits. Then set the other bits as required
for your application. Here the MOPE (MOuse Pointer Enable) bit is also set */
/* enable interrupts again*/
/* wait a Low to High transition on VSYNC */
/* wait a HSYNC pulse : Low -> High -> Low transition */
- ON SCREEN DISPLAY CONTROLLER (OSD)
5. Initialize the Event Line value to the desired
6. Set the MOPE bit (if needed),
7. Start the Display controller by programming the
one (address 0000h & 0001h of the segment
22h),
mode control bits (DION, OSDE) and the trans-
fer enable bit (TE) to the desired working mode.
It is mandatory to start the display following the
algorithm below:
150/268

Related parts for ST92196A