ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Data Fields

IOBus Struct Reference
[PAL Driver]

I/O bus descriptor. More...

#include <pal.h>

Data Fields

ioportid_t bus_portid
 Port identifier.
ioportmask_t bus_mask
 Bus mask aligned to port bit 0.
uint_fast8_t bus_offset
 Offset, within the port, of the least significant bit of the bus.

Detailed Description

I/O bus descriptor.

This structure describes a group of contiguous digital I/O lines that have to be handled as bus.

Note:
I/O operations on a bus do not affect I/O lines on the same port but not belonging to the bus.

Definition at line 129 of file pal.h.


Field Documentation

Port identifier.

Definition at line 133 of file pal.h.

Referenced by palReadBus(), palSetBusMode(), and palWriteBus().

Bus mask aligned to port bit 0.

Note:
The bus mask implicitly define the bus width. A logical AND is performed on the bus data.

Definition at line 139 of file pal.h.

Referenced by palReadBus(), palSetBusMode(), and palWriteBus().

Offset, within the port, of the least significant bit of the bus.

Definition at line 143 of file pal.h.

Referenced by palReadBus(), palSetBusMode(), and palWriteBus().


Generated on Sun Nov 28 2010 14:09:59 for ChibiOS/RT by doxygen 1.7.1