23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Under development<br />

<strong>TMPM330</strong> (rev0.4)11-28<br />

<strong>TMPM330</strong><br />

The information that the interrupts are suspended is held until the EOM bit is received or the<br />

timeout occurs. Thus, an interrupt is generated in each reception of a byte of data if multiple bytes<br />

are received while interrupts are suspended. “1” is set to the bits of the CECRSTAT register: the<br />

bit that indicates the reception completion, and the bits corresponding to the detected<br />

errors. The flags of the suspended interrupts and the reception completion are set to the bits of the<br />

CECRSTAT register.<br />

(Note 1) A minimum cycle error interrupt is generated upon detecting a minimum cycle<br />

error in the next received bit while interrupts are suspended. “0” is output to CEC<br />

for approx. 3.6 ms.<br />

The flags of the suspended interrupts and the minimum cycle error are set to the<br />

bits of the CECRSTAT register.<br />

(Note 2) If an interrupt other than a minimum cycle error interrupt is generated while<br />

interrupts are suspended, CEC continues reception by the ACK response or the<br />

timeout.<br />

All the flags of the detected interrupts are set to the bits of the CECRSTAT register.<br />

11.3.1.10 Stopping Reception<br />

Writing “0” to the CECREN bit disables data reception. The reception is stopped upon<br />

disabling the bit during reception. The received data is discarded.<br />

(Note) If the reception is disabled while “0” is sent as a signal of minimum cycle error, the<br />

“0” output is stopped as well.<br />

CEC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!