module Struct Reference

Definition of a module instance. More...

Data Fields

const char * name
unsigned instance
unsigned base_address
unsigned reg_count
struct regregs

Detailed Description

Definition of a module instance.

Instance numbers for modules always start at 1. Multi-instance modules will have the instance number appended as part of the name, i.e. "GPIO3".


Field Documentation

unsigned base_address

Base address for registers of this module instance.

unsigned instance

Module instance number.

const char* name

The module's name.

unsigned reg_count

Number of registers defined in regs array.

struct reg* regs

Pointer to array of registers for this module.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen