Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12475 Discussions

Using built-in functions from the Drivers -> src folder

Altera_Forum
Honored Contributor II
806 Views

Has anyone used the built-in functions from the Drivers -> src folder in their project? 

 

For example, I am trying to interface and SD Card. The project_bsp folder has a drivers folder. Under that we have an 'inc' and a 'src' folder. In the 'src' folder, there's file called altera_up_sd_card_avalon_interface.c which defines many functions for using the SD Card. 

 

The question is, how can I use those functions in my main.c file? Can someone give me an example please? 

 

Thanks!
0 Kudos
0 Replies
Reply