Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
TWI_Stop
TWI_Status
TWI_Close
475
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure TWI_Stop();
Returns
Nothing.
Description
Issues STOP signal to TWI operation.
Requires
TWI must be configured before using this function. See TWI_Init.
Example
TWI_Stop();
Prototype
function TWI_Status() : byte;
Returns
Returns value of status register (TWSR), the highest 5 bits.
Description
Returns status of TWI.
Requires
TWI must be configured before using this function. See TWI_Init.
Example
status := TWI_Status();
Prototype
procedure TWI_Close();
Returns
Nothing.
Description
Closes TWI connection.
Requires
TWI must be configured before using this function. See TWI_Init.
Example
TWI_Close();