Changes between Version 21 and Version 22 of library_mwmr
- Timestamp:
- Nov 6, 2015, 1:34:00 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_mwmr
v21 v22 88 88 * '''mwmr''' : pointer on the associated MWMR channel descriptor. 89 89 90 === void '''mwmr_bufio_reset'''( mwmr_bufio_t* bufio ) ===91 This function reset the BUFIO byte pointer, to discard all bytes contained in the BUFIO.92 90 93 94 == __Private Input Buffer Access__ == 91 == __Input Bufio Access__ == 95 92 96 93 === uint8_t '''mwmr_bufio_read_byte'''( mwmr_bufio_t* bufio ) === 97 This blocking function returns one single byte from the MWMR channel associated to the <bufio> input buffer. 94 This blocking function returns one single byte from the <bufio> input buffer. 95 The bufio is automatically refill from the associated MWMR channel if required. 98 96 99 97 === uint16_t '''mwmr_bufio_read_half'''( mwmr_bufio_t* bufio ) === 100 This blocking function returns two bytes from the MWMR channel associated to the <bufio> input buffer. 98 This blocking function returns two bytes from the <bufio> input buffer. 99 The bufio is automatically refill from the associated MWMR channel if required. 101 100 102 101 === uint32_t '''mwmr_bufio_read_word'''( mwmr_bufio_t* bufio ) === 103 This blocking function returns four bytes from the MWMR channel associated to the <bufio> input buffer. 102 This blocking function returns four bytes from the <bufio> input buffer. 103 The bufio is automatically refill from the associated MWMR channel if required. 104 104 105 105 === void '''mwmr_bufio_skip'''( mwmr_bufio_t* bufio , uint32_t length ) === 106 This function discard <length> bytes from the MWMR channel associated to the <bufio> input buffer. 106 This function discard <length> bytes from the <bufio> input buffer. 107 The bufio is automatically refill from the associated MWMR channel if required. 107 108 108 == __Private Output Buffer Access__ == 109 === void '''mwmr_bufio_align'''( mwmr_bufio_t* bufio ) === 110 This function discard as many bytes as required to align the buffo pointer on 111 the next item boundary. 112 113 == __ Output Bufio Access__ == 109 114 110 115 === void '''mwmr_bufio_write_byte'''( mwmr_bufio_t* bufio , uint8_t value ) === 111 This blocking function writes one byte into the MWMR channel associated to the <bufio> output buffer. 116 This blocking function writes one byte the <bufio> output buffer. 117 The bufio is automatically flushed to the associated MWMR channel if required. 112 118 113 119 === void '''mwmr_bufio_write_half'''( mwmr_bufio_t* bufio , uint16_t value ) === 114 This blocking function writes two bytes into the MWMR channel associated to the <bufio> output buffer. 120 This blocking function writes two bytes into the <bufio> output buffer. 121 The bufio is automatically flushed to the associated MWMR channel if required. 115 122 116 123 === void '''mwmr_bufio_write_word'''( mwmr_bufio_t* bufio , uint32_t value ) === 117 This blocking function writes four bytes into the MWMR channel associated to the <bufio> output buffer. 124 This blocking function writes four bytes into the <bufio> output buffer. 125 The bufio is automatically flushed to the associated MWMR channel if required. 118 126 119 127 === void '''mwmr_bufio_flush'''( mwmr_bufio_t* bufio ) ===