NUTSPIBUS Struct Reference
SPI bus structure.
More...
Detailed Description
SPI bus structure.
Definition at line 79 of file spibus.h.
Field Documentation
Bus lock queue.
Definition at line 82 of file spibus.h.
Bus wait ready queue.
Definition at line 86 of file spibus.h.
Bus base address.
Definition at line 90 of file spibus.h.
Bus interrupt handler.
Definition at line 94 of file spibus.h.
int(* NUTSPIBUS::bus_initnode)(NUTSPINODE *) |
Initialize bus controller.
This routine is called during device registration.
Definition at line 100 of file spibus.h.
int(* NUTSPIBUS::bus_alloc)(NUTSPINODE *, uint32_t) |
Allocate the bus.
Locks the bus and activates the chip select.
Definition at line 106 of file spibus.h.
int(* NUTSPIBUS::bus_release)(NUTSPINODE *) |
Release the bus.
Deactivates the chip select and unlocks the bus.
Definition at line 112 of file spibus.h.
int(* NUTSPIBUS::bus_transfer)(NUTSPINODE *, CONST void *, void *, int) |
Transfer data.
Definition at line 116 of file spibus.h.
int(* NUTSPIBUS::bus_wait)(NUTSPINODE *, uint32_t) |
Wait for transfer ready.
Definition at line 120 of file spibus.h.
Set node's SPI mode.
Definition at line 124 of file spibus.h.
Set node's clock rate.
Definition at line 128 of file spibus.h.
Set node's data bit size.
Definition at line 132 of file spibus.h.
The documentation for this struct was generated from the following file: