Description
Source
Call Graph
TWI_ConfigureMaster
Configures a TWI peripheral to operate in master mode, at the given frequency (in Hz).


Syntax / parameters
Name |
Type |
Default |
Description |
pTwi |
AT91S_TWI *
|
|
Pointer to an AT91S_TWI instance.
|
twck |
unsigned int
|
|
Desired TWI clock frequency.
|
mck |
unsigned int
|
|
Master clock frequency.
|
Description
Configures a TWI peripheral to operate in master mode, at the given frequency (in Hz).
The duty cycle of the TWI clock is set to 50%.
Source
The documentation for this Member was generated from the following files:
twi.c