Altera DisplayPort MegaCore Function Manuale Utente Pagina 104

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 195
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 103
Example 8-1: Typical Sink ISR Implementation
btc_dprx_aux_get_request (0,&cmd,&address,&length,data);
btc_dprx_aux_handler(0,cmd,address,length,data);
Example 8-2: Typical Source ISR Implementation
BTC_DPTX_DISABLE_HPD_IRQ(...);
<Enable nested interrupt>
if (HPD asserted)
{
<read Sink EDID>
<set video output resolution>
btc_dptx_link_training(...);
}
else if (HPD deasserted)
btc_dptx_video_enable(..., 0);
else if (IRQ_HPD)
{
<check link status>
if (Test Automation request)
btc_dptx_test_autom(…);
}
<Disable nested interrupt>
BTC_DPTX_DISABLE_HPD_IRQ(...);
btc_dprx_syslib API Reference
This section provides information about the DisplayPort sink system library functions
(btc_dprx_syslib), including:
C prototype
Function description
Whether the function is thread-safe when running in a multi-threaded environment
Whether the function can be invoked from an ISR
Example
btc_dprx_aux_get_request
Prototype:
int btc_dprx_aux_get_request(
BYTE rx_idx
BYTE *cmd,
unsigned int *address,
BYTE *length,
BYTE *data)
Thread-safe: Yes
UG-01131
2015.05.04
btc_dprx_syslib API Reference
8-3
DisplayPort API Reference
Altera Corporation
Send Feedback
Vedere la pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 194 195

Commenti su questo manuale

Nessun commento