SAI_IO class for using CODEC (MW8994) as analog input and output. このライブラリを登録した際のプログラム:「F746_AudioIO_Demo」
Dependents: F746_SD_WavPlayer F746_SD_GraphicEqualizer_ren0620 Joerg_turbo_ede CW_Decoder_using_FFT_on_DiscoF746NG ... more
Diff: SAI_InOut.hpp
- Revision:
- 10:eb439bbba0f2
- Parent:
- 9:25a9655d6a0e
- Child:
- 11:66f6a85cebc6
diff -r 25a9655d6a0e -r eb439bbba0f2 SAI_InOut.hpp --- a/SAI_InOut.hpp Mon Jan 23 13:35:07 2017 +0000 +++ b/SAI_InOut.hpp Thu Mar 16 08:25:34 2017 +0000 @@ -1,6 +1,6 @@ //----------------------------------------------------------- // SaiIO class (Header) -// 2017/01/23, Copyright (c) 2017 MIKAMI, Naoki +// 2017/03/16, Copyright (c) 2017 MIKAMI, Naoki //----------------------------------------------------------- #ifndef F746_SAI_IO_HPP @@ -76,9 +76,10 @@ const int FS_; const InOutBoth IOBOTH_; - Array<int16_t> inBuffer_; - static Array<int16_t> outBuffer_; - static Array<int16_t> tmp_; + Array<uint16_t> inBuffer_; + static Array<uint16_t> outBuffer_; + static Array<uint16_t> tmp_; + __IO int32_t inIndex_; __IO int32_t tmpIndex_;