FMD Microcontroler – OPTION REGISTER

20200803 FMD Fremont Micro Devices FT61F022A RB C708775 blank 1

BIT7 : /PAPU /PAPU: PORTA pull-up enable bit1 = PORTA pull-up is enabled0 = PORTA pull-up is enabled by each port latch value BIT6 : INTEDG INTEDG: Interrupt edge select bit1 = Interrupt on rising edge of PC1/INT pin0 = Interrupt on falling edge of PC1/INT pin BIT5 : T0CS T0CS: Timer0 clock source selection […]

FMD Microcontroler – MSCKCON REGISTER

20200803 FMD Fremont Micro Devices FT61F022A RB C708775 blank 1

BIT7 : reserved bit BIT6 : Regulator output enable 0 = PA4 and PC5 are normal IO1 = On-chip regulator is turned on, PA4 and PC5 output regulator voltage BIT5 : TIMER2 clock source selectio 0 = TIMER2 clock source is the system clock1 = TIMER2 clock source is internal 32MHz BIT4 : SLVREN Software […]

FT61F02x IO Application

20200803 FMD Fremont Micro Devices FT61F022A RB C708775 blank 1

IO related register settings PORTA/PORTC is an 8-bit bidirectional port. The corresponding in and out direction register is the TRISA/TRISC register. (But note that bit 5 is not used here because PORTA[5] is a single input direction port. Setting a bit to “1” in the TRISA/TRISC register will set the corresponding PORTA/PORTC port as an […]