EasyManuals Logo

Atmel SAM4 Series User Manual

Atmel SAM4 Series
26 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
AT07334: SAM4 TWI Master Mode Driver [APPLICATION NOTE]
42274A-MCU-05/2014
17
Data direction Parameter name Description
[in] clk The current running system clock
frequency
[in] cycles Clock cycles for data setup count
Table 4-24. Return Values
Return value Description
STATUS_OK Transaction is successful
ERR_INVALID_ARG Invalid arg resulting in wrong CWGR Exponential
4.5 Enumeration Definitions
4.5.1 Enum twim_transfer_status
Table 4-25. Members
Enum value Description
TWI_SUCCESS TWI Transaction Success
TWI_INVALID_ARGUMENT Invalid Argument Passed
TWI_ARBITRATION_LOST Bus Arbitration Lost
TWI_NO_CHIP_FOUND Slave Not Found
TWI_RECEIVE_NACK Data No Acknowledgement Received
TWI_SEND_NACK Data No Acknowledgement Send
TWI_INVALID_CLOCK_DIV Invalid Clock Divider Value

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel SAM4 Series and is the answer not in the manual?

Atmel SAM4 Series Specifications

General IconGeneral
BrandAtmel
ModelSAM4 Series
CategoryControl Unit
LanguageEnglish