Smart Remote 3 nRF52 v1.2
28 #if !defined(_mfrngcode_H)
29 # define _mfrngcode_H (1)
35 # define EC_SYM_BITS (8)
37 # define EC_CODE_BITS (32)
39 # define EC_SYM_MAX ((1U<<EC_SYM_BITS)-1)
41 # define EC_CODE_SHIFT (EC_CODE_BITS-EC_SYM_BITS-1)
43 # define EC_CODE_TOP (((opus_uint32)1U)<<(EC_CODE_BITS-1))
45 # define EC_CODE_BOT (EC_CODE_TOP>>EC_SYM_BITS)
47 # define EC_CODE_EXTRA ((EC_CODE_BITS-2)%EC_SYM_BITS+1)