跳转到主内容
Knowledgebase
Home
Renesas Electronics China - Knowledgebase

Is it necessary to set port mode register in using alternate function?

Last Updated:12/26/2017

Question:

Is it necessary to set the port mode register and the port output latch even when using port alternate functions? 
(Timer out, 3-wire serial communication, UART, I2C, etc.)

Answer:

Yes, this is basically correct.
Confirm "register setting when using alternate function" described in the user's manual for the product you use, correctly set the registers, which are Pxx, PMxx and so on, regarding the port function and alternate function.  
When using the alternate function, it is necessary not to disturb the output of the function that you want to use.
Suitable Products
RL78 Family
78K Family