Beispiel #1
0
void alt_sys_init( void )
{
    ALTERA_AVALON_TIMER_INIT ( TIMER_3, timer_3);
    ALTERA_AVALON_FIFO_INIT ( FIFO_0, fifo_0);
    ALTERA_AVALON_FIFO_INIT ( FIFO_1, fifo_1);
    ALTERA_AVALON_JTAG_UART_INIT ( JTAG_UART_3, jtag_uart_3);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_0, mutex_0);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_1, mutex_1);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_2, mutex_2);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_3, mutex_3);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_4, mutex_4);
}
Beispiel #2
0
void alt_sys_init( void )
{
    ALTERA_AVALON_TIMER_INIT ( TIMER_0_A, timer_0_A);
    ALTERA_AVALON_TIMER_INIT ( TIMER_0_B, timer_0_B);
    ALTERA_AVALON_FIFO_INIT ( FIFO_0, fifo_0);
    ALTERA_AVALON_FIFO_INIT ( FIFO_1, fifo_1);
    ALTERA_AVALON_JTAG_UART_INIT ( JTAG_UART_0, jtag_uart_0);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_0, mutex_0);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_1, mutex_1);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_2, mutex_2);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_3, mutex_3);
    ALTERA_AVALON_MUTEX_INIT ( MUTEX_4, mutex_4);
    ALTERA_AVALON_PERFORMANCE_COUNTER_INIT ( PERFORMANCE_COUNTER_0, performance_counter_0);
    ALTERA_AVALON_SYSID_QSYS_INIT ( SYSID, sysid);
    ALTERA_UP_AVALON_PARALLEL_PORT_INIT ( BUTTONS, Buttons);
    ALTERA_UP_AVALON_PARALLEL_PORT_INIT ( HEX3_HEX0, HEX3_HEX0);
    ALTERA_UP_AVALON_PARALLEL_PORT_INIT ( HEX7_HEX4, HEX7_HEX4);
}
Beispiel #3
0
void alt_sys_init( void )
{
    ALTERA_AVALON_TIMER_INIT ( TIMER, timer);
    ALTERA_AVALON_EPCS_FLASH_CONTROLLER_INIT ( EPCS, epcs);
    ALTERA_AVALON_FIFO_INIT ( FIFO_DATA_IN, fifo_data_in);
    ALTERA_AVALON_JTAG_UART_INIT ( JTAG, jtag);
    ALTERA_AVALON_SYSID_QSYS_INIT ( SYSID, sysid);
    ALTERA_AVALON_UART_INIT ( RS232, rs232);
    ALTERA_HOSTFS_INIT ( ALTERA_HOSTFS, altera_hostfs);
}
Beispiel #4
0
void alt_sys_init( void )
{
    ALTERA_AVALON_TIMER_INIT ( TIMER_0, timer_0);
    ALTERA_AVALON_CFI_FLASH_INIT ( ROM_0, rom_0);
    ALTERA_AVALON_FIFO_INIT ( FIFO_0, fifo_0);
    ALTERA_AVALON_SPI_INIT ( SPI_0, spi_0);
    ALTERA_AVALON_SYSID_QSYS_INIT ( SYSID_QSYS_0, sysid_qsys_0);
    M2VDD_HX8347A_INIT ( M2VDD_HX8347A_0, m2vdd_hx8347a_0);
    M2VDEC_INIT ( M2VDEC_0, m2vdec_0);
}