- #1
Jag1972
- 40
- 0
I have got what may be a silly question. I hope not.
Using flip flops e.g. JK flip flops, counters can be constructed (modulus up and down counters). However when constructing shift registers data can be shifted left and right. When shifted right each the shift register could divide the initial values by 2 with every active clock pulse. When shifted left each the shift register could multiply the initial values by 2 with every active clock pulse. My question is where the binary weightings are assigned for each flip flop. Is this something done by a microcontroller for example registers in a PIC? ADCON0 and ADCON1 on PIC18F4520. I don’t know where or how these weightings are assigned. Thank you in advance.
Using flip flops e.g. JK flip flops, counters can be constructed (modulus up and down counters). However when constructing shift registers data can be shifted left and right. When shifted right each the shift register could divide the initial values by 2 with every active clock pulse. When shifted left each the shift register could multiply the initial values by 2 with every active clock pulse. My question is where the binary weightings are assigned for each flip flop. Is this something done by a microcontroller for example registers in a PIC? ADCON0 and ADCON1 on PIC18F4520. I don’t know where or how these weightings are assigned. Thank you in advance.