![]() |
Synergy Software Package User's Manual
|
Driver for the Event Link Controller (ELC). More...
Functions | |
| ssp_err_t | R_ELC_Init (elc_cfg_t const *const p_cfg) |
| Initialize all the links in the Event Link Controller. More... | |
| ssp_err_t | R_ELC_SoftwareEventGenerate (elc_software_event_t event_number) |
| Generate a software event in the Event Link Controller. More... | |
| ssp_err_t | R_ELC_LinkSet (elc_peripheral_t peripheral, elc_event_t signal) |
| Create a single event link. More... | |
| ssp_err_t | R_ELC_LinkBreak (elc_peripheral_t peripheral) |
| Break an event link. More... | |
| ssp_err_t | R_ELC_Enable (void) |
| Enable the operation of the Event Link Controller. More... | |
| ssp_err_t | R_ELC_Disable (void) |
| Disable the operation of the Event Link Controller. More... | |
| ssp_err_t | R_ELC_VersionGet (ssp_version_t *const p_version) |
| Get the driver version based on compile time macros. More... | |
Driver for the Event Link Controller (ELC).
This module supports the Event Link Controller (ELC). It implements the following interface: events and peripheral definitions
| ssp_err_t R_ELC_Disable | ( | void | ) |
Disable the operation of the Event Link Controller.
Implements elc_api_t::disable
| SSP_SUCCESS | ELC disabled. |
Disable the Event Link Controller block.
| ssp_err_t R_ELC_Enable | ( | void | ) |
Enable the operation of the Event Link Controller.
Implements elc_api_t::enable
| SSP_SUCCESS | ELC enabled. |
Enable the Event Link Controller block.
Initialize all the links in the Event Link Controller.
Implements elc_api_t::init
The configuration structure passed in to this function includes links for every event source included in the ELC and sets them all at once. To set an individual link use R_ELC_LinkSet()
| SSP_SUCCESS | Initialization was successful |
| SSP_ERR_ASSERTION | p_config was NULL |
Power on ELC
Enable the operation of the Event Link Controller
| ssp_err_t R_ELC_LinkBreak | ( | elc_peripheral_t | peripheral | ) |
Break an event link.
Implements elc_api_t::linkBreak
| SSP_SUCCESS | Event link broken |
Break a link between a signal and a peripheral.
| ssp_err_t R_ELC_LinkSet | ( | elc_peripheral_t | peripheral, |
| elc_event_t | signal | ||
| ) |
Create a single event link.
Implements elc_api_t::linkSet
| SSP_SUCCESS | Initialization was successful |
Make a link between a signal and a peripheral.
| ssp_err_t R_ELC_SoftwareEventGenerate | ( | elc_software_event_t | event_number | ) |
Generate a software event in the Event Link Controller.
Implements elc_api_t::softwareEventGenerate
| SSP_SUCCESS | Initialization was successful |
| SSP_ERR_ASSERTION | Invalid event number |
Generate a software event in the Event Link Controller.
| ssp_err_t R_ELC_VersionGet | ( | ssp_version_t *const | p_version | ) |
Get the driver version based on compile time macros.
Implements elc_api_t::versionGet
| SSP_SUCCESS | Successful close. |
| SSP_ERR_ASSERTION | p_version is NULL. |