16bit data write

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

16bit data write

1,065 次查看
Luky
Contributor II

Hi,

I have a problem. I need 16bit GPIO for LCD Data.How I make mapping from 16bit variable to GPIO? There is 16bit  PORTC but it is PTC0-PTC13+PTC16,PTC17.

标签 (1)
0 项奖励
回复
3 回复数

912 次查看
lothar
Contributor II

hi

I'm not a pro and maybe i missunderstood your question, but i would do it like in the attachement. Perhaps it works :smileyhappy:

912 次查看
Luky
Contributor II

it almost worked but GPIO_PDOR is divided on LOW 16bit and HIGH 16bit. I would modify mask and it will maybe work. Thanks for your idea

0 项奖励
回复

912 次查看
lothar
Contributor II

Ok didn't know that. But the mask stays the same. It's even more easy i guess.

0 项奖励
回复