#include "hpm_owr_drv.h"Functions | |
| hpm_stat_t | owr_sw_reset (OWR_Type *ptr) |
| Software Reset OWR. More... | |
| hpm_stat_t | owr_init (OWR_Type *ptr, owr_config_t *config) |
| Init OWR. More... | |
| hpm_stat_t | owr_reset_and_presence_pulses (OWR_Type *ptr) |
| Reset and presence pulses. More... | |
| hpm_stat_t | owr_get_presence_status (OWR_Type *ptr, uint32_t *status) |
| Get presence status. More... | |
| hpm_stat_t | owr_release_bus (OWR_Type *ptr) |
| Release bus. More... | |
| hpm_stat_t | owr_write_data (OWR_Type *ptr, uint32_t data) |
| Write data. More... | |
| hpm_stat_t | owr_read_data (OWR_Type *ptr, uint32_t *data) |
| Read data. More... | |
| hpm_stat_t | owr_clear_irq_status (OWR_Type *ptr, uint32_t mask) |
| Clear irq status. More... | |
| hpm_stat_t | owr_enable_interrupts (OWR_Type *ptr, uint32_t mask) |
| Enable interrupts. More... | |
| hpm_stat_t | owr_disable_interrupts (OWR_Type *ptr, uint32_t mask) |
| Disable interrupts. More... | |
| hpm_stat_t | owr_get_irq_status (OWR_Type *ptr, uint32_t *status) |
| Get irq status. More... | |
| hpm_stat_t owr_clear_irq_status | ( | OWR_Type * | ptr, |
| uint32_t | mask | ||
| ) |
Clear irq status.
| [in] | ptr | OWR base address |
| [in] | mask | mask of irq status to clear owr_irq_event_t |
| hpm_stat_t owr_disable_interrupts | ( | OWR_Type * | ptr, |
| uint32_t | mask | ||
| ) |
Disable interrupts.
| [in] | ptr | OWR base address |
| [in] | mask | mask of interrupts to disable owr_irq_event_t |
| hpm_stat_t owr_enable_interrupts | ( | OWR_Type * | ptr, |
| uint32_t | mask | ||
| ) |
Enable interrupts.
| [in] | ptr | OWR base address |
| [in] | mask | mask of interrupts to enable owr_irq_event_t |
| hpm_stat_t owr_get_irq_status | ( | OWR_Type * | ptr, |
| uint32_t * | status | ||
| ) |
Get irq status.
| [in] | ptr | OWR base address |
| [out] | status | pointer to status for storing irq status |
| hpm_stat_t owr_get_presence_status | ( | OWR_Type * | ptr, |
| uint32_t * | status | ||
| ) |
Get presence status.
| [in] | ptr | OWR base address |
| [out] | status | pointer to status for storing presence status |
| hpm_stat_t owr_init | ( | OWR_Type * | ptr, |
| owr_config_t * | config | ||
| ) |
Init OWR.
| [in] | ptr | OWR base address |
| [in] | config | pointer to config for initializing OWR. owr_config_t |
| hpm_stat_t owr_read_data | ( | OWR_Type * | ptr, |
| uint32_t * | data | ||
| ) |
Read data.
| [in] | ptr | OWR base address |
| [out] | data | pointer to data for storing read data |
| hpm_stat_t owr_release_bus | ( | OWR_Type * | ptr | ) |
Release bus.
| [in] | ptr | OWR base address |
| hpm_stat_t owr_reset_and_presence_pulses | ( | OWR_Type * | ptr | ) |
Reset and presence pulses.
| [in] | ptr | OWR base address |
| hpm_stat_t owr_sw_reset | ( | OWR_Type * | ptr | ) |
Software Reset OWR.
| [in] | ptr | OWR base address |
| hpm_stat_t owr_write_data | ( | OWR_Type * | ptr, |
| uint32_t | data | ||
| ) |
Write data.
| [in] | ptr | OWR base address |
| [in] | data | data to write |