This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_pru_shared_mem_ptr

Function Documentation

uint32_t *rc_pru_shared_mem_ptr(void)

fetches a pointer to the beginning of the PRU shared memory.

This is done by mapping to /dev/mem and therefore requires root privileges but provides extremely low-latency memory access to communicate with the PRU.

Returns

memory pointer on success, NULL on failure