Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Enumerations
PAL_TWI

Data Structures

struct  PalTwiDevConfig_t
 TWI device configuration. More...
 

Macros

#define PAL_TWI_INVALID_ID   0xFF
 Invalid device ID. More...
 

Typedefs

typedef void(* PalTwiOpReadyCback_t) (uint8_t id)
 Operation ready callback. More...
 
typedef void(* PalTwiCompCback_t) (uint8_t id, uint8_t success)
 Completion callback (success=TRUE if ACK received, FALSE otherwise). More...
 

Enumerations

Detailed Description

Macro Definition Documentation

#define PAL_TWI_INVALID_ID   0xFF

Invalid device ID.

Definition at line 42 of file pal_twi.h.

Typedef Documentation

typedef void(* PalTwiCompCback_t) (uint8_t id, uint8_t success)

Completion callback (success=TRUE if ACK received, FALSE otherwise).

Definition at line 52 of file pal_twi.h.

typedef void(* PalTwiOpReadyCback_t) (uint8_t id)

Operation ready callback.

Definition at line 49 of file pal_twi.h.

Enumeration Type Documentation

Operational states.

Enumerator
PAL_TWI_STATE_UNINIT 

Uninitialized state.

PAL_TWI_STATE_ERROR 

Error state.

PAL_TWI_STATE_READY 

Ready state.

PAL_TWI_STATE_BUSY_DATA_PEND 

Busy state (operation in progress), Data pending substate.

PAL_TWI_STATE_BUSY_DATA_XFER 

Busy state (operation in progress), Data transfer substate.

Definition at line 64 of file pal_twi.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.