Choco OS
V.0.16.9.0
Join to the chocolate world
|
The file with interface for the GPIO driver. More...
#include <oc_channels.h>
#include <stdbool.h>
#include <stddef.h>
#include <oc_assert.h>
#include <oc_mcs.h>
Go to the source code of this file.
Functions | |
bool | oC_Channel_SetInterruptPriorityFunction (oC_Channel_t Channel, oC_InterruptType_t InterruptType, oC_InterruptPriotity_t Priority) |
set interrupt priority according to channel and type More... | |
bool | oC_Channel_EnableInterruptFunction (oC_Channel_t Channel, oC_InterruptType_t InterruptType) |
enables interrupt according to channel and type More... | |
bool | oC_Channel_DisableInterruptFunction (oC_Channel_t Channel, oC_InterruptType_t InterruptType) |
disables interrupt according to channel and type More... | |
bool | oC_Channel_IsInterruptEnabledFunction (oC_Channel_t Channel, oC_InterruptType_t InterruptType) |
checks if interrupt is enabled according to channel and type More... | |
Variables | |
const oC_ChannelData_t | oC_ChannelsData [] |
stores data of channels More... | |
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file oc_channels.c.
bool oC_Channel_DisableInterruptFunction | ( | oC_Channel_t | Channel, |
oC_InterruptType_t | InterruptType | ||
) |
The function is for disabling interrupt according to dynamic channel and interrupt type.
Channel | Channel of the interrupt to disable |
InterruptType | Type of interrupt (peripheral interrupt for example) |
Definition at line 120 of file oc_channels.c.
bool oC_Channel_EnableInterruptFunction | ( | oC_Channel_t | Channel, |
oC_InterruptType_t | InterruptType | ||
) |
The function is for enabling interrupt according to dynamic channel and interrupt type.
Channel | Channel of the interrupt to enable |
InterruptType | Type of interrupt (peripheral interrupt for example) |
Definition at line 93 of file oc_channels.c.
bool oC_Channel_IsInterruptEnabledFunction | ( | oC_Channel_t | Channel, |
oC_InterruptType_t | InterruptType | ||
) |
The function is for checking if interrupt is enabled according to dynamic channel and interrupt type.
Channel | Channel of the interrupt |
InterruptType | Type of interrupt (peripheral interrupt for example) |
Definition at line 147 of file oc_channels.c.
bool oC_Channel_SetInterruptPriorityFunction | ( | oC_Channel_t | Channel, |
oC_InterruptType_t | InterruptType, | ||
oC_InterruptPriotity_t | Priority | ||
) |
The function is for setting interrupt priority according to dynamic channel and interrupt type.
Channel | Channel of the interrupt to enable |
InterruptPriority | Interrupt priority |
Definition at line 67 of file oc_channels.c.