DMA Controller PL230 - Representation of PL230_DMA_CHNL_BITS

Hi, 

In DMA Controller(PL230) Technical Refrerence Manual r0p0, topic 3.2.3 Channel control data base pointer

It says that PL230_DMA_CHNL_BITS is defined as the minimum number of bits required to represent the number of DMA channels, minus one. But not followig this rule for number of channels > 1. 

Ex.

To represent 5 to 8 DMA channel, minimum number of bits required is 3. 3 - 1 = 2.

So PL230_DM_CHNL_BITS should be 2 as per rule but it is 3.

Can you help me to explain this ?

Parents Reply Children
No data