ChibiOS/HAL  6.1.0
hal_pal.c File Reference

I/O Ports Abstraction Layer code. More...

#include "hal.h"

Go to the source code of this file.

Functions

ioportmask_t palReadBus (const IOBus *bus)
 Read from an I/O bus. More...
 
void palWriteBus (const IOBus *bus, ioportmask_t bits)
 Write to an I/O bus. More...
 
void palSetBusMode (const IOBus *bus, iomode_t mode)
 Programs a bus with the specified mode. More...
 
void palSetPadCallbackI (ioportid_t port, iopadid_t pad, palcallback_t cb, void *arg)
 Associates a callback to a port/pad. More...
 
void palSetLineCallbackI (ioline_t line, palcallback_t cb, void *arg)
 Associates a callback to a line. More...
 
msg_t palWaitPadTimeoutS (ioportid_t port, iopadid_t pad, sysinterval_t timeout)
 Waits for an edge on the specified port/pad. More...
 
msg_t palWaitPadTimeout (ioportid_t port, iopadid_t pad, sysinterval_t timeout)
 Waits for an edge on the specified port/pad. More...
 
msg_t palWaitLineTimeoutS (ioline_t line, sysinterval_t timeout)
 Waits for an edge on the specified line. More...
 
msg_t palWaitLineTimeout (ioline_t line, sysinterval_t timeout)
 Waits for an edge on the specified line. More...
 

Detailed Description

I/O Ports Abstraction Layer code.

Definition in file hal_pal.c.