Changes between Version 14 and Version 15 of library_mwmr
- Timestamp:
- Oct 30, 2015, 10:04:52 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_mwmr
v14 v15 84 84 * '''mwmr''' : pointer on the associated MWMR channel descriptor. 85 85 86 == Private Buffer Access ==86 == Private Input Buffer Access == 87 87 88 88 === uint8_t '''mwmr_bufio_read_byte'''( mwmr_bufio_t* bufio ) === 89 This blocking function uses the mwmr_read() function, andreturns one single byte from the MWMR channel associated to the <bufio> input buffer.89 This blocking function returns one single byte from the MWMR channel associated to the <bufio> input buffer. 90 90 91 91 === uint16_t '''mwmr_bufio_read_half'''( mwmr_bufio_t* bufio ) === 92 This blocking function uses the mwmr_read() function, andreturns two bytes from the MWMR channel associated to the <bufio> input buffer.92 This blocking function returns two bytes from the MWMR channel associated to the <bufio> input buffer. 93 93 94 94 === uint32_t '''mwmr_bufio_read_word'''( mwmr_bufio_t* bufio ) === 95 This blocking function uses the mwmr_read() function, and returns four bytes from the MWMR channel associated to the <bufio> input buffer. 95 This blocking function returns four bytes from the MWMR channel associated to the <bufio> input buffer. 96 97 === void '''mwmr_bufio_skip'''( mwmr_bufio_t* bufio , uint32_t length ) === 98 This function discard <length> bytes from the MWMR channel associated to the <bufio> input buffer. 99 100 == Private Output Buffer Access == 96 101 97 102 === void '''mwmr_bufio_write_byte'''( mwmr_bufio_t* bufio , uint8_t value ) === 103 This blocking function writes one byte into the MWMR channel associated to the <bufio> output buffer. 98 104 99 105 === void '''mwmr_bufio_write_half'''( mwmr_bufio_t* bufio , uint16_t value ) === 106 This blocking function writes two bytes into the MWMR channel associated to the <bufio> output buffer. 100 107 101 108 === void '''mwmr_bufio_write_word'''( mwmr_bufio_t* bufio , uint32_t value ) === 109 This blocking function writes four bytes into the MWMR channel associated to the <bufio> output buffer. 102 110 103 111 === void '''mwmr_bufio_flush'''( mwmr_bufio_t* bufio ) === 112 This function transfer the current content of the <bufio> output buffer to the associated MWMR channel when it is non empty. 104 113 105 === void '''mwmr_bufio_skip'''( mwmr_bufio_t* bufio , uint32_t length ) ===106